xref: /PHP-7.4/Zend/tests/bug69167.phpt (revision 782352c5)
1--TEST--
2Bug #69167 (call_user_func does not support references anymore)
3--FILE--
4<?php
5function l($m) {
6	    echo $m . "\n";
7}
8
9$cb = 'l';
10call_user_func($cb, 'hi');
11
12$cb2 = &$cb;
13call_user_func($cb2, 'hi2');
14?>
15--EXPECT--
16hi
17hi2
18