nightshades Posted April 19, 2008 Share Posted April 19, 2008 sorry it seems a newbie question but I see people in my company still using <?= is it standard in php 5? Link to comment https://forums.phpfreaks.com/topic/101830-newbie-question-about/ Share on other sites More sharing options...
xiao Posted April 19, 2008 Share Posted April 19, 2008 What does it do? Print text like in ASP or just start the script? (just wondering) Link to comment https://forums.phpfreaks.com/topic/101830-newbie-question-about/#findComment-521083 Share on other sites More sharing options...
nightshades Posted April 19, 2008 Author Share Posted April 19, 2008 its instead of <?php echo $value ?> <?= $value ?> Link to comment https://forums.phpfreaks.com/topic/101830-newbie-question-about/#findComment-521085 Share on other sites More sharing options...
haku Posted April 19, 2008 Share Posted April 19, 2008 It's shorthand, but its recommended against as it only works if a server is configured to use it. If your host suddenly changes your settings, or if you move to another server, it could stop working. <?php tags work everywhere always (if the server has php on it) and as such is recommended. Link to comment https://forums.phpfreaks.com/topic/101830-newbie-question-about/#findComment-521089 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.