short tag terms, must have it enabled to work. Dont use them as some servers dont support or have them turned on. Always make your scripts as cross-server compatible as possible.
What qrpike said, never use them. I used to, until I had to move a website to another server that didn't support them. They will be gone by the time PHP 6 arrives as well.
It's a short form of echo. For example if you did: <?=$myVar?> PHP: It would output the value of $myVar. It is however deprecated so I don't recommend you use it.
Hi, Before writing anymore I Suggest you that, you don't use that style for writing some code with php <? $a = 4; echo $a; ?> Because this tag style is the very simple that follows the style of a Standard Generalized Markup Language (SGML) processing instruction.when you use that style you must,open/enable short_open_tag setting in your config file or compile PHP with short tags enabled. then you must use like, <?php $a = 4; echo $a; ?> that's Style we use follow from XML Style.
As previously mentioned, short tags are not good! They are very commonly a cause of incompatibility between servers. In very basic terms, always open and close tags in the standard format of open: <?php close: ?> This way you can be sure that a) It will work on all PHP enabled servers, and b) It will never be superseded.. As this is the standard PHP tag format. Chuckun