> -----Original Message-----
> From: Bas Jobsen [mailto:[EMAIL PROTECTED]
> Sent: 16 June 2003 14:39
> 
> > I'm not sure that there is a way beyond this to show the 
> line within the
> > function but I don't see that this would be necessary - at 
> least not for
> > resolving errors.
> 
> i'm building a class for html table, will give you a short 
> example (see 
> below).
> Running testtable.php will produce "Error: you can't open a 
> new table on line 
> 13 on file /home/table.php", but i will get "line 7 on 
> testtable.php" cause 
> the wrong function is call there.

If you're running PHP 4.3.0 or later, there's http://www.php.net/debug_backtrace which 
might help.

Cheers!

Mike

---------------------------------------------------------------------
Mike Ford,  Electronic Information Services Adviser,
Learning Support Services, Learning & Information Services,
JG125, James Graham Building, Leeds Metropolitan University,
Beckett Park, LEEDS,  LS6 3QS,  United Kingdom
Email: [EMAIL PROTECTED]
Tel: +44 113 283 2600 extn 4730      Fax:  +44 113 283 3211 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to