Ryan A wrote:
Hey all,
Am a bit confused, from the time I learnt PHP (big thanks to this list for
helping me) I have used something like this
?php echo $something; ?
but when reading someone elses code I sometimes stumble accross this:
?php=something?
is this 100% valid php?
I have not found it in
Yeah - it is valid. It is a short hand method for doing what you are
doing. I don't know if it is in the manual, but it is in the
certification guide.
Respectfully,
Ligaya Turmelle
---
Life is a game... so have fun.
---
www.PHPCommunity.org
Open Source, Open Community
Visit for more
?= $string ?
means the same as
?php echo $string ?
if short_open_tag is on
**
It's perfectly valid PHP, I use it all the time on my own sites, but
because it's
one of those php.ini settings you have a 50/50 chance of
finding on (or off!) you shouldn't rely on it unless you know the
* Marek Kilimajer [EMAIL PROTECTED]:
Ryan A wrote:
Hey all,
Am a bit confused, from the time I learnt PHP (big thanks to this list for
helping me) I have used something like this
?php echo $something; ?
but when reading someone elses code I sometimes stumble accross this:
4 matches
Mail list logo