summaryrefslogtreecommitdiff
path: root/ext/pcntl/tests
diff options
context:
space:
mode:
authorSATO Kentaro <kentaro@ranvis.com>2019-12-18 04:03:42 +0900
committerNikita Popov <nikita.ppv@gmail.com>2019-12-20 11:02:20 +0100
commitcbb0efaeeb265ff8026dee1d049d57a8d2b5c133 (patch)
treee174bf05d5791d77681a1542bc8242063a1d8f74 /ext/pcntl/tests
parenteb846939b1ecc45fbc4898f4234fea128e8f9551 (diff)
downloadphp-git-cbb0efaeeb265ff8026dee1d049d57a8d2b5c133.tar.gz
Fix #78402: pcntl_signal() misleading error message
An error message can be misleading when a handler passed to pcntl_signal() is not callable.
Diffstat (limited to 'ext/pcntl/tests')
-rw-r--r--ext/pcntl/tests/pcntl_signal.phpt2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/pcntl/tests/pcntl_signal.phpt b/ext/pcntl/tests/pcntl_signal.phpt
index a6441935c1..953ff54eef 100644
--- a/ext/pcntl/tests/pcntl_signal.phpt
+++ b/ext/pcntl/tests/pcntl_signal.phpt
@@ -42,6 +42,6 @@ bool(false)
Warning: pcntl_signal(): Invalid signal %s
bool(false)
-Warning: pcntl_signal(): not callable is not a callable function name error in %s
+Warning: pcntl_signal(): Specified handler "not callable" is not callable (%s) in %s
bool(false)
ok