diff options
author | Marcus Boerger <helly@php.net> | 2003-10-25 19:28:31 +0000 |
---|---|---|
committer | Marcus Boerger <helly@php.net> | 2003-10-25 19:28:31 +0000 |
commit | da8ce17f7ae1abae2adaf7c36049001208e0863a (patch) | |
tree | 87d6ab31e36ca9eaf4c663e5d51d76732e288cb0 /Zend/zend_reflection_api.c | |
parent | cad49f1fb02f8f591f65fd3d44f27440b7c5483a (diff) | |
download | php-git-da8ce17f7ae1abae2adaf7c36049001208e0863a.tar.gz |
This forces a better error message for non working clone calls.
Diffstat (limited to 'Zend/zend_reflection_api.c')
-rw-r--r-- | Zend/zend_reflection_api.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Zend/zend_reflection_api.c b/Zend/zend_reflection_api.c index 9dec257d58..99aaecd3e2 100644 --- a/Zend/zend_reflection_api.c +++ b/Zend/zend_reflection_api.c @@ -3039,6 +3039,7 @@ ZEND_API void zend_register_reflection_api(TSRMLS_D) { zend_class_entry _reflection_entry; memcpy(&reflection_object_handlers, zend_get_std_object_handlers(), sizeof(zend_object_handlers)); + reflection_object_handlers.clone_obj = NULL; INIT_CLASS_ENTRY(_reflection_entry, "reflection_exception", reflection_exception_functions); reflection_exception_ptr = zend_register_internal_class_ex(&_reflection_entry, zend_exception_get_default(), NULL TSRMLS_CC); |