Re: Getting current line from source code

From: Date: Sun, 30 Jul 2000 17:31:59 +0000
Subject: Re: Getting current line from source code
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-9066@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__)); > Is it poosible to trace an error that occured within a function to the > script / line it was called from? No, not really. At least not yet. -Rasmus

« previous php.general (#9066) next »