Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:268 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 90713 invoked from network); 25 Mar 2003 14:13:05 -0000 Received: from unknown (HELO jdi.jdimedia.nl) (212.204.192.51) by pb1.pair.com with SMTP; 25 Mar 2003 14:13:05 -0000 Received: from jdi.jdimedia.nl (jdi.jdimedia.nl [212.204.192.51]) by jdi.jdimedia.nl (8.12.4/8.12.4) with ESMTP id h2PED0MQ026546; Tue, 25 Mar 2003 15:13:00 +0100 Date: Tue, 25 Mar 2003 15:13:00 +0100 (CET) X-X-Sender: derick@jdi.jdimedia.nl 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: derick@php.net (Derick Rethans) 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. 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/ -------------------------------------------------------------------------