Posted by Jensen Somers on 09/15/07 19:16
On Sat, 15 Sep 2007 10:34:45 -0700, varois83 wrote:
> Hi
>
> I am just starting with PHP. I am reading a PHP 5 book and they say to
> not use short tags and to actually disable them so I see an error
> message if I don't form my tags correctly. "short_open_tag" is currently
> set to "on", shall I set it to "off"? I am not planning on using short
> tags.
Short tags can conflict with XML. It's always a good coding practice to
try to follow a standard, like the PEAR (pear.php.net) coding standards.
You can find some explanation on the following page:
http://www.sitepoint.com/blogs/2007/05/25/good-and-bad-php-code/
>
> Thanks a lot
>
> Patrick
- Jensen
[Back to original message]
|