diff options
author | Dmitry Stogov <dmitry@zend.com> | 2021-03-01 22:37:37 +0300 |
---|---|---|
committer | Dmitry Stogov <dmitry@zend.com> | 2021-03-01 22:37:37 +0300 |
commit | 9da66e6ad0f57d7ba71417731ec2586703f4d790 (patch) | |
tree | 53b6bbc0615fc2b10ec1099f65fdd3b853a307e5 /Zend/zend_object_handlers.h | |
parent | f9f8c1c79cac1b03279190e0c5513a51881615f9 (diff) | |
download | php-git-9da66e6ad0f57d7ba71417731ec2586703f4d790.tar.gz |
Optimized object conversion to array without rebulding properties HashTable
Diffstat (limited to 'Zend/zend_object_handlers.h')
-rw-r--r-- | Zend/zend_object_handlers.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Zend/zend_object_handlers.h b/Zend/zend_object_handlers.h index 71c0168372..53eef82928 100644 --- a/Zend/zend_object_handlers.h +++ b/Zend/zend_object_handlers.h @@ -225,6 +225,8 @@ ZEND_API int zend_std_compare_objects(zval *o1, zval *o2); ZEND_API int zend_std_get_closure(zend_object *obj, zend_class_entry **ce_ptr, zend_function **fptr_ptr, zend_object **obj_ptr, bool check_only); ZEND_API void rebuild_object_properties(zend_object *zobj); +ZEND_API HashTable *zend_std_build_object_properties_array(zend_object *zobj); + /* Handler for objects that cannot be meaningfully compared. * Only objects with the same identity will be considered equal. */ ZEND_API int zend_objects_not_comparable(zval *o1, zval *o2); |