diff options
author | Marcus Boerger <helly@php.net> | 2003-12-15 16:59:21 +0000 |
---|---|---|
committer | Marcus Boerger <helly@php.net> | 2003-12-15 16:59:21 +0000 |
commit | d4f64f88badd33ae87b9ec9b3120d532c8352b05 (patch) | |
tree | a8830cb4ed9cc2bd3f831980a1dc4d56bd02abee /Zend/zend_object_handlers.h | |
parent | 18096396d2e0d0545946a09087ec633f250b9dfd (diff) | |
download | php-git-d4f64f88badd33ae87b9ec9b3120d532c8352b05.tar.gz |
Reenable __tostring() magic for print,echo,concatenation,function naming...
but not for other internal things.
# As discussed with Andi
Diffstat (limited to 'Zend/zend_object_handlers.h')
-rw-r--r-- | Zend/zend_object_handlers.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Zend/zend_object_handlers.h b/Zend/zend_object_handlers.h index 3e98d7713b..9687f05f5a 100644 --- a/Zend/zend_object_handlers.h +++ b/Zend/zend_object_handlers.h @@ -118,6 +118,9 @@ union _zend_function *zend_std_get_static_method(zend_class_entry *ce, char *fun zval **zend_std_get_static_property(zend_class_entry *ce, char *property_name, int property_name_len, zend_bool silent TSRMLS_DC); zend_bool zend_std_unset_static_property(zend_class_entry *ce, char *property_name, int property_name_len TSRMLS_DC); +int zend_std_cast_object(zval *readobj, zval *writeobj, int type, int should_free TSRMLS_DC); +ZEND_API int zend_std_cast_object_tostring(zval *readobj, zval *writeobj, int type, int should_free TSRMLS_DC); + #define IS_ZEND_STD_OBJECT(z) ((z).type == IS_OBJECT && (Z_OBJ_HT((z))->get_class_entry != NULL)) #define HAS_CLASS_ENTRY(z) (Z_OBJ_HT(z)->get_class_entry != NULL) |