Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

<?= or <?php any difference? 1

Status
Not open for further replies.

JohnnyT

Programmer
Jul 18, 2001
167
GB
Hi,
I'm currently developing a website based on Wordpress and I've noticed a few times in the scripts that the author has used <?= instead of <?php

Is there any reason for this? Is there any differences between the two?

Also, while I've got someone's attention who knows what they're doing.. what about <? (i.e. with the 'php').

Which is the best way to 'open' php code?

Thanks for any light you can shed on this for me.

Cheers

John ;-)

I don't make mistakes, I'm merely beta-testing life.
 
feherke,

Many thanks for the link. That explains it all brilliantly and succinctly.

Thanks again

John ;-)

I don't make mistakes, I'm merely beta-testing life.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top