Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F12312515
D3777.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
D3777.diff
View Options
diff --git a/workspaces/src/includes/error.php b/workspaces/src/includes/error.php
--- a/workspaces/src/includes/error.php
+++ b/workspaces/src/includes/error.php
@@ -44,14 +44,16 @@
/**
* A callback method for the error handler, which throws exceptions on errors
*
- * @param int $errno the level of the error raised
- * @param string $errstr the error message
+ * @param int $errno the level of the error raised
+ * @param string $errstr the error message
* @param string $errfile the filename that the error was raised in
- * @param int $errline the line number the error was raised at
- * @param string $errcontext an array that points to the active symbol table at the point the error occurred
- * @return boolean true when the error has been handled ; otherwise, false, to let the normal error handler continues.
+ * @param int $errline the line number the error was raised at
+ *
+ * @return boolean true when the error has been handled ; otherwise, false,
+ * to let the normal error handler continues.
+ * @throws \ErrorException
*/
-function throwExceptionErrorHandler ($errno, $errstr, $errfile, $errline, array $errcontext) {
+function throwExceptionErrorHandler (int $errno, string $errstr, string $errfile, int $errline) : bool {
if (error_reporting() === 0) {
return false;
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Oct 22, 23:57 (14 h, 47 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3097473
Default Alt Text
D3777.diff (1 KB)
Attached To
Mode
D3777: Update user-defined error handler signature for PHP 8
Attached
Detach File
Event Timeline
Log In to Comment