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 <klaussilve...@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 <klaussilve...@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> >> >> Without having to implement any slow-as-hell template language. It works >> right out of the box. Using MVC as an argument for tag removal is a clear >> disrespect to the language itself. >> -- Laruence Xinchen Hui http://www.laruence.com/ -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php