Alex Rivera | Logout

<? or <?php --- is there any difference?

Asked 2010-07-27T13:35:29.820
12

Possible Duplicates:
Are PHP short tags acceptable to use?
What does “<?=” mean when seen in PHP

is there any difference in using <? ?> to signify a php block, or using <?php ?> ?

if there is not, why would anyone use <?php ?

figure the file extension of .php would give plenty of info about what type of code you are looking at.

Edit
Report

1 Answer

0

short tags <? ?> , only work in older php versions.

answered 2010-07-27T14:03:45.417

Your Answer