/PHP-8.0/tests/classes/ |
H A D | __call_004.phpt | 2 When __call() is invoked via ::, ensure current scope's __call() is favoured over the specified cla… 6 function __call($strMethod, $arrArgs) { 13 function __call($strMethod, $arrArgs) { 30 In B::__call(test1, array(1,a)) 33 In B::__call(test2, array(1,a)) 36 In B::__call(test3, array(1,a)) 39 In B::__call(test4, array(1,a))
|
H A D | __call_005.phpt | 2 When __call() is invoked via ::, ensure private implementation of __call() in superclass is accesse… 6 private function __call($strMethod, $arrArgs) { 25 Warning: The magic method A::__call() must have public visibility in %s__call_005.php on line 3 26 In A::__call(test1, array(1,a)) 29 In A::__call(test2, array(1,a)) 32 In A::__call(test3, array(1,a)) 35 In A::__call(test4, array(1,a))
|
H A D | __call_006.phpt | 2 Ensure exceptions are handled properly when thrown in __call. 6 function __call($strMethod, $arrArgs) { 24 echo "---> Invoke __call via simple method call.\n"; 31 echo "\n\n---> Invoke __call via scope resolution operator within instance.\n"; 38 echo "\n\n---> Invoke __call via scope resolution operator within child instance.\n"; 46 echo "\n\n---> Invoke __call via callback.\n"; 54 ---> Invoke __call via simple method call. 60 ---> Invoke __call via scope resolution operator within instance. 66 ---> Invoke __call via scope resolution operator within child instance. 72 ---> Invoke __call via callback.
|
H A D | __call_002.phpt | 2 ZE2 __call() signature check 7 function __call() { 13 Fatal error: Method Test::__call() must take exactly 2 arguments in %s__call_002.php on line %d
|
/PHP-8.0/Zend/tests/ |
H A D | bug45186.phpt | 2 Bug #45186 (__call depends on __callstatic in class scope) 7 public function __call($a, $b) { 8 print "__call:\n"; 42 __call: 44 __call: 46 __call: 48 __call: 50 __call: 52 __call:
|
H A D | bug19859.phpt | 2 Bug #19859 (__call() does not catch call_user_func_array() calls) 7 function __call($method,$args) 9 print "test::__call invoked for method '$method'\n"; 18 test::__call invoked for method 'fake' 19 test::__call invoked for method 'fake' 20 test::__call invoked for method 'fake'
|
H A D | bug45186_2.phpt | 2 Bug #45186.2 (__call depends on __callstatic in class scope) 7 public function __call($a, $b) { 8 print "__call:\n"; 42 __call: 44 __call: 46 __call: 48 __call: 50 __call: 52 __call:
|
H A D | access_modifiers_012.phpt | 2 Trigger __call() in lieu of non visible methods when called via a callback. 8 public function __call($name, $args) { 9 echo "In __call() for method $name()\n"; 19 In __call() for method none() 20 In __call() for method prot() 21 In __call() for method priv()
|
H A D | bug45180.phpt | 14 function __call($a, $b) { 15 print "__call:\n"; 42 __call: 44 __call: 46 __call: 48 __call: 50 __call:
|
H A D | call_static_007.phpt | 2 Testing __call and __callstatic 7 public function __call($a, $b) { 8 print "__call: ". $a ."\n"; 32 __call: Test 33 __call: Bar
|
H A D | bug43175.phpt | 2 Bug #43175 (__destruct() throwing an exception with __call() causes segfault) 10 public function __call($m, $a) { 20 echo "__call via traditional factory should be caught\n"; 24 __call via traditional factory should be caught
|
H A D | magic_methods_005.phpt | 2 Testing __call() declaration in interface with wrong modifier 7 static function __call($a, $b); 12 Fatal error: Method a::__call() cannot be static in %s on line %d
|
H A D | magic_methods_015.phpt | 2 __call first parameter should be a string typed 6 function __call(int $name, array $arguments) {} 10 Fatal error: Foo::__call(): Parameter #1 ($name) must be of type string when declared in %s on line…
|
H A D | magic_methods_016.phpt | 2 __call second parameter should be an array when typed 6 function __call(string $name, \Arguments $arguments) {} 10 Fatal error: Foo::__call(): Parameter #2 ($arguments) must be of type array when declared in %s on …
|
H A D | magic_by_ref_006.phpt | 2 passing first parameter of __call() by ref 7 function __call(&$name, $args) { } 18 Fatal error: Method test::__call() cannot take arguments by reference in %s on line %d
|
H A D | magic_by_ref_007.phpt | 2 passing second parameter of __call() by ref 7 function __call($name, &$args) { } 19 Fatal error: Method test::__call() cannot take arguments by reference in %s on line %d
|
H A D | bug34678.phpt | 2 Bug #34678 (__call(), is_callable() and static methods) 6 public function __call($m, $a) { 7 echo "__call\n";
|
H A D | bug48533.phpt | 19 public function __call($a, $b) { 20 var_dump('__call::'. $a); 34 string(9) "__call::a" 36 string(9) "__call::c"
|
H A D | indirect_call_array_003.phpt | 2 Indirect method call by array - Calling __call() and __callStatic() 7 public function __call($a, $b) { 35 From foo::__call:
|
H A D | fr47160.phpt | 19 public function __call($f, $a) { 34 public function __call($f, $a) { 117 Magic::__call called (foo)! 118 Magic::__call called (foo)! 126 Magic3::__call called (foo)! 127 Magic3::__call called (foo)!
|
H A D | bug42937.phpt | 2 Bug #42937 (__call() method not invoked when methods are called on parent from child class) 6 function __call($strMethod, $arrArgs) { 12 function __call($strMethod, $arrArgs) {
|
H A D | bug80045.phpt | 2 Bug #80045: memleak after two set_exception_handler calls with __call 14 public function __call($m, $p) {}
|
/PHP-8.0/ext/zend_test/tests/ |
H A D | observer_magic_01.phpt | 12 public function __call($name, $args) 14 echo '__call()' . PHP_EOL; 37 <!-- init MagicTest::__call() --> 38 <MagicTest::__call> 39 __call() 43 </MagicTest::__call>
|
/PHP-8.0/ext/standard/tests/general_functions/ |
H A D | 010.phpt | 2 register_shutdown_function() & __call 9 function __call($name=null, $args=null) { 15 register_shutdown_function(array("test","__call")); 23 …rgument #1 ($callback) must be a valid callback, non-static method test::__call() cannot be called…
|
/PHP-8.0/Zend/tests/return_types/ |
H A D | 043.phpt | 7 public function __call($name, $args): string {} 14 public function __call($name, $args): int|float {} 21 public function __call($name, $args): mixed {}
|