1--TEST--
2call_user_func() should not use FUNC_ARG fetches
3--FILE--
4<?php
5
6function foo(&$ref) { $ref = 24; }
7
8$a = [];
9call_user_func('foo', $a[0][0]);
10var_dump($a);
11
12?>
13--EXPECTF--
14Notice: Undefined offset: 0 in %s on line %d
15
16Warning: Parameter 1 to foo() expected to be a reference, value given in %s on line %d
17array(0) {
18}
19