Home
last modified time | relevance | path

Searched refs:__call (Results 1 – 25 of 90) sorted by last modified time

1234

/PHP-7.4/Zend/
H A Dzend_closures.c261 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 Dzend_vm_execute.h2786 …rray.fn_flags & ZEND_ACC_STATIC) ? fbc->op_array.scope->__callstatic : fbc->op_array.scope->__call; in ZEND_CALL_TRAMPOLINE_SPEC_HANDLER()
H A Dzend_vm_def.h8292 …rray.fn_flags & ZEND_ACC_STATIC) ? fbc->op_array.scope->__callstatic : fbc->op_array.scope->__call;
H A Dzend_API.c2148 …= 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 Dzend_object_handlers.c1262 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 Dzend_compile.c1679 ce->__call = NULL; in zend_initialize_class_data()
5846 ce->__call = (zend_function *) op_array; in zend_begin_method_decl()
H A Dzend_inheritance.c148 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 Dzend.h139 zend_function *__call; member
H A Dzend_API.h205 class_container.__call = NULL; \
/PHP-7.4/Zend/tests/closures/
H A Dbug80929.phpt25 public function __call(string $name, array $arguments)
/PHP-7.4/ext/soap/
H A Dsoap.c212 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 Dzend_file_cache.c784 SERIALIZE_PTR(ce->__call);
1471 UNSERIALIZE_PTR(ce->__call);
H A Dzend_persist.c979 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 Dzend_accelerator_util_funcs.c352 zend_update_inherited_handler(__call); in zend_class_copy_ctor()
/PHP-7.4/ext/soap/tests/
H A Dbug79357.phpt14 #0 %s(%d): SoapClient->__call('Add', Array)
/PHP-7.4/Zend/tests/
H A Dis_callable_trampoline_uaf.phpt12 public function __call($func, $args) {
/PHP-7.4/tests/classes/
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_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.
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 Dlcfirst.phpt62 public function __call($m, $v) {
/PHP-7.4/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.4/ext/spl/tests/
H A Dspl_007.phpt2 SPL: iterator_apply() with callback using __call()
7 public function __call($name, $params) {
/PHP-7.4/ext/soap/tests/bugs/
H A Dbug31755.phpt12 $response= $client->__call('function', array(), null, $header);
/PHP-7.4/ext/reflection/tests/
H A DReflectionMethod_getModifiers_basic.phpt37 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 Dpdo_mysql_subclass.phpt32 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 Dbug_52098.phpt2 PDO Common: Bug #52098 Own PDOStatement implementation ignore __call()
23 public function __call($name, $arguments)

Completed in 320 milliseconds

1234