Right, but at the moment something like:

<?$this->that;?>

... works. i.e. no whitespace after the opening tag.

Changing this would most likely break a fair amount of code.

Glen.

Evert | Filemobile wrote:
>
> On 13-Apr-09, at 4:06 PM, Stanislav Malyshev wrote:
>
>> Hi!
>>
>>> Thats 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.
>
> I think the parser should look ahead and check for something like :
>
> /<?(php|[\w])
>
> (either <?php or <? + linebreaks/whitespace).
>
> Evert

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to