From cbb0efaeeb265ff8026dee1d049d57a8d2b5c133 Mon Sep 17 00:00:00 2001 From: SATO Kentaro Date: Wed, 18 Dec 2019 04:03:42 +0900 Subject: Fix #78402: pcntl_signal() misleading error message An error message can be misleading when a handler passed to pcntl_signal() is not callable. --- ext/pcntl/tests/pcntl_signal.phpt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext/pcntl/tests') 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 -- cgit v1.2.1