Home
last modified time | relevance | path

Searched refs:__call (Results 1 – 25 of 89) sorted by relevance

1234

/PHP-7.0/tests/classes/
H A D__call_004.phpt2 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.phpt2 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.phpt2 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.phpt2 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.phpt2 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.phpt2 Force pass-by-reference to __call
7 function __call($name, $values)
/PHP-7.0/Zend/tests/
H A Dbug45186.phpt2 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 Dbug45186_2.phpt2 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 Daccess_modifiers_012.phpt2 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 Dbug19859.phpt2 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 Dbug45180.phpt14 function __call($a, $b) {
15 print "__call:\n";
42 __call:
44 __call:
46 __call:
48 __call:
50 __call:
H A Dcall_static_007.phpt2 Testing __call and __callstatic
7 public function __call($a, $b) {
8 print "__call: ". $a ."\n";
32 __call: Test
33 __call: Bar
H A Dbug43175.phpt2 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 Dmagic_methods_005.phpt2 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 Dbug48533.phpt19 public function __call($a, $b) {
20 var_dump('__call::'. $a);
34 %unicode|string%(9) "__call::a"
36 %unicode|string%(9) "__call::c"
H A Dmagic_by_ref_006.phpt2 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 Dmagic_by_ref_007.phpt2 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 Dbug34678.phpt2 Bug #34678 (__call(), is_callable() and static methods)
6 public function __call($m, $a) {
7 echo "__call\n";
H A Dindirect_call_array_003.phpt2 Indirect method call by array - Calling __call() and __callStatic()
7 public function __call($a, $b) {
34 From foo::__call:
H A Dbug42937.phpt2 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 Dfr47160.phpt19 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 Dbug69427.phpt2 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 D010.phpt2 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 Dgenerator_trampoline.phpt2 Calling generator through magic __call()
6 public function __call($name, $args) {
/PHP-7.0/ext/spl/tests/
H A Dspl_007.phpt2 SPL: iterator_apply() with callback using __call()
7 public function __call($name, $params) {

Completed in 24 milliseconds

1234