summaryrefslogtreecommitdiff
path: root/Zend/zend_API.h
diff options
context:
space:
mode:
authorMarcus Boerger <helly@php.net>2005-12-16 22:15:41 +0000
committerMarcus Boerger <helly@php.net>2005-12-16 22:15:41 +0000
commit0cd997d79c1601e72047f8faea8614aaeaebc053 (patch)
treec55a69494db57f2ab9d409418faf4f0bde09a40a /Zend/zend_API.h
parent418223e2f629ba63392c5b2fff7470cdd3484eac (diff)
downloadphp-git-0cd997d79c1601e72047f8faea8614aaeaebc053.tar.gz
- Simplify and synch is_callable_ex() with actual execution code
. Allow array($this, 'parent::method') for function 'pointers' . Spit out E_STRICT in case of erroneous use of function 'pointers'
Diffstat (limited to 'Zend/zend_API.h')
-rw-r--r--Zend/zend_API.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Zend/zend_API.h b/Zend/zend_API.h
index d30d7f7499..61f4d880d0 100644
--- a/Zend/zend_API.h
+++ b/Zend/zend_API.h
@@ -204,6 +204,8 @@ ZEND_API void zend_wrong_param_count(TSRMLS_D);
#define IS_CALLABLE_CHECK_NO_ACCESS (1<<1)
#define IS_CALLABLE_CHECK_IS_STATIC (1<<2)
+#define IS_CALLABLE_STRICT (IS_CALLABLE_CHECK_IS_STATIC)
+
ZEND_API zend_bool zend_is_callable_ex(zval *callable, uint check_flags, char **callable_name, int *callable_name_len, zend_class_entry **ce_ptr, zend_function **fptr_ptr, zval ***zobj_ptr_ptr TSRMLS_DC);
ZEND_API zend_bool zend_is_callable(zval *callable, uint check_flags, char **callable_name);
ZEND_API zend_bool zend_make_callable(zval *callable, char **callable_name TSRMLS_DC);