Re: [PHP4BETA] php3 parser compatibility
| From: | Zeev Suraski | Date: | Fri, 14 May 1999 10:44:03 +0000 |
| Subject: | Re: [PHP4BETA] php3 parser compatibility | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-846@lists.php.net to get a copy of this message | ||
On Fri, 14 May 1999, Sascha Schumann wrote:
> Hello all,
>
> it appears to me that the following features of PHP3 are not covered in the
> PHP4 scanner:
>
> <DOUBLE_QUOTES,BACKQUOTE>"\\"[0-7]{1,3} {
> phplval->value.chval = (char) strtol (yytext+1, NULL, 8);
> return CHARACTER;
> }
>
> <DOUBLE_QUOTES,BACKQUOTE>"\\x"[0-9A-Fa-f]{1,2} {
> phplval->value.chval = (char) strtol (yytext+2, NULL, 16);
> return CHARACTER;
> }
>
> These features are very useful, I would not like to see them dropped.
In fact they are, but PHP 4.0 has additional rules for quoted strings
which indeed don't cover these. I'll look into covering them there as
well.
Zeev
--
-----------------------------------------------------
Zeev Suraski <zeev@zend.com>
For a PGP public key, finger bourbon@netvision.net.il
--
PHP 4 Beta