* Thus wrote Jason Barnett:
> I haven't done it (what's the point since I'm a Windows user lol), but 
> you can change the default error handler.  If it's error messages at the 
> bottom of HTML pages you want then just choose appropriate HTML elements 
> you need to align a message at the bottom of your page.
> 
> http://php.net/function.set-error-handler

And to demonstrate this:

class EHandler {

  // the method to collect the errors
  public function accept(...) {}

  // the method to show the errors
  public function display() {}
}

$eh = new EHandler();
set_error_handler(array($eh, 'accept'));

// do stuff that causes errors, notices or warnings
// ...


$eh->display();


Curt
-- 
Quoth the Raven, "Nevermore."

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

Reply via email to