|
Posted by Scott on 04/17/06 04:07
On Mon, 2006-04-17 at 00:13 +0100, Paul Lautman wrote:
> I often see the former starting delimiter rather than the latter. Is there
> some rule about where the former can be used?
>
>
There is a setting in your php.ini file called short_open_tags. If it
is enabled, you can use <? instead of <?php. However, because xml also
uses the short tag <?, and for compatibility with different servers, it
is generally recommended that you use the longer <?php tag.
http://www.php.net/manual/en/ini.core.php#ini.short-open-tag
Scott
Navigation:
[Reply to this message]
|