collections: support in array_chunk() builtin
commit430accee5567f5a602a22d70cecdd93510b95628
authorEugene Letuchy <eletuchy@fb.com>
Tue, 28 Jan 2014 05:19:18 +0000 (27 21:19 -0800)
committerSara Golemon <sgolemon@fb.com>
Thu, 30 Jan 2014 03:48:46 +0000 (29 19:48 -0800)
treed999b74c9d24f0919bdcdb57e29965b05c46f81e
parentf6a61e4a1afd2b2057dee72dbb9bc3f7fe2701af
collections: support in array_chunk() builtin

This is straight-forward ArrayIter-based iteration.

Reviewed By: @jdelong

Differential Revision: D1146375
hphp/runtime/base/array-util.cpp
hphp/runtime/base/array-util.h
hphp/runtime/ext/ext_array.cpp
hphp/test/slow/collection_classes/array_chunk.php [new file with mode: 0644]
hphp/test/slow/collection_classes/array_chunk.php.expect [new file with mode: 0644]