summaryrefslogtreecommitdiff
path: root/ext/standard/tests/general_functions/escapeshellcmd_bug71039.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/standard/tests/general_functions/escapeshellcmd_bug71039.phpt')
-rw-r--r--ext/standard/tests/general_functions/escapeshellcmd_bug71039.phpt6
1 files changed, 5 insertions, 1 deletions
diff --git a/ext/standard/tests/general_functions/escapeshellcmd_bug71039.phpt b/ext/standard/tests/general_functions/escapeshellcmd_bug71039.phpt
index 0a4d7eacff..7ce31fb8dd 100644
--- a/ext/standard/tests/general_functions/escapeshellcmd_bug71039.phpt
+++ b/ext/standard/tests/general_functions/escapeshellcmd_bug71039.phpt
@@ -7,4 +7,8 @@ escapeshellcmd("hello\0world");
?>
===DONE===
--EXPECTF--
-Fatal error: escapeshellcmd(): Input string contains NULL bytes in %s on line %d
+Fatal error: Uncaught TypeError: Input string contains NULL bytes in %s:%d
+Stack trace:
+#0 %s(%d): escapeshellcmd('hello\x00world')
+#1 {main}
+ thrown in %s on line %d