Searched refs:escapeshellarg (Results 1 – 24 of 24) sorted by relevance
2 Test escapeshellarg() function: basic test10 echo "Simple testcase for escapeshellarg() function\n";12 var_dump(escapeshellarg("Mr O'Neil"));13 var_dump(escapeshellarg("Mr O\'Neil"));14 var_dump(escapeshellarg("%FILENAME"));15 var_dump(escapeshellarg("!FILENAME"));16 var_dump(escapeshellarg(""));21 Simple testcase for escapeshellarg() function
2 Test escapeshellarg() function: basic test with UTF-8 strings10 echo "Simple testcase for escapeshellarg() function\n";12 var_dump(escapeshellarg("テストマルチバイ'ト・パス"));13 var_dump(escapeshellarg("測試多字\'節路徑"));14 var_dump(escapeshellarg("%füße"));15 var_dump(escapeshellarg("!шницель"));20 Simple testcase for escapeshellarg() function
2 Test escapeshellarg() function: basic test10 echo "Simple testcase for escapeshellarg() function\n";12 var_dump(escapeshellarg("Mr O'Neil"));13 var_dump(escapeshellarg("Mr O\'Neil"));14 var_dump(escapeshellarg("%FILENAME"));15 var_dump(escapeshellarg(""));20 Simple testcase for escapeshellarg() function
2 Test escapeshellarg() string with \0 bytes5 escapeshellarg("hello\0world");10 Fatal error: Uncaught ValueError: escapeshellarg(): Argument #1 ($arg) must not contain any null by…12 #0 %s(%d): escapeshellarg('hello\x00world')
2 Bug #69646 OS command injection vulnerability in escapeshellarg()13 var_dump( $a, escapeshellarg($a) );14 var_dump( $b, escapeshellarg($b) );27 $cmd = PHP_BINARY . " " . $script . " " . escapeshellarg($a) . " " . escapeshellarg($b);
2 Test escapeshellarg() allowed argument length7 escapeshellarg($var_2);12 Fatal error: escapeshellarg(): Argument exceeds the allowed length of %d bytes in %s on line %d
2 Test escapeshellarg() function : usage variations - different data types as $arg arg11 echo "*** Testing escapeshellarg() : usage variations ***\n";50 // loop through each element of $inputs to check the behaviour of escapeshellarg()54 var_dump(escapeshellarg($input));59 *** Testing escapeshellarg() : usage variations ***
2 Test escapeshellarg() function : usage variations - different data types as $y arg11 echo "*** Testing escapeshellarg() : usage variations ***\n";49 // loop through each element of $inputs to check the behaviour of escapeshellarg()53 var_dump(escapeshellarg($input));58 *** Testing escapeshellarg() : usage variations ***
2 Bug #44564 (escapeshellarg removes UTF-8 multi-byte characters)13 var_dump(escapeshellarg('f~|;*Þ?'));15 var_dump(escapeshellarg('aŊł€'));
29 $code = escapeshellarg($code);
27 $proc = proc_open("$php -n " . escapeshellarg($test_file), $desc, $pipes);
58 $code = escapeshellarg($code);
11 exec("fallocate -l " . (SIZE_4G-0x100) . " " . escapeshellarg($src), $output, $status);26 exec("fallocate -l " . (SIZE_4G-0x100) . " " . escapeshellarg($src));28 exec("fsutil file createnew " . escapeshellarg($src) . " " . (SIZE_4G-0x100));
23 passthru("rm -f " . escapeshellarg(__FILE__ . "_link1"));
31 passthru( "$php -n -q " . escapeshellarg( $test_file ) );
18 $cmd .= ' -n -dreport_zend_debug=0 -dhtml_errors=0 ' . escapeshellarg($GLOBALS['f']);
20 …exec('lsof -p ' . escapeshellarg(getmypid()) . ' 2> /dev/null', $out); // Note: valgrind can prod…
44 $pass_options .= " -d ".escapeshellarg($argv[++$i]);
60 …exec(get_icacls() . ' ' . __DIR__ . ' /setowner ' . escapeshellarg($user) . ' /T /L /Q /C > nul 2>…
494 PHP_FUNCTION(escapeshellarg) in PHP_FUNCTION() argument
1919 function escapeshellarg(string $arg): string {}
2526 ZEND_FUNCTION(escapeshellarg);3161 ZEND_FE(escapeshellarg, arginfo_escapeshellarg)
690 $pass_options .= " -c " . escapeshellarg($conf_passed);
Completed in 45 milliseconds