note 34799 deleted from internals2.ze1.zendapi by cmb
| From: | cmb@php.net | Date: | Sun, 10 Jan 2021 13:25:30 +0000 |
| Subject: | note 34799 deleted from internals2.ze1.zendapi by cmb | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-216115@lists.php.net to get a copy of this message | ||
Note Submitter: glamm at a-s-i dot com
----
Regarding the note written by jo-shi at web dot de:
I do not think that the line
ce = emalloc(sizeof(zend_class_entry));
is required, as the line
ce = zend_register_internal_class(&class_entry TSRMLS_CC);
actually appears to go through the process of performing the memory allocation and reference
counting of the object.