Posts: 482 Location: Old folks home. Joined: 08.04.08 Rank: Moderate
Posted on 28-09-08 20:24
The server usually looks at the extension to see how to parse/compile it.
It doesn't just look at the "<? ?>" vs "<?php ?>" for example. Only would a web browser need that kind of identification difference.
"The definition of insanity is doing the same thing over and over again and expecting different results.”
Posts: Location: Joined: 01.01.70 Rank: Guest
Posted on 28-09-08 20:49
Nice catch... my pre-coffee post originally saw the question as being human perception, not server perception. Regardless, whether just habit or not, I find it easier to read the code when the tags are used as such:
While they may all be used with PHP at any given time, we really have to ask how much of an optimization we'd gain from using the alternatives to <?php ?>... as opposed to retaining the readability of various code.