diff options
author | Nikita Popov <nikita.ppv@gmail.com> | 2019-01-30 15:54:35 +0100 |
---|---|---|
committer | Nikita Popov <nikita.ppv@gmail.com> | 2019-02-05 14:12:10 +0100 |
commit | 2f1f34952e9a0dfb3adcbec82ba69f4ac82b3a3d (patch) | |
tree | e0c10c3a43759b2ca0d4130d896e1d74fb5f3887 /ext/posix | |
parent | 790798f61e46e71775f5b4bce521c0f33b914399 (diff) | |
download | php-git-2f1f34952e9a0dfb3adcbec82ba69f4ac82b3a3d.tar.gz |
Remove $errcontext argument to error handlers
I'm removing the argument entirely here, but we might want to change
this to passing null or and empty array instead, if the impact of
dropping it entirely turns out to be too large.
This was deprecated as part of https://wiki.php.net/rfc/deprecations_php_7_2
as a doc-only deprecation.
Diffstat (limited to 'ext/posix')
-rw-r--r-- | ext/posix/tests/posix_ttyname_variation6.phpt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/posix/tests/posix_ttyname_variation6.phpt b/ext/posix/tests/posix_ttyname_variation6.phpt index eecae6769e..691c5eea7e 100644 --- a/ext/posix/tests/posix_ttyname_variation6.phpt +++ b/ext/posix/tests/posix_ttyname_variation6.phpt @@ -18,7 +18,7 @@ echo "*** Test substituting argument 1 with object values ***\n"; -function test_error_handler($err_no, $err_msg, $filename, $linenum, $vars) { +function test_error_handler($err_no, $err_msg, $filename, $linenum) { if (error_reporting() != 0) { // report non-silenced errors echo "Error: $err_no - $err_msg, $filename($linenum)\n"; |