php-8.0.30-src/ext/opcache/tests/bug73654.phpt

20 lines
250 B
PHP

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