Home
last modified time | relevance | path

Searched refs:cmd (Results 51 – 75 of 84) sorted by relevance

1234

/PHP-8.3/ext/pdo_firebird/tests/
H A Dpayload_server.inc4 $cmd = [getenv("TEST_PHP_EXECUTABLE"), "-n", __DIR__ . "/payload_server.php", $payloadFile];
10 $proc = proc_open($cmd, $descriptorspec, $pipes);
/PHP-8.3/ext/standard/tests/file/windows_links/
H A Dbug48746_1.phpt11 $cmd = "mklink /?";
12 $ret = @exec($cmd, $output, $return_val);
/PHP-8.3/ext/standard/tests/file/windows_mb_path/
H A Dtest_cp874_1.phpt2 Thai cp874 cmd test
H A Dtest_cp1252_0.phpt2 cp1252 cmd test
H A Dtest_cp1254_to_utf8_3.phpt2 cp1254 cmd test
H A Dtest_cp1254_3.phpt2 cp1254 cmd test
H A Dtest_cp932_3.phpt2 cp932 cmd test
H A Dutil.inc36 $cmd = "powershell -command \"Get-Item -Path '$path' | Format-Table -HideTableHeaders Name\"";
37 $out = trim(shell_exec($cmd));
/PHP-8.3/ext/curl/tests/
H A Dserver.inc7 $cmd = [$php_executable, '-t', $doc_root, '-n', '-S', 'localhost:0', $router];
13 …$handle = proc_open($cmd, $descriptorspec, $pipes, $doc_root, null, array("suppress_errors" => tru…
H A Dcurl_setopt_ssl.phpt64 $cmd = "openssl s_server -key $serverKeyPath -cert $serverCertPath -accept $port -www -CAfile $clie…
65 $process = proc_open($cmd, [["pipe", "r"], ["pipe", "w"], ["pipe", "w"]], $pipes);
/PHP-8.3/ext/openssl/tests/
H A Dstream_server_reneg_limit.phpt76 $cmd = 'openssl s_client -connect 127.0.0.1:64321';
78 $process = proc_open($cmd, $descriptorSpec, $pipes);
/PHP-8.3/build/
H A Dshtool792 cmd="$0 mkdir -f -p -m 755"
794 cmd="$cmd -o '$opt_o'"
797 cmd="$cmd -g '$opt_g'"
800 cmd="$cmd -v"
803 cmd="$cmd -t"
806 eval "$cmd $dir" || shtool_exit $?
H A Dltmain.sh2709 $show "$cmd"
4355 $show "$cmd"
4392 $show "$cmd"
5656 $show "$cmd"
6084 eval cmd=\"$cmd\"
6085 $show "$cmd"
6305 eval cmd=\"$cmd\"
6306 $show "$cmd"
6632 eval cmd=\"$cmd\"
6633 $show "$cmd"
[all …]
/PHP-8.3/ext/standard/tests/streams/
H A Dstream_cast_loses_data.phpt5 …_FAMILY === "Windows") die("skip non-Windows tests (popen cannot delete file as open in cmd.exe)");
/PHP-8.3/sapi/cli/tests/
H A D024.phpt8 function run_and_output($cmd) {
9 exec($cmd, $output, $exit_code);
H A Dcli_process_title_windows.phpt39 …$loaded_title = shell_exec("PowerShell -NoProfile \"get-process cmd*,powershell* | Select-Object m…
48 // the run-tests.php is executed forks a php.exe, which forks a cmd.exe, which then forks
/PHP-8.3/ext/ftp/
H A Dphp_ftp.c327 char *cmd; in PHP_FUNCTION() local
330 if (zend_parse_parameters(ZEND_NUM_ARGS(), "Os", &z_ftp, php_ftp_ce, &cmd, &cmd_len) == FAILURE) { in PHP_FUNCTION()
336 if (!ftp_exec(ftp, cmd, cmd_len)) { in PHP_FUNCTION()
352 char *cmd; in PHP_FUNCTION() local
355 if (zend_parse_parameters(ZEND_NUM_ARGS(), "Os", &z_ftp, php_ftp_ce, &cmd, &cmd_len) == FAILURE) { in PHP_FUNCTION()
361 ftp_raw(ftp, cmd, cmd_len, return_value); in PHP_FUNCTION()
1194 char *cmd; in PHP_FUNCTION() local
1197 if (zend_parse_parameters(ZEND_NUM_ARGS(), "Os", &z_ftp, php_ftp_ce, &cmd, &cmd_len) == FAILURE) { in PHP_FUNCTION()
1203 if (!ftp_site(ftp, cmd, cmd_len)) { in PHP_FUNCTION()
H A Dftp.c72 const char *cmd,
497 ftp_exec(ftpbuf_t *ftp, const char *cmd, const size_t cmd_len) in ftp_exec() argument
502 if (!ftp_putcmd(ftp, "SITE EXEC", sizeof("SITE EXEC")-1, cmd, cmd_len)) { in ftp_exec()
517 if (ftp == NULL || cmd == NULL) { in ftp_raw()
520 if (!ftp_putcmd(ftp, cmd, cmd_len, NULL, (size_t) 0)) { in ftp_raw()
1241 ftp_site(ftpbuf_t *ftp, const char *cmd, const size_t cmd_len) in ftp_site() argument
1246 if (!ftp_putcmd(ftp, "SITE", sizeof("SITE")-1, cmd, cmd_len)) { in ftp_site()
1266 if (strpbrk(cmd, "\r\n")) { in ftp_putcmd()
1278 size = slprintf(ftp->outbuf, sizeof(ftp->outbuf), "%s %s\r\n", cmd, args); in ftp_putcmd()
1284 size = slprintf(ftp->outbuf, sizeof(ftp->outbuf), "%s\r\n", cmd); in ftp_putcmd()
[all …]
/PHP-8.3/TSRM/
H A Dtsrm_win32.h105 TSRM_API int shmctl(int key, int cmd, struct shmid_ds *buf);
/PHP-8.3/sapi/phpdbg/
H A Dphpdbg_prompt.c211 size_t cmd_len = strlen(cmd); in phpdbg_line_init()
215 while (cmd_len > 0L && isspace(cmd[cmd_len-1])) { in phpdbg_line_init()
219 cmd[cmd_len] = '\0'; in phpdbg_line_init()
221 if (*cmd && cmd_len > 0L && cmd[0] != '#') { in phpdbg_line_init()
223 if (memcmp(cmd, "<:", sizeof("<:")-1) == SUCCESS) { in phpdbg_line_init()
227 if (memcmp(cmd, ":>", sizeof(":>")-1) == SUCCESS) { in phpdbg_line_init()
246 memcpy(&state->code[state->code_len], cmd, cmd_len); in phpdbg_line_init()
254 char *input = phpdbg_read_input(cmd); in phpdbg_line_init()
313 char cmd[PHPDBG_MAX_CMD]; in phpdbg_try_file_init() local
318 while (fgets(cmd, PHPDBG_MAX_CMD, fp) != NULL) { in phpdbg_try_file_init()
[all …]
H A Dphpdbg_cmd.c764 char *cmd = readline(phpdbg_get_prompt()); in phpdbg_read_input() local
767 if (!cmd) { in phpdbg_read_input()
772 add_history(cmd); in phpdbg_read_input()
773 buffer = estrdup(cmd); in phpdbg_read_input()
774 free(cmd); in phpdbg_read_input()
/PHP-8.3/.github/scripts/windows/
H A Dbuild.bat46 cmd /c %SDK_RUNNER% -t .github\scripts\windows\build_task.bat
/PHP-8.3/ext/readline/
H A Dreadline_cli.c655 zend_string *cmd; in readline_shell_run() local
657 cmd = zend_string_init(&line[1], param - &line[1] - 1, 0); in readline_shell_run()
659 … zend_alter_ini_entry_chars_ex(cmd, param, strlen(param), PHP_INI_USER, PHP_INI_STAGE_RUNTIME, 0); in readline_shell_run()
660 zend_string_release_ex(cmd, 0); in readline_shell_run()
/PHP-8.3/sapi/fpm/tests/
H A Dtester.inc452 $this->trace('Testing config using command', $cmd, true);
453 exec($cmd, $output, $code);
523 $cmd = [self::findExecutable(), '-n', '-y', $configFile];
526 $cmd[] = '-O';
531 $cmd[] = '-F';
536 $cmd[] = '-dextension_dir=' . $extensionDir;
538 $cmd[] = '-dextension=' . $extension;
547 $cmd[] = '--allow-to-run-as-root';
549 $cmd = array_merge($cmd, $extraArgs);
550 $this->trace('Starting FPM using command:', $cmd, true);
[all …]
/PHP-8.3/win32/build/
H A Dmkdist.php76 $cmd = "$GLOBALS[build_dir]\\deplister.exe \"$module\" \"$GLOBALS[build_dir]\"";
77 $proc = proc_open($cmd,

Completed in 66 milliseconds

1234