Re: [PHP-DEV] RFC: Removing PHP tags
Laruence <laruence <at> php.net>
2012-04-01 02:38:14 GMT
Hi:
sorry for say that, but the only benifit I can see, is save 5+ characters...
thanks
On Sun, Apr 1, 2012 at 10:31 AM, Klaus Silveira <klaussilveira <at> php.net> wrote:
> What many people fail to see is that PHP is it's own templating language.
> It might be ugly for people used to other template languages, but it works
> perfectly and right out of the box.
>
> On Sat, Mar 31, 2012 at 11:24 PM, Klaus Silveira <klaussilveira <at> php.net>wrote:
>
>> Removing PHP's native feature of being able to be easily embedded inside
>> HTML and other markup languages is absolutely retrograde. Of of the biggest
>> points in favor of PHP is that i'm able to easily do this:
>>
>> <ul>
>> <?php foreach ($stuff as $item): ?>
>> <li><?php echo $item ?></li>
>> <?php endforeach; ?>
>> </ul>
>>
>> Or this:
>>
>> <?xml version="1.0" ?>
>> <store>
>> <?php foreach ($stuff as $item): ?>
>> <product><?php echo $item ?></product>
>> <?php endforeach; ?>
>> </store>
(Continue reading)