summaryrefslogtreecommitdiff
path: root/Zend/zend_object_handlers.c
diff options
context:
space:
mode:
authorAndi Gutmans <andi@php.net>2004-03-14 13:52:36 +0000
committerAndi Gutmans <andi@php.net>2004-03-14 13:52:36 +0000
commit88de69b97c53b33a8ab365a133d0498e15dbb369 (patch)
treefe6893d79c5bf8c5726ff250de70dc4db7b06d7f /Zend/zend_object_handlers.c
parent4f897b2f3c9fda157a90e684d23d47eb1e6ae47b (diff)
downloadphp-git-88de69b97c53b33a8ab365a133d0498e15dbb369.tar.gz
- Support Cast operator in convert_to_* so that we support internal
- extensions such as SimpleXML. This is for Sterling.
Diffstat (limited to 'Zend/zend_object_handlers.c')
-rw-r--r--Zend/zend_object_handlers.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/Zend/zend_object_handlers.c b/Zend/zend_object_handlers.c
index b6645a8ebf..1812a31aa4 100644
--- a/Zend/zend_object_handlers.c
+++ b/Zend/zend_object_handlers.c
@@ -945,10 +945,6 @@ ZEND_API int zend_std_cast_object_tostring(zval *readobj, zval *writeobj, int ty
return FAILURE;
}
-int zend_std_cast_object(zval *readobj, zval *writeobj, int type, int should_free TSRMLS_DC)
-{
- return FAILURE;
-}
ZEND_API zend_object_handlers std_object_handlers = {
zend_objects_store_add_ref, /* add_ref */
@@ -973,7 +969,7 @@ ZEND_API zend_object_handlers std_object_handlers = {
zend_std_object_get_class, /* get_class_entry */
zend_std_object_get_class_name, /* get_class_name */
zend_std_compare_objects, /* compare_objects */
- zend_std_cast_object, /* cast_object */
+ NULL, /* cast_object */
};
/*