Home
last modified time | relevance | path

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

12

/PHP-5.5/
H A DNEWS3168 . Added callable typehint. (Hannes)
6958 - Fixed bug #44141 (private parent constructor callable through static function). (Dmitry)
H A DREADME.GIT-RULES94 6. If you modified a function that is callable from PHP, prepend PHP to
H A DREADME.NEW-OUTPUT-API92 Facilitating a context from within an output handler callable with ob_start():
/PHP-5.5/Zend/
H A DZEND_CHANGES674 a method static, thus callable from outside the object context.
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/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 Dbug44141.phpt2 Bug #44141 (private parent constructor callable through static function)
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 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 Dcallable_type_hint_003.phpt2 callable type hint#003
6 function foo(callable $a, $b, callable $c) {
9 function bar(callable $a = null) {
/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/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/intl/tests/
H A Dbreakiter___construct.phpt2 IntlBreakIterator::__construct() should not be callable
/PHP-5.5/ext/mbstring/oniguruma/
H A DHISTORY1705 2003/03/01: [impl] use OP_MEMORY_END_PUSH in callable subexp compiled code
1713 2003/02/28: [impl] add opcode OP_MEMORY_END_PUSH for callable subexp.
/PHP-5.5/ext/oci8/tests/
H A Dreflection1.phpt8 /* ALL PHP_FE or PHP_ALIAS user callable functions should appear here */
/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/pdo/
H A Dpdo_stmt.c791 static int make_callable_ex(pdo_stmt_t *stmt, zval *callable, zend_fcall_info * fci, zend_fcall_inf… in make_callable_ex() argument
795 if (zend_fcall_info_init(callable, 0, fci, fcc, NULL, &is_callable_error TSRMLS_CC) == FAILURE) { in make_callable_ex()
/PHP-5.5/ext/pdo_sqlite/tests/
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
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
/PHP-5.5/ext/readline/tests/
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
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

Completed in 101 milliseconds

12