/PHP-7.2/ext/standard/ |
H A D | exec.c | 117 fp = VCWD_POPEN(cmd, "r"); in php_exec() 211 char *cmd; in php_exec_ex() local 291 zend_string *cmd; in php_escape_shell_cmd() local 371 ZSTR_VAL(cmd)[y] = '\0'; in php_escape_shell_cmd() local 382 cmd = zend_string_truncate(cmd, y, 0); in php_escape_shell_cmd() 385 ZSTR_LEN(cmd) = y; in php_escape_shell_cmd() 387 return cmd; in php_escape_shell_cmd() 397 zend_string *cmd; in php_escape_shell_arg() local 469 cmd = zend_string_truncate(cmd, y, 0); in php_escape_shell_arg() 471 ZSTR_LEN(cmd) = y; in php_escape_shell_arg() [all …]
|
/PHP-7.2/ext/standard/tests/file/ |
H A D | bug22414.phpt | 20 $cmd = $php . $args . ' -r \"readfile(@getenv(\'TEST_PHP_EXECUTABLE\')); \"'; 21 $cmd = $php . $args . ' -r \' passthru("'.$cmd.'"); \' > '.$tmpfile ; 23 $cmd = $php . $args . ' -r \"readfile(@getenv(\\\\\\"TEST_PHP_EXECUTABLE\\\\\\")); \"'; 24 $cmd = $php . $args . ' -r " passthru(\''.$cmd.'\');" > '.$tmpfile ; 26 exec($cmd);
|
H A D | bug77552.phpt | 18 $cmd = sprintf('mklink /J "%s" "%s"', $junction, $target); 19 exec($cmd); 28 $cmd = sprintf('rmdir /S /Q "%s"', $tmpDir); 29 exec($cmd);
|
H A D | bug72035.phpt | 21 $cmd = "$cgi -n -C $fl"; 25 $proc = proc_open($cmd, $desc, $pipes, getcwd(), array());
|
H A D | bug69442.phpt | 25 $cmd = '(echo "foo" ; exit 42;) 3>/dev/null; code=$?; echo $code >&3; exit $code'; 29 $process = proc_open($cmd, $descriptors, $pipes);
|
/PHP-7.2/sapi/apache2handler/ |
H A D | apache_config.c | 68 e.value = apr_pstrdup(cmd->pool, value); in real_value_hnd() 71 e.htaccess = ((cmd->override & (RSRC_CONF|ACCESS_CONF)) == 0); in real_value_hnd() 77 static const char *php_apache_value_handler(cmd_parms *cmd, void *dummy, const char *name, const ch… in php_apache_value_handler() argument 79 return real_value_hnd(cmd, dummy, name, value, PHP_INI_PERDIR); in php_apache_value_handler() 84 return real_value_hnd(cmd, dummy, name, value, PHP_INI_SYSTEM); in php_apache_admin_value_handler() 98 return real_value_hnd(cmd, dummy, arg1, bool_val, status); in real_flag_hnd() 101 static const char *php_apache_flag_handler(cmd_parms *cmd, void *dummy, const char *name, const cha… in php_apache_flag_handler() argument 103 return real_flag_hnd(cmd, dummy, name, value, PHP_INI_PERDIR); in php_apache_flag_handler() 108 return real_flag_hnd(cmd, dummy, name, value, PHP_INI_SYSTEM); in php_apache_admin_flag_handler() 111 static const char *php_apache_phpini_set(cmd_parms *cmd, void *mconfig, const char *arg) in php_apache_phpini_set() argument [all …]
|
/PHP-7.2/ext/standard/tests/file/windows_acls/ |
H A D | common.inc | 72 exec($cmd); 81 exec($cmd); 83 exec($cmd); 96 exec($cmd); 103 $cmd = $icacls . ' ' . $path_escaped . ' /remove:d ' . $user; 104 exec($cmd); 106 exec($cmd); 121 exec($cmd); 123 exec($cmd); 126 $cmd .= ':' . '(' . implode($perm_entry, ',') . ')'; [all …]
|
/PHP-7.2/ext/curl/tests/ |
H A D | server.inc | 23 $cmd = "{$php_executable} -t {$doc_root} -n -S " . PHP_CURL_SERVER_ADDRESS; 24 $cmd .= " {$router}"; 25 …$handle = proc_open(addslashes($cmd), $descriptorspec, $pipes, $doc_root, NULL, array("bypass_shel… 33 $cmd = "exec {$php_executable} -t {$doc_root} -n -S " . PHP_CURL_SERVER_ADDRESS; 34 $cmd .= " {$router}"; 35 $cmd .= " 2>/dev/null"; 37 $handle = proc_open($cmd, $descriptorspec, $pipes, $doc_root);
|
/PHP-7.2/build/ |
H A D | mkdep.awk | 29 cmd=$4 34 cmd=cmd " " $i 57 cmdx=cmd " " filenames[i]
|
H A D | order_by_dep.awk | 9 function get_deps(module_name, module_dir, depline, cmd) 14 cmd = "grep PHP_ADD_EXTENSION_DEP " module_dir "/config*.m4" 15 while (cmd | getline) { 22 close(cmd)
|
/PHP-7.2/ext/zip/lib/ |
H A D | zip_source_supports.c | 59 int cmd = va_arg(ap, int); in zip_source_make_command_bitmap() local 60 if (cmd < 0) { in zip_source_make_command_bitmap() 63 bitmap |= ZIP_SOURCE_MAKE_COMMAND_BITMASK(cmd); in zip_source_make_command_bitmap()
|
/PHP-7.2/sapi/cli/tests/ |
H A D | php_cli_server.inc | 21 $cmd = "{$php_executable} -t {$doc_root} -n {$cmd_args} -S " . PHP_CLI_SERVER_ADDRESS; 23 $cmd .= " {$router}"; 26 …$handle = proc_open(addslashes($cmd), $descriptorspec, $pipes, $doc_root, NULL, array("bypass_shel… 34 $cmd = "exec {$php_executable} -t {$doc_root} -n {$cmd_args} -S " . PHP_CLI_SERVER_ADDRESS; 36 $cmd .= " {$router}"; 38 $cmd .= " 2>/dev/null"; 40 $handle = proc_open($cmd, $descriptorspec, $pipes, $doc_root);
|
/PHP-7.2/ext/standard/tests/misc/ |
H A D | exec_basic1.phpt | 10 $cmd = "echo abc\n\0command"; 11 var_dump(exec($cmd, $output)); 13 var_dump(system($cmd)); 14 var_dump(passthru($cmd));
|
/PHP-7.2/ext/sqlite3/tests/ |
H A D | sqlite3_15_open_error-win.phpt | 18 $cmd = $icacls . ' ' . $unreadable . ' /inheritance:r /deny ' . $user . ':(F,M,R,RX,W)'; 19 exec($cmd); 28 $cmd = $icacls . ' ' . $unreadable . ' /grant ' . $user . ':(F,M,R,RX,W)'; 29 exec($cmd);
|
/PHP-7.2/sapi/phpdbg/ |
H A D | phpdbg_help.c | 145 void summary_print(phpdbg_command_t const * const cmd) in summary_print() argument 148 spprintf(&summary, 0, "Command: **%s** Alias: **%c** **%s**\n", cmd->name, cmd->alias, cmd->tip); in summary_print() 234 phpdbg_command_t const *cmd; in PHPDBG_COMMAND() local 243 n = get_command(param->str, param->len, &cmd, phpdbg_prompt_commands); in PHPDBG_COMMAND() 246 summary_print(cmd); in PHPDBG_COMMAND() 247 pretty_print(get_help(cmd->name)); in PHPDBG_COMMAND() 252 for (cmd=phpdbg_prompt_commands; cmd->name; cmd++) { in PHPDBG_COMMAND() 253 if (!strncmp(cmd->name, param->str, param->len)) { in PHPDBG_COMMAND() 254 summary_print(cmd); in PHPDBG_COMMAND() 269 return cmd->handler(param); in PHPDBG_COMMAND() [all …]
|
/PHP-7.2/ext/mysqlnd/ |
H A D | mysqlnd_commands.c | 64 mysqlnd_com_set_option_run(void *cmd) in mysqlnd_com_set_option_run() argument 116 mysqlnd_com_debug_run(void *cmd) in mysqlnd_com_debug_run() argument 176 mysqlnd_com_init_db_run(void *cmd) in mysqlnd_com_init_db_run() argument 245 mysqlnd_com_ping_run(void *cmd) in mysqlnd_com_ping_run() argument 310 mysqlnd_com_statistics_run(void *cmd) in mysqlnd_com_statistics_run() argument 456 mysqlnd_com_refresh_run(void *cmd) in mysqlnd_com_refresh_run() argument 519 mysqlnd_com_shutdown_run(void *cmd) in mysqlnd_com_shutdown_run() argument 581 mysqlnd_com_quit_run(void *cmd) in mysqlnd_com_quit_run() argument 635 mysqlnd_com_query_run(void *cmd) in mysqlnd_com_query_run() argument 916 mysqlnd_com_stmt_fetch_run(void *cmd) in mysqlnd_com_stmt_fetch_run() argument [all …]
|
/PHP-7.2/ext/opcache/tests/ |
H A D | php_cli_server.inc | 17 $cmd = "{$php_executable} -t {$doc_root} $ini -S " . PHP_CLI_SERVER_ADDRESS; 18 …$handle = proc_open(addslashes($cmd), $descriptorspec, $pipes, $doc_root, NULL, array("bypass_shel… 26 $cmd = "exec {$php_executable} -t {$doc_root} $ini -S " . PHP_CLI_SERVER_ADDRESS . " 2>/dev/null"; 27 $handle = proc_open($cmd, $descriptorspec, $pipes, $doc_root);
|
/PHP-7.2/Zend/tests/ |
H A D | bug40236.phpt | 11 $cmd = "\"$php\" -n -d memory_limit=4M -a \"".dirname(__FILE__)."\"/bug40236.inc"; 12 echo `$cmd`;
|
/PHP-7.2/ext/standard/tests/streams/ |
H A D | stream_get_meta_data_process_basic.phpt | 7 $cmd = "echo here is some output"; 9 $handle = popen($cmd, $mode);
|
H A D | proc_open_bug60120.phpt | 8 …$cmd = PHP_BINARY . ' -n -r "fwrite(STDOUT, $in = file_get_contents(\'php://stdin\')); fwrite(STDE… 10 …$cmd = PHP_BINARY . ' -n -r \'fwrite(STDOUT, $in = file_get_contents("php://stdin")); fwrite(STDER… 17 $process = proc_open($cmd, $descriptors, $pipes, getcwd(), array(), $options);
|
H A D | proc_open_bug64438.phpt | 9 …$cmd = PHP_BINARY . ' -n -r "fwrite(STDOUT, $in = file_get_contents(\'php://stdin\')); fwrite(STDE… 11 …$cmd = PHP_BINARY . ' -n -r \'fwrite(STDOUT, $in = file_get_contents("php://stdin")); fwrite(STDER… 17 $process = proc_open($cmd, $descriptors, $pipes, getcwd(), array(), $options);
|
H A D | bug64770.phpt | 14 $cmd = (substr(PHP_OS, 0, 3) == 'WIN') ? 'dir' : 'ls'; 15 $p = proc_open($cmd, $descs, $pipes, '.', NULL, $other_opts);
|
H A D | bug60602.phpt | 14 $cmd = (substr(PHP_OS, 0, 3) == 'WIN') ? 'dir' : 'ls'; 15 $p = proc_open($cmd, $descs, $pipes, '.', $environment);
|
/PHP-7.2/tests/basic/ |
H A D | bug71273.phpt | 13 …$cmd = getenv('TEST_PHP_EXECUTABLE') . " -n -d html_errors=on -d extension_dir=a/�/w -d extension=… 14 $out = shell_exec($cmd);
|
/PHP-7.2/ext/standard/tests/general_functions/ |
H A D | bug69646.phpt | 27 $cmd = PHP_BINARY . " " . $script . " " . escapeshellarg($a) . " " . escapeshellarg($b); 29 system($cmd);
|