/PHP-7.4/Zend/ |
H A D | zend_closures.c | 261 EX(func)->internal_function.scope->__callstatic : EX(func)->internal_function.scope->__call; in ZEND_NAMED_FUNCTION() 310 if (!mptr->common.scope->__call) { in zend_create_closure_from_callable()
|
H A D | zend_vm_execute.h | 2786 …rray.fn_flags & ZEND_ACC_STATIC) ? fbc->op_array.scope->__callstatic : fbc->op_array.scope->__call; in ZEND_CALL_TRAMPOLINE_SPEC_HANDLER()
|
H A D | zend_vm_def.h | 8292 …rray.fn_flags & ZEND_ACC_STATIC) ? fbc->op_array.scope->__callstatic : fbc->op_array.scope->__call;
|
H A D | zend_API.c | 2148 …= NULL, *__get = NULL, *__set = NULL, *__unset = NULL, *__isset = NULL, *__call = NULL, *__callsta… in zend_register_functions() local 2339 __call = reg_function; in zend_register_functions() 2390 scope->__call = __call; in zend_register_functions() 2420 if (__call) { in zend_register_functions() 2421 if (__call->common.fn_flags & ZEND_ACC_STATIC) { in zend_register_functions() 2422 …ype, "Method %s::%s() cannot be static", ZSTR_VAL(scope->name), ZSTR_VAL(__call->common.function_n… in zend_register_functions() 2424 __call->common.fn_flags &= ~ZEND_ACC_ALLOW_STATIC; in zend_register_functions() 3138 ((fcc->object && fcc->calling_scope->__call) || in zend_is_callable_check_func() 3153 if (strict_class && ce_org->__call) { in zend_is_callable_check_func()
|
H A D | zend_object_handlers.c | 1262 zend_function *fbc = is_static ? ce->__callstatic : ce->__call; in zend_get_call_trampoline_func() 1345 if (zobj->ce->__call) { in zend_std_get_method() 1371 if (zobj->ce->__call) { in zend_std_get_method() 1425 if (ce->__call && in zend_std_get_static_method() 1433 while (!call_ce->__call) { in zend_std_get_static_method()
|
H A D | zend_compile.c | 1679 ce->__call = NULL; in zend_initialize_class_data() 5846 ce->__call = (zend_function *) op_array; in zend_begin_method_decl()
|
H A D | zend_inheritance.c | 148 if (EXPECTED(!ce->__call)) { in do_inherit_parent_constructor() 149 ce->__call = parent->__call; in do_inherit_parent_constructor() 1528 ce->__call = fe; in zend_add_magic_methods()
|
H A D | zend.h | 139 zend_function *__call; member
|
H A D | zend_API.h | 205 class_container.__call = NULL; \
|
/PHP-7.4/Zend/tests/closures/ |
H A D | bug80929.phpt | 25 public function __call(string $name, array $arguments)
|
/PHP-7.4/ext/soap/ |
H A D | soap.c | 212 PHP_METHOD(SoapClient, __call); 412 PHP_ME(SoapClient, __call, arginfo_soapclient___call, 0) 2820 PHP_METHOD(SoapClient, __call) argument
|
/PHP-7.4/ext/opcache/ |
H A D | zend_file_cache.c | 784 SERIALIZE_PTR(ce->__call); 1471 UNSERIALIZE_PTR(ce->__call);
|
H A D | zend_persist.c | 979 if (ce->__call) { in zend_update_parent_ce() 980 zend_function *tmp = zend_shared_alloc_get_xlat_entry(ce->__call); in zend_update_parent_ce() 982 ce->__call = tmp; in zend_update_parent_ce()
|
H A D | zend_accelerator_util_funcs.c | 352 zend_update_inherited_handler(__call); in zend_class_copy_ctor()
|
/PHP-7.4/ext/soap/tests/ |
H A D | bug79357.phpt | 14 #0 %s(%d): SoapClient->__call('Add', Array)
|
/PHP-7.4/Zend/tests/ |
H A D | is_callable_trampoline_uaf.phpt | 12 public function __call($func, $args) {
|
/PHP-7.4/tests/classes/ |
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_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. 62 ---> Invoke __call via scope resolution operator within instance. 68 ---> Invoke __call via scope resolution operator within child instance. [all …]
|
/PHP-7.4/ext/standard/tests/strings/ |
H A D | lcfirst.phpt | 62 public function __call($m, $v) {
|
/PHP-7.4/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.4/ext/spl/tests/ |
H A D | spl_007.phpt | 2 SPL: iterator_apply() with callback using __call() 7 public function __call($name, $params) {
|
/PHP-7.4/ext/soap/tests/bugs/ |
H A D | bug31755.phpt | 12 $response= $client->__call('function', array(), null, $header);
|
/PHP-7.4/ext/reflection/tests/ |
H A D | ReflectionMethod_getModifiers_basic.phpt | 37 public function __call($a, $b) {} 113 Modifiers for method TestClass::__call(): 181 Modifiers for method TestClass::__call():
|
/PHP-7.4/ext/pdo_mysql/tests/ |
H A D | pdo_mysql_subclass.phpt | 32 public function __call($method, $args) { 33 print "__call(".var_export($method,true).", ".var_export($args, true).")\n"; 96 __call('intercept_call', array (
|
/PHP-7.4/ext/pdo/tests/ |
H A D | bug_52098.phpt | 2 PDO Common: Bug #52098 Own PDOStatement implementation ignore __call() 23 public function __call($name, $arguments)
|