ArrayIterator::offsetSet fix for null index case
commit5ed6bf993da9344f9cdfbaed8a577dc556de5601
authorIoan Negulescu <idn2104@columbia.edu>
Tue, 11 Feb 2014 14:26:11 +0000 (11 06:26 -0800)
committerSara Golemon <sgolemon@fb.com>
Wed, 12 Feb 2014 16:42:14 +0000 (12 08:42 -0800)
tree7e35cfb98c8b2d265410d61a412a3223f27252e4
parent8c9f94b1b3f0786078f5441e3d0e622ae6163a8e
ArrayIterator::offsetSet fix for null index case

ArrayIterator::offsetSet fix for null index case

Closes #1766
Closes #1776

Reviewed By: @ptarjan

Differential Revision: D1166788

Pulled By: @scannell
hphp/system/php/spl/iterators/ArrayIterator.php
hphp/test/slow/array_iterator/offsetSet.php [new file with mode: 0644]
hphp/test/slow/array_iterator/offsetSet.php.expect [new file with mode: 0644]