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 07:26:06 +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 [email protected] to get a copy of this message
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


Thread (28 messages)

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