|
Posted by "Richard Lynch" on 11/15/05 19:40
On Tue, November 15, 2005 11:35 am, Richard Davey wrote:
> Tuesday, November 15, 2005, 4:34:28 PM, you wrote:
>> so how many people actually _need_ to write portable code? ok so
>> many you are starting a project which will become a runaway success
>> but until it starts receiving alot of attention use of
>> short-open-tags is probably not your biggest issue either.
>
> heh :) I have to admit I was thinking the same thing. I use short-tags
> and always enable them, I specifically like the <?=$blah alias.
>
> I cannot see any more security risks from allowing <? as from allowing
> <?php. If you're letting direct PHP code injection into your scripts,
> then you've got bigger things to worry about than if the hacker will
> use a short-tag or not!
I don't really mind about <? versus <?php, cuz I can cope either way.
I even find <?php a bit more readable, for some reason.
But I sure wish <?= would work even without short_tags on.
As I understand it, <? needed to go away because of XHTML, no?
But is <?= a valid beginning for XML/XHTML?
If not, why did it get lumped in with short_tags?
[shrug]
--
Like Music?
http://l-i-e.com/artists.htm
Navigation:
[Reply to this message]
|