Re: Re: Change in type-hint representation

From: Date: Thu, 12 Jan 2017 14:43:23 +0000
Subject: Re: Re: Change in type-hint representation
References: 1 2 3  Groups: php.internals 
Request: Send a blank email to internals+get-97724@lists.php.net to get a copy of this message
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/

« previous php.internals (#97724) next »