files >> /var/www/html/sub/images/sym/root/opt/php-7.0.1/ext/pcre/tests/ |
files >> //var/www/html/sub/images/sym/root/opt/php-7.0.1/ext/pcre/tests/bug44191.phpt |
--TEST-- Bug #44191 (preg_grep messes up array index) --FILE-- <?php $array = range(1, 10); preg_grep('/asdf/', $array); while (list($x) = each($array)) { print $x; } ?> --EXPECT-- 0123456789� y���~�or�5�J�={��E��e�u磝Qk��ᯘG{�?���+�]������ן�?w�M3X^��歌>{�7پ�K�>�o��n�\����j�y��R���g/�=��f�O��r�o��NV�v��~�Y+��NG�u���Ý����HW��y�w�[eQ�ʨ�S�b��>������>�}G�mx[o[<��{���Ϯ_��qF���vMIEND�B`�