Re: __LINE__ != __LINE__?

From: Date: Tue, 25 Mar 2003 14:13:00 +0000
Subject: Re: __LINE__ != __LINE__?
References: 1 2 3  Groups: php.internals 
Request: Send a blank email to internals+get-268@lists.php.net to get a copy of this message
On Tue, 25 Mar 2003, Jan Schneider wrote: > Quoting Edin Kadribasic <edink@proventum.net>: > > > > Current HEAD: > > > > > > die("line: " . __LINE__) works as expected, but die(__LINE__) > > doesn't output > > > anything. > > > > That's because die(int) will set exit status and not print anything. > > die(string) prints string and exits. > > Hm, that should perhaps be added to the manual. According to the user notes > the same applies to exit. File a documentation bug for this? Derick -- "my other box is your windows PC" ------------------------------------------------------------------------- Derick Rethans http://derickrethans.nl/ PHP Magazine - PHP Magazine for Professionals http://php-mag.net/ -------------------------------------------------------------------------

« previous php.internals (#268) next »