Quote:
Originally Posted by mcrabben7
<?php is for PHP 4 and before, if I remember properly. <? should work fine on all newer versions.
I guess <?php is better coding style, but it should still work on PHP 5 afaik.
|
From php.ini:
Quote:
; Allow the <? tag. Otherwise, only <?php and <script> tags are recognized.
; NOTE: Using short tags should be avoided when developing applications or
; libraries that are meant for redistribution, or deployment on PHP
; servers which are not under your control, because short tags may not
; be supported on the target server. For portable, redistributable code,
; be sure not to use short tags.
short_open_tag = On
|
Code <?php is only 100% working with PHP (from version 3).