Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:267 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 89948 invoked from network); 25 Mar 2003 14:12:54 -0000 Received: from unknown (HELO secure.thebrainroom.com) (213.239.42.171) by pb1.pair.com with SMTP; 25 Mar 2003 14:12:54 -0000 Received: from zaneeb.brainnet.i (brain.dial.nildram.co.uk [195.149.29.154]) by secure.thebrainroom.com (8.9.3/8.9.3) with ESMTP id OAA30673; Tue, 25 Mar 2003 14:31:05 GMT Received: from zaneeb.brainnet.i (IDENT:ny8INJeX+0UH/hEmy/XhgomKfDfuSHQI@zaneeb.brainnet.i [127.0.0.1]) by zaneeb.brainnet.i (8.11.6/8.11.6) with ESMTP id h2PECqb28851; Tue, 25 Mar 2003 14:12:52 GMT Date: Tue, 25 Mar 2003 14:12:52 +0000 (GMT) X-X-Sender: wez@zaneeb.brainnet.i To: Jan Schneider cc: Edin Kadribasic , internals@lists.php.net In-Reply-To: <1048601472.59e8985fd82a3@jan.dip.ammma.net> Message-ID: References: <1048597006.bc7cd150f1bf1@jan.dip.ammma.net> <01c601c2f2ce$570b5360$3600000a@intra.proventum.net> <1048601472.59e8985fd82a3@jan.dip.ammma.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: Re: [PHP-DEV] __LINE__ != __LINE__? From: wez@thebrainroom.com (Wez Furlong) exit === die --Wez. On Tue, 25 Mar 2003, Jan Schneider wrote: > Quoting Edin Kadribasic : > > > > 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.