|
Posted by "Richard Lynch" on 12/30/05 22:39
On Fri, December 30, 2005 2:16 pm, Robert Cummings wrote:
>> Similarly, watch out for BLANK LINES after the last ?> in your
>> files.
>>
>> They will trip you up for header()
>
> Regarding that last ?> in scripts, the PHP engine intentionally
> supports
> it's omission so that you don't have to think about whether there's an
> invisible trailing space after it.
I'm old.
In PHP 3.0, it would mess you up.
Particularly fun was the EMACS setting that automagically added a
newline for any text file you edited that didn't have one at the
end...
*THAT* sure caused a lot of "fun" on this list back in the day. :-)
Old habits die hard.
Plus, somewhere, I probably have a PHP 3.0 install still running on
some old box... Not tied directly to the 'net nor in production, but
still... :-)
--
Like Music?
http://l-i-e.com/artists.htm
[Back to original message]
|