xref: /PHP-7.3/ext/opcache/tests/bug73654.phpt (revision 75bc3446)
1--TEST--
2Bug #73654: Segmentation fault in zend_call_function
3--SKIPIF--
4<?php require_once('skipif.inc'); ?>
5--FILE--
6<?php
7echo xyz();
8
9function x () : string {
10    return 'x';
11}
12
13function xyz() : string {
14    return x().'yz';
15}
16
17?>
18--EXPECT--
19xyz
20