Re: short_open_tag
| From: | Marcus Boerger | Date: | Fri, 21 Mar 2008 19:44:58 +0000 |
| Subject: | Re: short_open_tag | ||
| References: | 1 2 3 4 5 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-36267@lists.php.net to get a copy of this message | ||
Hello Stanislav,
Friday, March 21, 2008, 8:37:18 PM, you wrote:
>> I'd rather see <?php= than having this whole "short_open_tag" thing at
>> all.
> Does <?php= work? I though echo shortcut works only with short tags.
> <?php= is not much worse than <?= so it'd be OK with me. Downside would
> be template systems couldn't use it until 5.3 is widely deployed - which
> means no template system can use it as standard for about 2-3 years at
> least. Unless we put <?php= in 5.2, which would make me a happy camper,
> but might be a trouble for others.
The problem with '<?php=' is that it still doesn't work with XML tools.
However the '<?echo' I mentioned would work. We could also go for something
like '<?phpecho'. I for one would really appreciate it. And I would not
mind adding that to 5.2 if that makes you happy. But I care to less for it
to be available tomorrow.
Best regards,
Marcus