Home
last modified time | relevance | path

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

12345

/PHP-8.2/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 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.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";
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.phpt2 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.2/Zend/tests/
H A Dbug19859.phpt2 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 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 Dbug45186.phpt2 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:
52 __call:
56 __call:
H A Dbug45180.phpt14 function __call($a, $b) {
15 print "__call:\n";
42 __call:
44 __call:
46 __call:
48 __call:
50 __call:
H A Dclosure_call_bind.phpt2 Calling bindTo() on __call() closure
7 function __call($name, $args) {
8 echo "__call($name)\n";
19 __call(foobar)
20 __call(foobar)
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";
42 __call:
44 __call:
46 __call:
48 __call:
52 __call:
56 __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 Dbug53826.phpt7 public function __call($method, $args) { echo "__call\n"; }
12 public function __call($method, $args) { echo "__call\n"; }
32 __call
33 __call
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 Fatal error: Method a::__call() cannot be static in %s on line %d
H A Dmagic_methods_015.phpt2 __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 Dmagic_methods_016.phpt2 __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 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 Dbug48533.phpt19 public function __call($a, $b) {
20 var_dump('__call::'. $a);
34 string(9) "__call::a"
36 string(9) "__call::c"
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) {
35 From foo::__call:
H A Dfr47160.phpt19 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)!
/PHP-8.2/ext/zend_test/tests/
H A Dobserver_magic_01.phpt13 public function __call($name, $args)
15 echo '__call()' . PHP_EOL;
38 <!-- init MagicTest::__call() -->
39 <MagicTest::__call>
40 __call()
44 </MagicTest::__call>
/PHP-8.2/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 …rgument #1 ($callback) must be a valid callback, non-static method test::__call() cannot be called…
/PHP-8.2/Zend/tests/return_types/
H A D043.phpt7 public function __call($name, $args): string {}
14 public function __call($name, $args): int|float {}
21 public function __call($name, $args): mixed {}

Completed in 35 milliseconds

12345