blob: cbb3f6fcc48a179d31e81e6a1209a9668cb6a681 (
plain)
1
2
3
4
5
6
7
8
9
10
|
--TEST--
Test escapeshellarg() string with \0 bytes
--FILE--
<?php
escapeshellarg("hello\0world");
?>
===DONE===
--EXPECTF--
Fatal error: escapeshellarg(): Input string contains NULL bytes in %s on line %d
|