Re: Private patches in PHP CVS? [was Re: [ZEND-ENGINE-CVS] cvs: ZendEngine2(PHP_5_2) / zend_language_scanner.l]

From: Date: Fri, 10 Nov 2006 22:57:06 +0000
Subject: Re: Private patches in PHP CVS? [was Re: [ZEND-ENGINE-CVS] cvs: ZendEngine2(PHP_5_2) / zend_language_scanner.l]
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-26498@lists.php.net to get a copy of this message
Hello Edin, is it so hard to understand? Ok just kidding, it might not be obvious but as soon as you start to develop stuff that is supposed to run onboth 5 and 6 binary makesa bunch of things easier. Somehow like having var in 5 - only the other way round. best regards marcus Friday, November 10, 2006, 4:19:47 PM, you wrote: > Hi Derick, > Would this patch provide any benefits for people outside EZ corporation? > You seem to think that It wouldn't since you din't bother to ask the > rest of the PHP devs on internals. Could you please explain? > Edin > Derick Rethans wrote: >> derick Fri Nov 10 12:02:51 2006 UTC >> >> Modified files: (Branch: PHP_5_2) >> /ZendEngine2 zend_language_scanner.l >> Log: >> - Forward port the binary cast, which will do the same as the string cast in >> PHP 5.2. >> >> >> >> http://cvs.php.net/viewvc.cgi/ZendEngine2/zend_language_scanner.l?r1=1.131.2.11&r2=1.131.2.11.2.1&diff_format=u >> Index: ZendEngine2/zend_language_scanner.l >> diff -u ZendEngine2/zend_language_scanner.l:1.131.2.11 >> ZendEngine2/zend_language_scanner.l:1.131.2.11.2.1 >> --- ZendEngine2/zend_language_scanner.l:1.131.2.11 Thu Apr 13 13:48:28 2006 >> +++ ZendEngine2/zend_language_scanner.l Fri Nov 10 12:02:51 2006 >> @@ -19,7 +19,7 @@ >> +----------------------------------------------------------------------+ >> */ >> >> -/* $Id: zend_language_scanner.l,v 1.131.2.11 2006/04/13 13:48:28 dmitry Exp $ */ >> +/* $Id: zend_language_scanner.l,v 1.131.2.11.2.1 2006/11/10 12:02:51 derick Exp $ */ >> >> #define yyleng SCNG(yy_leng) >> #define yytext SCNG(yy_text) >> @@ -983,6 +983,10 @@ >> return T_STRING_CAST; >> } >> >> >> +<ST_IN_SCRIPTING>"("{TABS_AND_SPACES}"binary"{TABS_AND_SPACES}")" >> { >> + return T_STRING_CAST; >> +} >> + >> >> <ST_IN_SCRIPTING>"("{TABS_AND_SPACES}"array"{TABS_AND_SPACES}")" >> { >> return T_ARRAY_CAST; >> } >> >> Best regards, Marcus

« previous php.internals (#26498) next »