Searched refs:escapeshellarg (Results 1 – 25 of 60) sorted by relevance
123
/php-src/ext/standard/tests/general_functions/ |
H A D | escapeshellarg_basic-win32.phpt | 2 Test escapeshellarg() function: basic test 10 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
|
H A D | escapeshellarg_basic-win32-mb.phpt | 2 Test escapeshellarg() function: basic test with UTF-8 strings 10 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
|
H A D | escapeshellarg_basic.phpt | 2 Test escapeshellarg() function: basic test 10 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
|
H A D | bug69646.phpt | 2 Bug #69646 OS command injection vulnerability in escapeshellarg() 13 var_dump( $a, escapeshellarg($a) ); 14 var_dump( $b, escapeshellarg($b) ); 27 …'TEST_PHP_EXECUTABLE_ESCAPED') . " " . escapeshellarg($script) . " " . escapeshellarg($a) . " " .…
|
H A D | escapeshellarg_bug71039.phpt | 2 Test escapeshellarg() string with \0 bytes 5 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')
|
H A D | escapeshellarg_variation1-win32.phpt | 2 Test escapeshellarg() function : usage variations - different data types as $arg arg 11 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 ***
|
H A D | escapeshellarg_variation1.phpt | 2 Test escapeshellarg() function : usage variations - different data types as $y arg 11 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 ***
|
H A D | escapeshellarg_bug71270.phpt | 2 Test escapeshellarg() allowed argument length 9 escapeshellarg($var_2);
|
H A D | proc_open_pipes2.phpt | 9 $callee = escapeshellarg(__DIR__ . "/proc_open_pipes_sleep.inc");
|
H A D | bug70018.phpt | 8 $test_fl_escaped = escapeshellarg($test_fl);
|
H A D | proc_open-mb1.phpt | 13 $f_escaped = escapeshellarg($f);
|
H A D | proc_open-mb0.phpt | 13 $f_escaped = escapeshellarg($f);
|
/php-src/ext/standard/tests/file/ |
H A D | bug22414.phpt | 23 …$cmd = $php_escaped . $args . ' -r ' . escapeshellarg("readfile(@getenv('TEST_PHP_EXECUTABLE'));"); 25 …$cmd = $php_escaped . $args . ' -r ' . escapeshellarg('passthru("'.$cmd.'");') . ' > '.escapeshell… 27 …scaped . $args . ' -r ' . "\"passthru('".addslashes($cmd)."');\"" . ' > '.escapeshellarg($tmpfile);
|
H A D | bug81145.phpt | 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));
|
/php-src/sapi/cli/tests/ |
H A D | bug44564.phpt | 2 Bug #44564 (escapeshellarg removes UTF-8 multi-byte characters) 13 var_dump(escapeshellarg('f~|;*Þ?')); 15 var_dump(escapeshellarg('aŊł€'));
|
H A D | 010.phpt | 16 $filename_escaped = escapeshellarg($filename); 18 $filename_txt_escaped = escapeshellarg($filename_txt);
|
H A D | bug62294.phpt | 7 exec($php . ' -n ' . escapeshellarg(__DIR__ . '/bug62294.inc'), $output, $exit_status);
|
H A D | bug65275.phpt | 7 exec($php . ' ' . escapeshellarg(__DIR__ . '/bug65275.inc'), $output, $exit_status);
|
H A D | argv_mb.phpt | 13 $argv_fl_escaped = escapeshellarg($argv_fl);
|
H A D | 010-2.phpt | 16 $filename_txt_escaped = escapeshellarg($filename_txt);
|
H A D | bug71624.phpt | 13 $filename_txt_escaped = escapeshellarg($filename_txt);
|
/php-src/ |
H A D | run-tests.php | 665 putenv("TEST_PHP_EXECUTABLE_ESCAPED=" . escapeshellarg($php)); 666 $environment['TEST_PHP_EXECUTABLE_ESCAPED'] = escapeshellarg($php); 669 putenv("TEST_PHP_CGI_EXECUTABLE_ESCAPED=" . escapeshellarg($php_cgi ?? '')); 670 $environment['TEST_PHP_CGI_EXECUTABLE_ESCAPED'] = escapeshellarg($php_cgi ?? ''); 673 putenv("TEST_PHPDBG_EXECUTABLE_ESCAPED=" . escapeshellarg($phpdbg ?? '')); 674 $environment['TEST_PHPDBG_EXECUTABLE_ESCAPED'] = escapeshellarg($phpdbg ?? ''); 678 $pass_options .= " -c " . escapeshellarg($conf_passed); 804 $php_escaped = escapeshellarg($php); 824 $php_cgi_escaped = escapeshellarg($php_cgi); 833 $phpdbg_escaped = escapeshellarg($phpdbg);
|
/php-src/ext/standard/tests/ini_info/ |
H A D | php_ini_loaded_file.phpt | 13 passthru($php.' -c '.escapeshellarg($inifile).' -r '.$code);
|
H A D | php_ini_scanned_files.phpt | 6 $php = sprintf('%s -c %s', getenv('TEST_PHP_EXECUTABLE_ESCAPED'), escapeshellarg($inifile));
|
/php-src/sapi/cgi/tests/ |
H A D | bug75574_utf8.phpt | 16 $php = escapeshellarg(get_cgi_path());
|
Completed in 30 milliseconds
123