PHP set_error_handler wierdism with $this
June 16th, 2006
Note, if you are setting an error handler for a class method within your own object, such as
you will effectively make your current object global in scope. Thus, it will only pass out of scope when the script exits or the object manually unset. As a result the deconstructor of your object will not be called. This can be a problem if in your deconstructor you call restore_error_handler.
Array( $this, 'error_handler')
add to del.icio.us
add to technorati favs
email this