Re: Urgent patch for traits in PHP 5.4
| From: | Stas Malyshev | Date: | Sun, 15 Jan 2012 02:56:54 +0000 |
| Subject: | Re: Urgent patch for traits in PHP 5.4 | ||
| References: | 1 2 3 4 5 6 7 8 9 10 11 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-57368@lists.php.net to get a copy of this message | ||
Hi!
What would be the best approach to handle the case of property definitions?I don't think this opcode should be there in this case. Maybe we should use IS_CONSTANT in this case and handle it when constants are updated as a special case? Alternatively, if we find no solution for it we may just ban __CLASS__ in trait properties for now until we find a solution... We need some resolution for it fast, if we want to release 5.4.0 anytime soon. -- Stanislav Malyshev, Software Architect SugarCRM: http://www.sugarcrm.com/ (408)454-6900 ext. 227