-=[ Mr. Bumblebee ]=-
_Indonesia_

Path : /usr/src/php/Zend/tests/
File Upload :
Current File : //usr/src/php/Zend/tests/bug55339.phpt

--TEST--
Bug #55339 (Segfault with allow_call_time_pass_reference = Off)
--INI--
allow_call_time_pass_reference=off
--FILE--
<?php
function error_handler($errno, $errstr, $errfile, $errline) {
	eval(';');
}

set_error_handler('error_handler');

eval(<<<'EOF'
function foo()
{
    $array = array();
    foreach ($array as $key => $value) {
        bar($key, &$value);
    }
}

function bar()
{

}
EOF
);

echo "OK\n";
--EXPECT--
OK

Copyright © 2017 || Recoded By Mr.Bumblebee