xref: /PHP-8.2/ext/opcache/tests/bug73654.phpt (revision e9f783fc)
1--TEST--
2Bug #73654: Segmentation fault in zend_call_function
3--EXTENSIONS--
4opcache
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