/PHP-7.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 __call() must have public visibility and cannot be static in %s__call_005… 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_007.phpt | 2 Ensure exceptions are handled properly when thrown in a statically declared __call. 6 static 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"; 55 Warning: The magic method __call() must have public visibility and cannot be static in %s on line 3 56 ---> Invoke __call via simple method call. 61 ---> Invoke __call via scope resolution operator within instance. 66 ---> Invoke __call via scope resolution operator within child instance. [all …]
|
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"; 55 ---> Invoke __call via simple method call. 61 ---> Invoke __call via scope resolution operator within instance. 67 ---> Invoke __call via scope resolution operator within child instance. 73 ---> Invoke __call via callback.
|
H A D | __call_002.phpt | 2 ZE2 __call() signature check 9 function __call() { 15 Fatal error: Method Test::__call() must take exactly 2 arguments in %s__call_002.php on line %d
|
H A D | __call_003.phpt | 2 Force pass-by-reference to __call 7 function __call($name, $values)
|
/PHP-7.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"; 38 __call: 40 __call: 42 __call: 44 __call: 46 __call: 48 __call:
|
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"; 34 __call: 36 __call: 38 __call: 40 __call: 42 __call: 44 __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 | bug19859.phpt | 2 Bug #19859 (__call() does not catch call_user_func_array() calls) 9 function __call($method,$args) 11 print "test::__call invoked for method '$method'\n"; 20 test::__call invoked for method 'fake' 21 test::__call invoked for method 'fake' 22 test::__call invoked for method 'fake'
|
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 Warning: The magic method __call() must have public visibility and cannot be static in %s on line %d
|
H A D | bug48533.phpt | 19 public function __call($a, $b) { 20 var_dump('__call::'. $a); 34 %unicode|string%(9) "__call::a" 36 %unicode|string%(9) "__call::c"
|
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 | indirect_call_array_003.phpt | 2 Indirect method call by array - Calling __call() and __callStatic() 7 public function __call($a, $b) { 34 From foo::__call:
|
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 | fr47160.phpt | 19 public function __call($f, $a) { 34 public function __call($f, $a) { 135 Magic::__call called (foo)! 136 Magic::__call called (foo)! 144 Magic3::__call called (foo)! 145 Magic3::__call called (foo)!
|
H A D | bug69427.phpt | 2 Bug #69427 (Segfault on magic method __call of private method in superclass) 12 public function __call($name, $arguments)
|
/PHP-7.0/ext/standard/tests/general_functions/ |
H A D | 010.phpt | 2 register_shutdown_function() & __call 9 function __call($name=null, $args=null) { 15 var_dump(register_shutdown_function(array("test","__call"))); 23 Exception: Non-static method test::__call() cannot be called statically 26 Fatal error: Non-static method test::__call() cannot be called statically in %s on line %d
|
/PHP-7.0/Zend/tests/generators/ |
H A D | generator_trampoline.phpt | 2 Calling generator through magic __call() 6 public function __call($name, $args) {
|
/PHP-7.0/ext/spl/tests/ |
H A D | spl_007.phpt | 2 SPL: iterator_apply() with callback using __call() 7 public function __call($name, $params) {
|