Re: Location ....

From: Date: Fri, 30 Dec 2005 20:39:45 +0000
Subject: Re: Location ....
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-228045@lists.php.net to get a copy of this message
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

« previous php.general (#228045) next »