com php-src: Fixed __debugInfo() support: ext/opc ache/zend_accelerator_util_funcs.c
| From: | Dmitry Stogov | Date: | Wed, 03 Dec 2014 09:13:01 +0000 |
| Subject: | com php-src: Fixed __debugInfo() support: ext/opc ache/zend_accelerator_util_funcs.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-83490@lists.php.net to get a copy of this message | ||
Commit: cd68c4b1d2fd7d2852881c98ca4cf8de351961d5
Author: Dmitry Stogov <dmitry@zend.com> Wed, 3 Dec 2014 12:13:01 +0300
Parents: e3466082099e17d48f3f5d1d2a38f5094eab8d30
Branches: PHP-5.6 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=cd68c4b1d2fd7d2852881c98ca4cf8de351961d5
Log:
Fixed __debugInfo() support
Changed paths:
M ext/opcache/zend_accelerator_util_funcs.c
Diff:
diff --git a/ext/opcache/zend_accelerator_util_funcs.c b/ext/opcache/zend_accelerator_util_funcs.c
index 9311024..e7021ad 100644
--- a/ext/opcache/zend_accelerator_util_funcs.c
+++ b/ext/opcache/zend_accelerator_util_funcs.c
@@ -795,6 +795,11 @@ static void zend_class_copy_ctor(zend_class_entry **pce)
zend_update_inherited_handler(__callstatic);
#endif
+#if ZEND_EXTENSION_API_NO >= PHP_5_6_X_API_NO
+/* 5.6 stuff */
+ zend_update_inherited_handler(__debugInfo);
+#endif
+
#if ZEND_EXTENSION_API_NO > PHP_5_3_X_API_NO
/* 5.4 traits */
if (ce->trait_aliases) {