Often times programmers try to take shortcuts when declaring PHP. Here are a few common ones:
<? echo "Hello world";?><?="Hello world"; ?><% echo "Hello world"; %> |
While these do save a few characters, all of these methods are depreciated and unofficial. Stick with the standard <?php ?> as it will be guaranteed to be supported in all future versions.
0 comments:
Post a Comment