Richard Lynch wrote:
There may also be some fancy new way to output the whole stack of
functions called... I haven't really checked that out yet.
The function stack is printed by debug_backtrace(), isn't it? Supported
by PHP since 4.3.0.
Norbert
--
PHP General Mailing List (http://www.php.n
On 8/10/05, Georgi Ivanov <[EMAIL PROTECTED]> wrote:
> Hi,
> I have a db wrapper class.
> I use it like this :
> $db->query"(SQL HERE") or die ($db->error());
> Is there a way to display the line on which $db->error() is executed without
> doing die (__LINE__." ".$db->error() )?
http://us3.php.net
On Wed, August 10, 2005 8:10 am, Georgi Ivanov wrote:
> Hi,
> I have a db wrapper class.
> I use it like this :
> $db->query"(SQL HERE") or die ($db->error());
> Is there a way to display the line on which $db->error() is executed
> without
> doing die (__LINE__." ".$db->error() )?
Sure!
Use thes
From: Georgi Ivanov [mailto:[EMAIL PROTECTED]
> Thank you for the replay.
> I know i can pass __LINE to $db->error().
> This is not the idea. I want $db->error() to print the line
> on which it was
> executed .
> $parent::__LINE__
> Who is the $parent here ?
There isn't, necessarily. That was
Thank you for the replay.
I know i can pass __LINE to $db->error().
This is not the idea. I want $db->error() to print the line on which it was
executed .
$parent::__LINE__
Who is the $parent here ?
On Wednesday 10 August 2005 18:20, Mike Johnson wrote:
> From: Georgi Ivanov [mailto:[EMAIL PROT
From: Georgi Ivanov [mailto:[EMAIL PROTECTED]
> Hi,
> I have a db wrapper class.
> I use it like this :
> $db->query"(SQL HERE") or die ($db->error());
> Is there a way to display the line on which $db->error() is
> executed without
> doing die (__LINE__." ".$db->error() )?
> If i put __LINE__
6 matches
Mail list logo