Searched refs:get_called_class (Results 1 – 16 of 16) sorted by relevance
2 Calling get_called_class() outside a class7 var_dump(get_called_class());14 get_called_class() must be called from within a class
2 Bug #66719: Weird behaviour when using get_called_class() with call_user_func()10 var_dump(get_called_class());
7 print_r(get_called_class());
8 print "Called class: " . get_called_class() . "\n";
2 ZE2 Late Static Binding testing get_called_class()8 return get_called_class();
10 return get_called_class();
7 echo get_called_class()."\n";
12 $caller = get_called_class();
2 Traits and get_called_class().10 return get_called_class();
2 Testing alias with get_called_class() and get_class()8 echo get_called_class(), "\n";
7 return function () {var_dump(self::class,get_called_class());};10 return function () {var_dump(self::class,get_called_class(),$this);};
9 var_dump(get_called_class());
29 dump_error(fn() => get_called_class($foo?->foo()));60 string(55) "get_called_class() expects exactly 0 arguments, 1 given"
47 function get_called_class(): string {} function
255 ZEND_FUNCTION(get_called_class);317 ZEND_FE(get_called_class, arginfo_get_called_class)
607 ZEND_FUNCTION(get_called_class) in ZEND_FUNCTION() argument
Completed in 18 milliseconds