Home
last modified time | relevance | path

Searched refs:callable (Results 26 – 50 of 59) sorted by relevance

123

/PHP-7.4/Zend/tests/closures/
H A Dclosure_from_callable_non_static_statically.phpt20 Failed to create closure from callable: non-static method A::method() should not be called statical…
/PHP-7.4/ext/intl/tests/
H A Dbreakiter___construct.phpt2 IntlBreakIterator::__construct() should not be callable
/PHP-7.4/Zend/tests/nullable_types/
H A Dnullable_type_parameters_do_not_have_default_value.phpt6 function f(?callable $p) {}
/PHP-7.4/Zend/tests/
H A Dbug71622.phpt2 Bug #71622 (Strings used in pass-as-reference cannot be used to invoke C::$callable())
H A Dbug44141.phpt2 Bug #44141 (private parent constructor callable through static function)
H A Dbug70895.phpt2 Bug #70895 null ptr deref and segfault with crafted callable
H A Dbug68475.phpt2 Bug #68475 Calling function using $callable() syntax with strings of form 'Class::method'
H A Dbug70898.phpt2 Bug #70895 null ptr deref and segfault with crafted callable
/PHP-7.4/ext/readline/tests/
H A Dreadline_callback_handler_install_001.phpt22 Warning: readline_callback_handler_install(): foobar! is not callable in %s on line %d
H A Dlibedit_callback_handler_install_001.phpt24 Warning: readline_callback_handler_install(): foobar! is not callable in %s on line %d
/PHP-7.4/Zend/tests/return_types/
H A D013.phpt6 public function bar() : callable {
/PHP-7.4/ext/standard/tests/
H A Dforward_static_call_array.phpt2 mixed forward_static_call_array ( callable $function , array $parameters );
/PHP-7.4/ext/dom/
H A Dxpath.c81 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/typehints/
H A Dor_null.phpt52 function callableF(?callable $param) {}
136 function returnCallable(): ?callable {
193 function returnMissingCallable(): ?callable {
246 TypeError: Argument 1 passed to callableF() must be callable or null, int given, called in %s on li…
282 TypeError: Return value of returnCallable() must be callable or null, int returned in %s:134
306 TypeError: Return value of returnMissingCallable() must be callable or null, none returned in %s:191
/PHP-7.4/Zend/tests/grammar/
H A Dsemi_reserved_003.phpt9 var $callable = 'callable';
90 echo $obj->callable, PHP_EOL;
172 callable
H A Dsemi_reserved_004.phpt9 static $callable = 'callable';
88 echo Obj::$callable, PHP_EOL;
168 callable
H A Dsemi_reserved_001.phpt9 function callable(){ echo __METHOD__, PHP_EOL; }
89 $obj->callable();
168 Obj::callable
H A Dsemi_reserved_002.phpt9 static function callable(){ echo __METHOD__, PHP_EOL; }
87 Obj::callable();
166 Obj::callable
/PHP-7.4/Zend/
H A Dzend_closures.c281 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)
/PHP-7.4/ext/reflection/tests/
H A DReflectionParameter_export_error2.phpt34 The parameter class is expected to be either a string, an array(class, method) or a callable object
H A DReflectionParameter_invalidMethodInConstructor.phpt47 Ok - The parameter class is expected to be either a string, an array(class, method) or a callable o…
/PHP-7.4/ext/xsl/
H A Dxsltprocessor.c189 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/sapi/fpm/tests/
H A Dstatus.inc70 * @param null|callable $nameTransformer
71 * @param null|callable $valueTransformer
/PHP-7.4/ext/snmp/tests/
H A Dreflection.phpt8 /* ALL PHP_ME user callable methods of SNMP class should appear here */
/PHP-7.4/ext/spl/tests/
H A Dspl_autoload_008.phpt83 LogicException: Function 'MyAutoLoader::dynaLoad' not callable (non-static method MyAutoLoader::dyn…

Completed in 60 milliseconds

123