summaryrefslogtreecommitdiff
path: root/Zend/zend_API.h
diff options
context:
space:
mode:
authorMarcus Boerger <helly@php.net>2003-10-25 22:58:06 +0000
committerMarcus Boerger <helly@php.net>2003-10-25 22:58:06 +0000
commit26bfe3f83a22b371fb2bf741600ab49d7ea39c04 (patch)
tree20501dafa69cdf4df49af7c2e4293b7325767037 /Zend/zend_API.h
parent46251fa3f80844c34b55787c81a5535463685621 (diff)
downloadphp-git-26bfe3f83a22b371fb2bf741600ab49d7ea39c04.tar.gz
Add zend_make_callable() which allows to make zval's callable zval's.
At the moment this function only converts strings of the form class::method to an array(class,method).
Diffstat (limited to 'Zend/zend_API.h')
-rw-r--r--Zend/zend_API.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Zend/zend_API.h b/Zend/zend_API.h
index 0b079bbfb8..5ea3c877fe 100644
--- a/Zend/zend_API.h
+++ b/Zend/zend_API.h
@@ -169,6 +169,7 @@ ZEND_API int zend_disable_class(char *class_name, uint class_name_length TSRMLS_
ZEND_API void zend_wrong_param_count(TSRMLS_D);
ZEND_API zend_bool zend_is_callable(zval *callable, zend_bool syntax_only, char **callable_name);
+ZEND_API zend_bool zend_make_callable(zval *callable, char **callable_name TSRMLS_DC);
ZEND_API char *zend_get_module_version(char *module_name);
ZEND_API int zend_declare_property(zend_class_entry *ce, char *name, int name_length, zval *property, int access_type TSRMLS_DC);
ZEND_API int zend_declare_property_null(zend_class_entry *ce, char *name, int name_length, int access_type TSRMLS_DC);