Lines Matching refs:foo
14 function foo() {}
16 $foo = null;
17 dump_error(fn() => strlen($foo?->foo()));
18 dump_error(fn() => is_null($foo?->foo()));
19 dump_error(fn() => is_bool($foo?->foo()));
20 dump_error(fn() => is_int($foo?->foo()));
21 dump_error(fn() => is_scalar($foo?->foo()));
22 dump_error(fn() => boolval($foo?->foo()));
23 dump_error(fn() => defined($foo?->foo()));
24 dump_error(fn() => chr($foo?->foo()));
25 dump_error(fn() => ord($foo?->foo()));
26 dump_error(fn() => call_user_func_array($foo?->foo(), []));
27 dump_error(fn() => call_user_func_array('foo', $foo?->foo()));
28 dump_error(fn() => get_class($foo?->foo()));
29 dump_error(fn() => get_called_class($foo?->foo()));
30 dump_error(fn() => gettype($foo?->foo()));
31 dump_error(fn() => func_num_args($foo?->foo()));
32 dump_error(fn() => func_get_args($foo?->foo()));
33 dump_error(fn() => array_slice($foo?->foo(), 0));
34 dump_error(fn() => array_slice(['foo'], $foo?->foo()));
35 dump_error(fn() => array_slice(['foo'], 0, $foo?->foo()));
36 dump_error(fn() => array_key_exists($foo?->foo(), []));
37 dump_error(fn() => array_key_exists('foo', $foo?->foo()));
69 string(3) "foo"
73 string(3) "foo"