Hi All,
My first post here. :-)
Just started using PHP_5_3 for a development project. It's a fairly long
project so 5.3 should be out before it's finished.
My reason for using PHP_5_3 was for late static binding (been longing
for this feature).
While using 5.3 I also get to test the development version of PHP and
hopefully provide feedback, or ask questions.
So on with my question.
I see there was a patch added to CVS 2 days ago which added the T_GOTO
token. This has since broken the Zend Framework for me as they're using
the goto keyword on some of their objects.
I thought it was version PHP 6 that was adding the goto operator.
Does anyone know the state of things for the goto keyword and PHP 5.3?
Thanks
/James
I see there was a patch added to CVS 2 days ago which added the
T_GOTO
token. This has since broken the Zend Framework for me as they're using the
goto keyword on some of their objects.I thought it was version PHP 6 that was adding the goto operator.
Been discussed on this list that certain HEAD (php6) features should
be backported to 5_3
Does anyone know the state of things for the goto keyword and PHP 5.3?
See
http://marc.info/?l=php-internals&w=2&r=1&s=Backporting+to+5_3&q=b
That should answer your questions :)
D
David Coallier wrote:
See
http://marc.info/?l=php-internals&w=2&r=1&s=Backporting+to+5_3&q=b
As far as I know (and I was following that conversation), there was no
discussion about the new goto keyword conflicting with existing code.
--
Edward Z. Yang GnuPG: 0x869C48DA
HTML Purifier http://htmlpurifier.org Anti-XSS Filter
[[ 3FA8 E9A9 7385 B691 A6FC B3CB A933 BE7D 869C 48DA ]]