|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| ||||||||||||||||||||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
This may be a stupid question but....
What does it mean/do when you open php tags like PHP Code:
Instead of the standard PHP Code:
Came across it today. Thanks. |
|
#2
|
||||
|
||||
|
PHP Code:
Is the same as: PHP Code:
but you should not use it because it is disabled by default and is therefore likely to cause portability problems with your code. |
|
#3
|
|||
|
|||
|
Thanks.
I personally would never use it. I came across it in the Wordpress files. They use is sparingly it seems. |
|
#4
|
||||
|
||||
|
It's considered a "shortcut" and is generally bad practice. It's still valid, and most people have it turned on, but if you forget to turn it on when you migrate to a new host you'll run into problems.
It also leads to the combination of shortcuts, like: PHP Code:
__________________
"They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety." -Benjamin Franklin "The greatest tragedy of this changing society is that people who never knew what it was like before will simply assume that this is the way things are supposed to be." -2600 Magazine, Fall 2002 Think we're being rude? Please read this. Trying to argue intelligently? Please read this. |
![]() |
| Viewing: Dev Shed Forums > Programming Languages > PHP Development > What does this mean |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|