Private patches in PHP CVS? [was Re: [ZEND-ENGINE-CVS] cvs: ZendEngine2(PHP_5_2) / zend_language_scanner.l]
| From: | Edin Kadribasic | Date: | Fri, 10 Nov 2006 15:19:47 +0000 |
| Subject: | Private patches in PHP CVS? [was Re: [ZEND-ENGINE-CVS] cvs: ZendEngine2(PHP_5_2) / zend_language_scanner.l] | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-26469@lists.php.net to get a copy of this message | ||
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;
> }
>
>