> sorry is there a way to do this in php3 ? my work currently only has php3
,
> where i am upgrading it for them soon, this is a bummer, i soughta wanna
> catch errors and show the line and file in the error too
Nope... it's 4.0.1 and higher only. UPGRADE!! :)
---John Holmes...
--
PHP General
, January 29, 2003 4:51 AM
To: 'electroteque'; [EMAIL PROTECTED]
Subject: RE: [PHP] set_error_handler inside a class
> hi guys how is ti possible to do a set_error_handler within a class so
it
> will trigger the callback function and so will be able to return the
line
> and
> hi guys how is ti possible to do a set_error_handler within a class so
it
> will trigger the callback function and so will be able to return the
line
> and file in the message ?
You'd set it just like you would anywhere else in your code.
If you want the callback function to be a method in you
3 matches
Mail list logo