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: Date: Mon, 06 Mar 2006 08:03:28 +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-4681@lists.php.net to get a copy of this message
Sorry Derick But I didn't see mails with subject: "Labeled Break (nothing at all whatsoever to do withGOTO)" from you. I just rechecked my mail archive. May be I lost them. Thanks. Dmitry. > -----Original Message----- > From: Derick Rethans [mailto:derick@php.net] > Sent: Monday, March 06, 2006 10:26 AM > To: Dmitry Stogov > Cc: 'Marcus Boerger'; 'Andi Gutmans'; 'Rasmus Lerdorf'; > zend-engine-cvs@lists.php.net; 'Sara Golemon'; 'Edin Kadribasic' > 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 > > > On Mon, 6 Mar 2006, Dmitry Stogov wrote: > > > > But we are not Java and we don't want to be and we share > > > little Java syntax semantics. Actually only the keywords > > > 'interface' and 'final' and the fact that one has to specify > > > visibility for every member of a class. And all of those are > > > late additions to php in 5. For the rest of php we share c > > > syntax and semantics. Thus adding any of those strange java > > > workarounds makes out a very confusing php. Furthermore it > > > means that when adding some java syntax that exists in C/C++ > > > in a different way we head in a wrong direction. > > > > Reusing "break label" syntax with symantic that differ from > Java and > > other languages will confuse much more people. I am speaking about > > PDM's decision. And C++ hasn't "break label" syntax so nothing to > > confuse. > > > > We already discussed this patch and nobody except Zeev was > against it. > > I was... > > regards, > Derick > >

« previous php.zend-engine.cvs (#4681) next »