fubowl Posted August 23, 2007 Share Posted August 23, 2007 Where do you enable the following shortcuts within php... <? instead of <?php && <?=$var1?> instead of <?php echo $var1 ?> Thanks. Link to comment https://forums.phpfreaks.com/topic/66343-php-shortcuts/ Share on other sites More sharing options...
Fjerpje Posted August 23, 2007 Share Posted August 23, 2007 hi there, Those are short open tags. But its best to write the full code down to avoid any errors. Link to comment https://forums.phpfreaks.com/topic/66343-php-shortcuts/#findComment-331886 Share on other sites More sharing options...
tibberous Posted August 23, 2007 Share Posted August 23, 2007 I never use them, just because I think they are a setting in the config file that could conceivably turned off. If they were to do it again, I think they should have used <? instead of <?php, but not that <?php is what you always see, I think <? kind of looks like asp. Link to comment https://forums.phpfreaks.com/topic/66343-php-shortcuts/#findComment-331897 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.