Re: Getting current line from source code

From: Date: Mon, 31 Jul 2000 20:25:22 +0000
Subject: Re: Getting current line from source code
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-9264@lists.php.net to get a copy of this message
> > Is it possible to attach the line no. and filename (might be an include) > > to a message passed to die() ? > > die(sprintf("file: %s line: %s",__FILE__,__LINE__)); not really what i thought of as i wanted to use it to handle errors that occur within an object method. tks anyway! -- Grüße aus Weeze Jens Kisters rosomm et partner Holtumsweg 12 47652 Weeze Telefon: 0 28 37 - 96 23 73 http://www.rosomm-partner.de

« previous php.general (#9264) next »