Re: Line Number function?

From: Date: Sun, 02 Feb 2003 07:29:23 +0000
Subject: Re: Line Number function?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-133969@lists.php.net to get a copy of this message
On Sat, 1 Feb 2003 19:59:00 -0800, you wrote: >PHP keeps track of what line# is being executed, so that when there's an >error (say in pg_exec() ) it reports what line the error occured on. [...] >Is there a function where I can access this information? Something like >"get_line();" or something? Do you mean like the predefined "constant" __LINE__? http://www.php.net/manual/en/language.constants.predefined.php Sorry if I'm misunderstanding the question...

« previous php.general (#133969) next »