Home
last modified time | relevance | path

Searched refs:callable (Results 1 – 25 of 30) sorted by relevance

12

/PHP-5.5/Zend/tests/
H A Dbug29210.phpt22 echo "test_func1 isn't callable from inside\n";
72 echo "test_func1 isn't callable from outside\n";
77 echo "test_func2 isn't callable from outside\n";
82 echo "test_func3 isn't callable from outside\n";
87 echo "test_func4 isn't callable from outside\n";
97 test_func1 isn't callable from outside
98 test_func2 isn't callable from outside
99 test_func3 isn't callable from outside
100 test_func4 isn't callable from outside
101 test_func1 isn't callable from child
[all …]
H A Dcallable_type_hint_003.phpt2 callable type hint#003
6 function foo(callable $a, $b, callable $c) {
9 function bar(callable $a = null) {
H A Dcallable_type_hint_002.phpt2 callable type hint#002 - Reflection
7 static function foo(callable $arg) {}
9 function foo(callable $bar) {
11 $closure = function (callable $arg) {};
H A Dbug55705.phpt2 Bug #55705 (Omitting a callable typehinted argument causes a segfault)
5 function f(callable $c) {}
9 Catchable fatal error: Argument 1 passed to f() must be callable, none given, called in %s on line …
H A Dcallable_type_hint_001.phpt2 callable type hint#001
10 function foo(callable $bar) {
H A Dbug44141.phpt2 Bug #44141 (private parent constructor callable through static function)
/PHP-5.5/tests/classes/
H A Dinheritance_005.phpt25 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";
46 Is B::B() callable?
48 Is B::A() callable?
52 Is C::A() callable?
54 Is C::B() callable?
56 Is C::C() callable?
/PHP-5.5/ext/pcntl/tests/
H A Dpcntl_signal.phpt18 var_dump(pcntl_signal(SIGALRM, "not callable"));
38 Warning: pcntl_signal(): not callable is not a callable function name error in %s
/PHP-5.5/ext/readline/tests/
H A Dreadline_completion_function_001.phpt23 Warning: readline_completion_function(): 1 is not callable in %s on line %d
25 Warning: readline_completion_function(): 1.1231 is not callable in %s on line %d
H A Dlibedit_callback_handler_install_001.phpt22 Warning: readline_callback_handler_install(): foobar! is not callable in %s on line %d
H A Dreadline_callback_handler_install_001.phpt22 Warning: readline_callback_handler_install(): foobar! is not callable in %s on line %d
/PHP-5.5/ext/pdo_sqlite/tests/
H A Dpdo_sqlite_createfunction_002.phpt3 un-callable function passed
17 Warning: PDO::sqliteCreateFunction(): function 'bar' is not callable in %s on line %d
H A Dpdo_sqlite_createaggregate_002.phpt15 Warning: PDO::sqliteCreateAggregate(): function 'a' is not callable in %s on line %d
17 Warning: PDO::sqliteCreateAggregate(): function '' is not callable in %s on line %d
/PHP-5.5/ext/interbase/tests/
H A Dbug45575.phpt20 Warning: ibase_set_event_handler(): Callback argument is not a callable function in %s on line %d
22 Warning: ibase_set_event_handler(): Callback argument 1 is not a callable function in %s on line %d
H A Dbug46247.phpt32 Warning: ibase_set_event_handler(): Callback argument foo is not a callable function in %s on line …
34 Warning: ibase_set_event_handler(): Callback argument foo is not a callable function in %s on line …
/PHP-5.5/ext/spl/tests/
H A Dspl_autoload_007.phpt63 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 method (cannot access protected method MyAutoLoader::noAcc…
H A Dspl_autoload_008.phpt83 LogicException: Function 'MyAutoLoader::dynaLoad' not callable (non-static method MyAutoLoader::dyn…
/PHP-5.5/ext/intl/tests/
H A Dbreakiter___construct.phpt2 IntlBreakIterator::__construct() should not be callable
/PHP-5.5/ext/dom/
H A Dxpath.c85 char *callable = NULL; in dom_xpath_ext_function_php() local
206 if (!zend_make_callable(&handler, &callable TSRMLS_CC)) { in dom_xpath_ext_function_php()
207 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Unable to call handler %s()", callable); in dom_xpath_ext_function_php()
209 …tions == 2 && zend_hash_exists(intern->registered_phpfunctions, callable, strlen(callable) + 1) ==… in dom_xpath_ext_function_php()
210 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Not allowed to call handler '%s()'.", callable); in dom_xpath_ext_function_php()
246 efree(callable); in dom_xpath_ext_function_php()
/PHP-5.5/Zend/
H A Dzend_API.c2767 mlen = Z_STRLEN_P(callable); in zend_is_callable_check_func()
2780 if ((colon = zend_memrchr(Z_STRVAL_P(callable), ':', Z_STRLEN_P(callable))) != NULL && in zend_is_callable_check_func()
2781 colon > Z_STRVAL_P(callable) && in zend_is_callable_check_func()
2814 mlen = Z_STRLEN_P(callable); in zend_is_callable_check_func()
2815 mname = Z_STRVAL_P(callable); in zend_is_callable_check_func()
3039 switch (Z_TYPE_P(callable)) { in zend_is_callable_ex()
3053 memcpy(ptr, Z_STRVAL_P(callable), Z_STRLEN_P(callable) + 1); in zend_is_callable_ex()
3056 *callable_name = estrndup(Z_STRVAL_P(callable), Z_STRLEN_P(callable)); in zend_is_callable_ex()
3217 zval_dtor(callable); in zend_make_callable()
3218 array_init(callable); in zend_make_callable()
[all …]
H A Dzend_API.h300 ZEND_API zend_bool zend_is_callable_ex(zval *callable, zval *object_ptr, uint check_flags, char **c…
301 ZEND_API zend_bool zend_is_callable(zval *callable, uint check_flags, char **callable_name TSRMLS_D…
302 ZEND_API zend_bool zend_make_callable(zval *callable, char **callable_name TSRMLS_DC);
466 ZEND_API int zend_fcall_info_init(zval *callable, uint check_flags, zend_fcall_info *fci, zend_fcal…
/PHP-5.5/ext/reflection/tests/
H A DReflectionParameter_export_error2.phpt31 The parameter class is expected to be either a string, an array(class, method) or a callable object
/PHP-5.5/ext/xsl/
H A Dxsltprocessor.c193 char *callable = NULL; in xsl_ext_function_php() local
332 if (!zend_make_callable(&handler, &callable TSRMLS_CC)) { in xsl_ext_function_php()
333 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Unable to call handler %s()", callable); in xsl_ext_function_php()
335 …tions == 2 && zend_hash_exists(intern->registered_phpfunctions, callable, strlen(callable) + 1) ==… in xsl_ext_function_php()
336 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Not allowed to call handler '%s()'", callable); in xsl_ext_function_php()
373 efree(callable); in xsl_ext_function_php()
/PHP-5.5/
H A DREADME.NEW-OUTPUT-API92 Facilitating a context from within an output handler callable with ob_start():
H A DREADME.GIT-RULES94 6. If you modified a function that is callable from PHP, prepend PHP to

Completed in 32 milliseconds

12