mirror of
https://github.com/php/php-src.git
synced 2026-03-26 01:02:25 +01:00
All these tests are meant to run with OPcache available, and some will even fail inevitably without it, so we add OPcache as SKIPIF requirement.
20 lines
250 B
PHP
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
|