/PHP-7.4/Zend/ |
H A D | zend_closures.c | 281 static int zend_create_closure_from_callable(zval *return_value, zval *callable, char **error) /* {… in zend_create_closure_from_callable() argument 287 if (!zend_is_callable_ex(callable, NULL, 0, NULL, &fcc, error)) { in zend_create_closure_from_callable() 341 zval *callable; in ZEND_METHOD() local 345 if (zend_parse_parameters(ZEND_NUM_ARGS(), "z", &callable) == FAILURE) { in ZEND_METHOD() 349 if (Z_TYPE_P(callable) == IS_OBJECT && instanceof_function(Z_OBJCE_P(callable), zend_ce_closure)) { in ZEND_METHOD() 351 RETURN_ZVAL(callable, 1, 0); in ZEND_METHOD() 356 success = zend_create_closure_from_callable(return_value, callable, &error); in ZEND_METHOD() 638 ZEND_ARG_INFO(0, callable)
|
H A D | zend_API.c | 3041 lmname = Z_STR_P(callable); in zend_is_callable_check_func() 3045 zend_str_tolower_copy(ZSTR_VAL(lmname), Z_STRVAL_P(callable), Z_STRLEN_P(callable)); in zend_is_callable_check_func() 3057 if ((colon = zend_memrchr(Z_STRVAL_P(callable), ':', Z_STRLEN_P(callable))) != NULL && in zend_is_callable_check_func() 3095 mname = Z_STR_P(callable); in zend_is_callable_check_func() 3278 switch (Z_TYPE_P(callable)) { in zend_get_callable_name_ex() 3324 callable = Z_REFVAL_P(callable); in zend_get_callable_name_ex() 3357 switch (Z_TYPE_P(callable)) { in zend_is_callable_impl() 3420 callable = method; in zend_is_callable_impl() 3453 callable = Z_REFVAL_P(callable); in zend_is_callable_impl() 3483 zval_ptr_dtor_str(callable); in zend_make_callable() [all …]
|
H A D | zend_API.h | 307 ZEND_API zend_string *zend_get_callable_name_ex(zval *callable, zend_object *object); 308 ZEND_API zend_string *zend_get_callable_name(zval *callable); 309 ZEND_API zend_bool zend_is_callable_ex(zval *callable, zend_object *object, uint32_t check_flags, z… 310 ZEND_API zend_bool zend_is_callable(zval *callable, uint32_t check_flags, zend_string **callable_na… 311 ZEND_API zend_bool zend_make_callable(zval *callable, zend_string **callable_name); 482 ZEND_API int zend_fcall_info_init(zval *callable, uint32_t check_flags, zend_fcall_info *fci, zend_…
|
/PHP-7.4/sapi/fpm/tests/ |
H A D | status.inc | 70 * @param null|callable $nameTransformer 71 * @param null|callable $valueTransformer
|
/PHP-7.4/ |
H A D | UPGRADING | 536 . bool sapi_windows_set_ctrl_handler(callable handler, [, bool add = true]) -
|
H A D | CONTRIBUTING.md | 375 6. If you modified a function that is callable from PHP, prepend PHP to the
|
/PHP-7.4/ext/pdo/ |
H A D | pdo_stmt.c | 757 static int make_callable_ex(pdo_stmt_t *stmt, zval *callable, zend_fcall_info * fci, zend_fcall_inf… in make_callable_ex() argument 761 if (zend_fcall_info_init(callable, 0, fci, fcc, NULL, &is_callable_error) == FAILURE) { in make_callable_ex()
|
/PHP-7.4/ext/standard/ |
H A D | basic_functions.c | 2718 ZEND_ARG_INFO(0, callable)
|
/PHP-7.4/ext/readline/tests/ |
H A D | libedit_callback_handler_install_001.phpt | 24 Warning: readline_callback_handler_install(): foobar! is not callable in %s on line %d
|
H A D | readline_callback_handler_install_001.phpt | 22 Warning: readline_callback_handler_install(): foobar! is not callable in %s on line %d
|
/PHP-7.4/ext/xsl/ |
H A D | xsltprocessor.c | 189 zend_string *callable = NULL; in xsl_ext_function_php() local 328 if (!zend_make_callable(&handler, &callable)) { in xsl_ext_function_php() 329 php_error_docref(NULL, E_WARNING, "Unable to call handler %s()", ZSTR_VAL(callable)); in xsl_ext_function_php() 331 …n->registerPhpFunctions == 2 && zend_hash_exists(intern->registered_phpfunctions, callable) == 0) { in xsl_ext_function_php() 332 php_error_docref(NULL, E_WARNING, "Not allowed to call handler '%s()'", ZSTR_VAL(callable)); in xsl_ext_function_php() 368 zend_string_release_ex(callable, 0); in xsl_ext_function_php()
|
/PHP-7.4/ext/pcntl/tests/ |
H A D | pcntl_signal.phpt | 24 var_dump(pcntl_signal(SIGALRM, "not callable")); 45 Warning: pcntl_signal(): Specified handler "not callable" is not callable (%s) in %s
|
/PHP-7.4/tests/classes/ |
H A D | inheritance_005.phpt | 25 echo "Is B::B() callable?\n"; 28 echo "Is B::A() callable?\n"; 34 echo "Is C::A() callable?\n"; 37 echo "Is C::B() callable?\n"; 40 echo "Is C::C() callable?\n"; 47 Is B::B() callable? 49 Is B::A() callable? 53 Is C::A() callable? 55 Is C::B() callable? 57 Is C::C() callable?
|
/PHP-7.4/ext/spl/tests/ |
H A D | spl_autoload_007.phpt | 63 Function 'MyAutoLoader::noAccess' not callable (cannot access protected method MyAutoLoader::noAcce… 69 Function 'MyAutoLoader::dynaLoad' not callable (non-static method MyAutoLoader::dynaLoad() should n… 85 Passed array does not specify a callable static method (cannot access protected method MyAutoLoader… 119 Passed array does not specify a callable static method (cannot access protected method MyAutoLoader…
|
H A D | spl_autoload_008.phpt | 83 LogicException: Function 'MyAutoLoader::dynaLoad' not callable (non-static method MyAutoLoader::dyn…
|
/PHP-7.4/ext/snmp/tests/ |
H A D | reflection.phpt | 8 /* ALL PHP_ME user callable methods of SNMP class should appear here */
|
/PHP-7.4/ext/oci8/tests/ |
H A D | reflection1.phpt | 8 /* ALL PHP_FE or PHP_ALIAS user callable functions should appear here */
|
/PHP-7.4/ext/dom/ |
H A D | xpath.c | 81 zend_string *callable = NULL; in dom_xpath_ext_function_php() local 194 if (!zend_make_callable(&fci.function_name, &callable)) { in dom_xpath_ext_function_php() 195 php_error_docref(NULL, E_WARNING, "Unable to call handler %s()", ZSTR_VAL(callable)); in dom_xpath_ext_function_php() 196 …n->registerPhpFunctions == 2 && zend_hash_exists(intern->registered_phpfunctions, callable) == 0) { in dom_xpath_ext_function_php() 197 php_error_docref(NULL, E_WARNING, "Not allowed to call handler '%s()'.", ZSTR_VAL(callable)); in dom_xpath_ext_function_php() 227 zend_string_release_ex(callable, 0); in dom_xpath_ext_function_php()
|
/PHP-7.4/Zend/tests/type_declarations/ |
H A D | callable_001.phpt | 2 callable type#001 10 function foo(callable $bar) {
|
H A D | typed_properties_054.phpt | 2 Typed properties disallow callable (nullable variant) 6 public ?callable $a; 12 Fatal error: Property A::$a cannot have type callable in %s on line %d
|
/PHP-7.4/Zend/tests/closures/ |
H A D | closure_from_callable_basic.phpt | 44 echo "Instance return private method as callable"; 49 echo "Instance return private static method as callable"; 54 echo 'Instance return protected static method as callable'; 110 Instance return private method as callable OK 111 Instance return private static method as callable OK 112 Instance return protected static method as callable OK
|
H A D | closure_from_callable_non_static_statically.phpt | 20 Failed to create closure from callable: non-static method A::method() should not be called statical…
|
/PHP-7.4/Zend/tests/ |
H A D | exception_017.phpt | 9 function foo(callable $x) { 33 Exception: Argument 1 passed to foo() must be callable, string given, called in %s on line %d
|
H A D | bug70895.phpt | 2 Bug #70895 null ptr deref and segfault with crafted callable
|
H A D | bug70898.phpt | 2 Bug #70895 null ptr deref and segfault with crafted callable
|