Jump to content

<?php or <?


AndrewRy

Recommended Posts

it's merely preference.  it's better to be in the habit of using <?php, as this will always work.  <? will only work when the setting in php.ini (i think it's something like allow_shorttags) is enabled; otherwise, you'd have to go back and change all those tags if you end up on a host that doesn't enable the setting.
Link to comment
https://forums.phpfreaks.com/topic/14699--/#findComment-58647
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.