summaryrefslogtreecommitdiff
path: root/zend/classimpl.h
diff options
context:
space:
mode:
authorToon Schoenmakers <toon.schoenmakers@copernica.com>2014-08-22 15:23:05 +0200
committerToon Schoenmakers <toon.schoenmakers@copernica.com>2014-08-22 15:23:05 +0200
commit97bc6757346d394a4b7d5898983be298e0b0ea98 (patch)
tree511b8d22e86fe2f44ecc4d2250d2a71329a25b95 /zend/classimpl.h
parent36ab68bd25aaedc81fdf6745faf5f3a14474c53f (diff)
Store the impl pointer for ClassImpl after the name in the zend_class_entry on php5.3
Turns out the apache reload issue from f57607d2d58f6e7689a3550c84ba68ce42c6a7b3 was never actually fixed. This commit however does finally fix it. The previously comment trick however is still used with php 5.4 and php 5.5 as this 'new' trick doesn't work with these versions of php as char* name in the zend_class_entry is a const char* and is no longer internally copied and all (meaning we can't realloc it).
Diffstat (limited to 'zend/classimpl.h')
-rw-r--r--zend/classimpl.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/zend/classimpl.h b/zend/classimpl.h
index bd631b8..26cf030 100644
--- a/zend/classimpl.h
+++ b/zend/classimpl.h
@@ -32,12 +32,6 @@ private:
std::string _name;
/**
- * The comment for reflexion, with a stored pointer to ourselves
- * @var char*
- */
- char *_comment = nullptr;
-
- /**
* The class type (this can be values like Php::Abstract and Php::Final)
* @var ClassType
*/