summaryrefslogtreecommitdiff
path: root/ext/opcache/tests/bug73654.phpt
blob: f2db9ace96cbae633ec899f746eb82a50deca34e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
--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