Re: [PHP] trigger error and set error handling in an object

2003-04-04 Thread Pete James
From a class I wrote... -- snip -- // hack to work around the inability to use a method as // a callback for the set_error_handler function // NOTE: if you forget the '&', then all of the settings // to class properties will be lost $GLOBALS['_ERROR_HA

[PHP] trigger error and set error handling in an object

2003-04-02 Thread Dan Rossi
hi guys i am having an issue getting a set error handler to get a function within a class, i am also having problems trying to trigger the error, i dont want fatals or the error handler wont catch it anyway , but user or message picks up annoying messages like undefined index on variable , how can