Working on php error handler
Finishing error handler