RE: [ZEND-ENGINE-CVS] cvs: ZendEngine2 / zend_compile.c zend_compile.hzend_globals.h zend_language_parser.y /tests break_label01.phpt
break_label02.phptbreak_label03.phpt break_label04.phpt break_label05.phpt break_label06.phpt
| From: | Dmitry Stogov | Date: | Sun, 05 Mar 2006 10:46:38 +0000 |
| Subject: | RE: [ZEND-ENGINE-CVS] cvs: ZendEngine2 / zend_compile.c zend_compile.hzend_globals.h zend_language_parser.y /tests break_label01.phpt break_label02.phptbreak_label03.phpt break_label04.phpt break_label05.phpt break_label06.phpt |
||
| References: | 1 | Groups: | php.zend-engine.cvs |
| Request: | Send a blank email to php-zend-engine-cvs+get-4669@lists.php.net to get a copy of this message | ||
Guys,
The committed patch was posted into @iternals and discussed at December or
January. It is not based on PDM's decision, and have nothing common with
goto semantic.
THE PATCH REUSES JAVA SYNTAX AND SYMANTIC.
I don't undrstend how do you like to use the same syntax for something else
and think that it will less confusing. Not only Java uses simular syntas and
symantic, I know that ADA uses near the same, and probably some othr
languages too.
The main idea of this patch is simplification of code maintanability. In
case of many nested loops you can easly insert new loop spmewere inside and
then not to update each break statement.
I am already developing real goto patch, that will able to reuse same
labels. And having two different syntaxes for label is stupid.
Thanks. Dmitry.