note 8775 modified in set_error_handler by ronabop

From: Date: Sun, 01 Oct 2000 08:55:34 +0000
Subject: note 8775 modified in set_error_handler by ronabop
Groups: php.notes 
Request: Send a blank email to php-notes+get-5777@lists.php.net to get a copy of this message
A quote from Zeev Suraski: "The CVS version (scheduled for 4.0.2) of the function has been enhanced: - The error handler accepts three additional arguments - the filename in which the error occured, the line number in which the error occured, and the context of the in which the error occured (a hash that points to the active symbol table at the place of the error)." So, you can now do this: function myErrorHandler ($errno, $errstr, $errfile, $errline, $errcontext) {...} http://www.php.net/manual/function.set-error-handler.php

« previous php.notes (#5777) next »