On Fri, 26 Apr 2002, Gabriel Ricard wrote:
> Why are short tags (<? ?> and <% %>) such a bad thing?

They aren't really bad.  It's just that they are optional and if you
distribute your code to run on someone else's PHP setup they may be turned
off.  If you have full control over your PHP setup anywhere the code you
write will run, then using these tags is perfectly fine.

> Why does the PHP formatting (tags) matter in terms of SGML & XML?

It rarely does, but people worry that they may want to pass a PHP file
through an XML parser or that they want to pass raw XHTML files through
the PHP parser.  In these cases it would matter.

-Rasmus


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

Reply via email to