php error handler to throw exceptions.
It works !