php-src/ext/opcache/tests/bug73654.phpt
2016-12-05 20:41:14 +01:00

18 lines
202 B
PHP

--TEST--
Bug #73654: Segmentation fault in zend_call_function
--FILE--
<?php
echo xyz();
function x () : string {
return 'x';
}
function xyz() : string {
return x().'yz';
}
?>
--EXPECT--
xyz