summaryrefslogtreecommitdiff
path: root/ext/standard/tests/general_functions/escapeshellcmd_bug71039.phpt
blob: 0a4d7eacff209fffbe6ae02b0e960fbf34428bbf (plain)
1
2
3
4
5
6
7
8
9
10
--TEST--
Test escapeshellcmd() string with \0 bytes
--FILE--
<?php
escapeshellcmd("hello\0world");

?>
===DONE===
--EXPECTF--
Fatal error: escapeshellcmd(): Input string contains NULL bytes in %s on line %d