Re: Urgent patch for traits in PHP 5.4
| From: | Stefan Marr | Date: | Fri, 13 Jan 2012 10:33:02 +0000 |
| Subject: | Re: Urgent patch for traits in PHP 5.4 | ||
| References: | 1 2 3 4 5 6 7 8 9 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-57341@lists.php.net to get a copy of this message | ||
Hi:
On 13 Jan 2012, at 11:13, Stefan Marr wrote:
> From the top of my head, it is the handling of __CLASS__ and the handling of static variables
> in methods. You did not mention that, is it taken care of explicitly, or do traits now share static
> state? The later would not be intended. Will check whether we got that documented with a test.
Seems to work fine, is checked with a very basic test in PHP_5_4/Zend/tests/traits/language013.phpt
Best regards
Stefan
--
Stefan Marr
Software Languages Lab
Vrije Universiteit Brussel
Pleinlaan 2 / B-1050 Brussels / Belgium
http://soft.vub.ac.be/~smarr
Phone: +32 2 629 2974
Fax: +32 2 629 3525