Hi, Dmitry Stogov wrote:
1) ZEND_TYPE_CE() is not used yet. We may make distinct between zend_string* and zend_class_entry* based on context or using a value of reserved bit (0x2).
Ah, I see. Until it is used, could it be removed? Its presence right now creates confusion.
2) We can't initialize zend_strings* in constant structures, so we store const char*. This code converts that const char* into zend_string*.
I see, thanks. -- Andrea Faulds https://ajf.me/ -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php