Searched defs:callable_name (Results 1 - 3 of 3) sorted by relevance

/PHP_TRUNK/ext/standard/
H A Dtype.c379 /* {{{ proto bool is_callable(mixed var [, bool syntax_only [, string callable_name]])
383 zval *var, *callable_name = NULL; local
391 &syntax_only, &callable_name) == FAILURE) {
400 zval_dtor(callable_name);
403 ZVAL_STRINGL(callable_name, name->val, strlen(name->val));
406 ZVAL_STR(callable_name, name);
/PHP_TRUNK/Zend/
H A Dzend_execute_API.c714 zend_string *callable_name; local
721 if (!zend_is_callable_ex(&fci->function_name, fci->object, IS_CALLABLE_CHECK_SILENT, &callable_name, fci_cache, &error TSRMLS_CC)) {
723 zend_error(E_WARNING, "Invalid callback %s, %s", callable_name->val, error);
726 if (callable_name) {
727 STR_RELEASE(callable_name);
741 STR_RELEASE(callable_name);
H A Dzend_API.c3204 ZEND_API zend_bool zend_is_callable_ex(zval *callable, zend_object *object, uint check_flags, zend_string **callable_name, zend_fcall_info_cache *fcc, char **error TSRMLS_DC) /* {{{ */ argument
3209 if (callable_name) {
3210 *callable_name = NULL;
3237 if (callable_name) {
3240 *callable_name = STR_ALLOC(fcc->calling_scope->name->len + Z_STRLEN_P(callable) + sizeof("::") - 1, 0);
3241 ptr = (*callable_name)->val;
3248 } else if (callable_name) {
3249 *callable_name = STR_COPY(Z_STR_P(callable));
3293 if (callable_name) {
3297 *callable_name
3433 zend_fcall_info_init(zval *callable, uint check_flags, zend_fcall_info *fci, zend_fcall_info_cache *fcc, zend_string **callable_name, char **error TSRMLS_DC) argument
[all...]

Completed in 11 milliseconds