Home
last modified time | relevance | path

Searched refs:escapeshellarg (Results 1 – 23 of 23) sorted by relevance

/PHP-7.2/ext/standard/tests/general_functions/
H A Descapeshellarg_error.phpt2 Test escapeshellarg() function : error conditions - wrong numbers of parameters
6 /* Prototype : string escapeshellarg ( string $arg )
15 echo "*** Testing escapeshellarg() : error conditions ***\n";
18 echo "\n-- Testing escapeshellarg() function with no arguments --\n";
19 var_dump( escapeshellarg() );
24 var_dump( escapeshellarg($arg, $extra_arg) );
33 var_dump( escapeshellarg($arg));
37 var_dump( escapeshellarg($fp));
42 var_dump( escapeshellarg($arg));
47 *** Testing escapeshellarg() : error conditions ***
[all …]
H A Descapeshellarg_basic-win32.phpt2 Test escapeshellarg() function: basic test
10 /* Prototype : string escapeshellarg ( string $arg )
16 echo "Simple testcase for escapeshellarg() function\n";
18 var_dump(escapeshellarg("Mr O'Neil"));
19 var_dump(escapeshellarg("Mr O\'Neil"));
20 var_dump(escapeshellarg("%FILENAME"));
21 var_dump(escapeshellarg("!FILENAME"));
22 var_dump(escapeshellarg(""));
27 Simple testcase for escapeshellarg() function
H A Descapeshellarg_basic-win32-mb.phpt2 Test escapeshellarg() function: basic test with UTF-8 strings
10 /* Prototype : string escapeshellarg ( string $arg )
16 echo "Simple testcase for escapeshellarg() function\n";
18 var_dump(escapeshellarg("テストマルチバイ'ト・パス"));
19 var_dump(escapeshellarg("測試多字\'節路徑"));
20 var_dump(escapeshellarg("%füße"));
21 var_dump(escapeshellarg("!шницель"));
26 Simple testcase for escapeshellarg() function
H A Descapeshellarg_basic.phpt2 Test escapeshellarg() function: basic test
10 /* Prototype : string escapeshellarg ( string $arg )
16 echo "Simple testcase for escapeshellarg() function\n";
18 var_dump(escapeshellarg("Mr O'Neil"));
19 var_dump(escapeshellarg("Mr O\'Neil"));
20 var_dump(escapeshellarg("%FILENAME"));
21 var_dump(escapeshellarg(""));
26 Simple testcase for escapeshellarg() function
H A Dbug69646.phpt2 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);
H A Descapeshellarg_bug71039.phpt2 Test escapeshellarg() string with \0 bytes
5 escapeshellarg("hello\0world");
10 Fatal error: escapeshellarg(): Input string contains NULL bytes in %s on line %d
H A Descapeshellarg_bug71270.phpt2 Test escapeshellarg() allowed argument length
7 escapeshellarg($var_2);
12 Fatal error: escapeshellarg(): Argument exceeds the allowed length of %d bytes in %s on line %d
H A Descapeshellarg_variation1-win32.phpt2 Test escapeshellarg() function : usage variations - different data types as $arg arg
11 /* Prototype : string escapeshellarg ( string $arg )
16 echo "*** Testing escapeshellarg() : usage variations ***\n";
69 // loop through each element of $inputs to check the behaviour of escapeshellarg()
73 var_dump(escapeshellarg($input));
79 *** Testing escapeshellarg() : usage variations ***
H A Descapeshellarg_variation1.phpt2 Test escapeshellarg() function : usage variations - different data types as $y arg
11 /* Prototype : string escapeshellarg ( string $arg )
16 echo "*** Testing escapeshellarg() : usage variations ***\n";
69 // loop through each element of $inputs to check the behaviour of escapeshellarg()
73 var_dump(escapeshellarg($input));
79 *** Testing escapeshellarg() : usage variations ***
/PHP-7.2/sapi/cli/tests/
H A Dbug44564.phpt2 Bug #44564 (escapeshellarg removes UTF-8 multi-byte characters)
13 var_dump(escapeshellarg('f~|;*Þ?'));
15 var_dump(escapeshellarg('aŊł€'));
H A D022.phpt27 $proc = proc_open("$php -n " . escapeshellarg($test_file), $desc, $pipes);
H A D017.phpt56 $code = escapeshellarg($code);
H A D016.phpt56 $code = escapeshellarg($code);
/PHP-7.2/ext/standard/
H A Dexec.h27 PHP_FUNCTION(escapeshellarg);
H A Dexec.c501 PHP_FUNCTION(escapeshellarg) in PHP_FUNCTION() argument
H A Dbasic_functions.c2860 PHP_FE(escapeshellarg, arginfo_escapeshellarg)
/PHP-7.2/ext/phar/tests/tar/
H A Dbug70417.phpt16 exec('lsof -p ' . escapeshellarg(getmypid()) . ' 2> /dev/null', $out);
/PHP-7.2/sapi/cgi/tests/
H A Dapache_response_headers.phpt31 passthru( "$php -n -q " . escapeshellarg( $test_file ) );
H A D011.phpt18 $cmd .= ' -n -dreport_zend_debug=0 -dhtml_errors=0 ' . escapeshellarg($GLOBALS['f']);
/PHP-7.2/ext/standard/tests/file/
H A Dclearstatcache_001.phpt23 passthru("rm -f " . escapeshellarg(__FILE__ . "_link1"));
/PHP-7.2/sapi/phpdbg/
H A Dcreate-test.php46 $pass_options .= " -d ".escapeshellarg($argv[++$i]);
/PHP-7.2/ext/standard/tests/file/windows_acls/
H A Dcommon.inc55 …exec(get_icacls() . ' ' . __DIR__ . ' /setowner ' . escapeshellarg($user) . ' /T /L /Q /C > nul 2>…
/PHP-7.2/
H A Drun-tests.php821 $pass_options .= " -c " . escapeshellarg($conf_passed);

Completed in 45 milliseconds