Re: Re: Is it true that short_open_tag is deprecated in PHP 6?
| From: | Evert | Filemobile | Date: | Mon, 13 Apr 2009 21:34:15 +0000 |
| Subject: | Re: Re: Is it true that short_open_tag is deprecated in PHP 6? | ||
| References: | 1 2 3 4 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-43685@lists.php.net to get a copy of this message | ||
On 13-Apr-09, at 4:06 PM, Stanislav Malyshev wrote:
Hi!I think the parser should look ahead and check for something like : /<?(php|[\w]) (either <?php or <? + linebreaks/whitespace). EvertThats because with short_open_tags on, you need to use: <?php echo('<?xml ... ?>'); ?>It's a pretty small use case (that's a problem only if you have xml documents which has to have php code which has to be inlined) and as you see, can be easily handled. I think that should not make whole very useful syntax deprecated.