2
Test escapeshellcmd() functionality on Windows
5
if( substr(PHP_OS, 0, 3) != 'WIN' ) {
6
die('skip...Valid for Windows only');
11
echo "*** Testing escapeshellcmd() basic operations ***\n";
24
foreach ($data AS $value) {
25
echo "-- Test " . $count++ . " --\n";
26
var_dump(escapeshellcmd($value));
32
*** Testing escapeshellcmd() basic operations ***
40
string(14) "^(^)^[^]^{^}^$"
44
string(14) "^#^&^;^`^|^*^?"