Home
last modified time | relevance | path

Searched refs:process (Results 1 – 25 of 120) sorted by relevance

12345

/PHP-8.1/ext/standard/tests/general_functions/
H A Dbug34794.phpt9 echo "Opening process 1\n";
12 echo "Opening process 2\n";
16 echo "Closing process 1\n";
21 echo "Closing process 2\n";
30 Opening process 1
31 Opening process 2
32 Closing process 1
33 Closing process 2
H A Dbug39322.phpt2 Bug #39322 (proc_terminate() losing process resource)
17 $process = proc_open('/bin/sleep 120', $descriptors, $pipes);
19 proc_terminate($process, 9);
20 sleep(1); // wait a bit to let the process finish
21 var_dump(proc_get_status($process));
/PHP-8.1/sapi/cli/tests/
H A D012-2.phpt33 string(57) "Either execute direct code, process stdin or use a file.
35 string(57) "Either execute direct code, process stdin or use a file.
38 string(57) "Either execute direct code, process stdin or use a file.
40 string(57) "Either execute direct code, process stdin or use a file.
42 string(57) "Either execute direct code, process stdin or use a file.
44 string(57) "Either execute direct code, process stdin or use a file.
46 string(57) "Either execute direct code, process stdin or use a file.
52 string(57) "Either execute direct code, process stdin or use a file.
H A Dcli_process_title_windows.phpt14 // command "get-process" is executed using shell_exec, it overwrites the ConsoleTitle with
15 // "Windows PowerShell" and this title ONLY clears away when the php.exe process exits
25 echo "*** Testing setting the process title ***\n";
39 …$loaded_title = shell_exec("PowerShell -NoProfile \"get-process cmd*,powershell* | Select-Object m…
43 echo "Reading title using get-process failed\n";
58 echo "Successfully verified title using get-process\n";
60 echo "Actually loaded from get-process: $loaded_title\n";
70 *** Testing setting the process title ***
72 Successfully verified title using get-process
/PHP-8.1/ext/pcntl/tests/
H A Dpcntl_fork_variation.phpt2 Test function pcntl_fork() by testing the process isolation in the forking hierarchy father -> son …
12 echo "*** Testing the process isolations between a process and its forks ***\n";
41 *** Testing the process isolations between a process and its forks ***
H A Dwaiting_on_sigchild_pcntl_wait.phpt24 // Sleeping ensures we get to add the process to the list before the signal is invoked.
25 $process = proc_open('sleep 1', [], $pipes);
26 $pid = proc_get_status($process)['pid'];
27 $processes[$pid] = $process;
/PHP-8.1/ext/mysqli/tests/
H A Dghsa-h35g-vwh6-m678-auth-message.phpt13 $process = run_fake_server_in_background('auth_response_message_over_read');
14 $process->wait();
17 $conn = new mysqli( $servername, $username, $password, "", $process->getPort());
24 $process->terminate();
H A Dghsa-h35g-vwh6-m678-def.phpt13 $process = run_fake_server_in_background('tabular_response_def_over_read');
14 $process->wait();
16 $conn = new mysqli($servername, $username, $password, "", $process->getPort());
30 $process->terminate();
H A Dghsa-h35g-vwh6-m678-filename.phpt13 $process = run_fake_server_in_background('upsert_response_filename_over_read');
14 $process->wait();
16 $conn = new mysqli($servername, $username, $password, "", $process->getPort());
24 $process->terminate();
H A Dghsa-h35g-vwh6-m678-query-len-overflow.phpt13 $process = run_fake_server_in_background('query_response_row_length_overflow');
14 $process->wait();
16 $conn = new mysqli($servername, $username, $password, "", $process->getPort());
30 $process->terminate(true);
H A Dghsa-h35g-vwh6-m678-stmt-row-float.phpt13 $process = run_fake_server_in_background('stmt_response_row_over_read_float');
14 $process->wait();
16 $conn = new mysqli($servername, $username, $password, "", $process->getPort());
33 $process->terminate(true);
H A Dghsa-h35g-vwh6-m678-stmt-row-int.phpt13 $process = run_fake_server_in_background('stmt_response_row_over_read_int');
14 $process->wait();
16 $conn = new mysqli($servername, $username, $password, "", $process->getPort());
33 $process->terminate(true);
H A Dghsa-h35g-vwh6-m678-stmt-row-no-space.phpt13 $process = run_fake_server_in_background('stmt_response_row_no_space');
14 $process->wait();
16 $conn = new mysqli($servername, $username, $password, "", $process->getPort());
33 $process->terminate(true);
H A Dghsa-h35g-vwh6-m678-stmt-row-string.phpt13 $process = run_fake_server_in_background('stmt_response_row_over_read_string');
14 $process->wait();
16 $conn = new mysqli($servername, $username, $password, "", $process->getPort());
33 $process->terminate(true);
H A Dghsa-h35g-vwh6-m678-stmt-row-time.phpt13 $process = run_fake_server_in_background('stmt_response_row_over_read_time');
14 $process->wait();
16 $conn = new mysqli($servername, $username, $password, "", $process->getPort());
33 $process->terminate(true);
H A Dprotocol_query_row_fetch_data.phpt13 $process = run_fake_server_in_background('query_response_row_read_two_fields');
14 $process->wait();
16 $conn = new mysqli($servername, $username, $password, "", $process->getPort());
37 $process->terminate(true);
H A Dghsa-h35g-vwh6-m678-stmt-row-bit.phpt13 $process = run_fake_server_in_background('stmt_response_row_over_read_bit');
14 $process->wait();
16 $conn = new mysqli($servername, $username, $password, "", $process->getPort());
33 $process->terminate(true);
H A Dghsa-h35g-vwh6-m678-stmt-row-date.phpt13 $process = run_fake_server_in_background('stmt_response_row_over_read_date');
14 $process->wait();
16 $conn = new mysqli($servername, $username, $password, "", $process->getPort());
33 $process->terminate(true);
H A Dghsa-h35g-vwh6-m678-stmt-row-datetime.phpt13 $process = run_fake_server_in_background('stmt_response_row_over_read_datetime');
14 $process->wait();
16 $conn = new mysqli($servername, $username, $password, "", $process->getPort());
33 $process->terminate(true);
H A Dghsa-h35g-vwh6-m678-stmt-row-double.phpt13 $process = run_fake_server_in_background('stmt_response_row_over_read_double');
14 $process->wait();
16 $conn = new mysqli($servername, $username, $password, "", $process->getPort());
33 $process->terminate(true);
/PHP-8.1/ext/posix/tests/
H A Dposix_getsid.phpt4 Get the current session id of a process pid (POSIX.1, 4.2.1)
16 echo "\n-- Testing posix_getsid() function with current process pid --\n";
23 -- Testing posix_getsid() function with current process pid --
/PHP-8.1/ext/standard/tests/streams/
H A Dproc_open_bug60120.phpt24 $process = proc_open(
40 if (!is_resource($process)) {
42 "could not open process \"%s\"",
65 proc_terminate($process);
H A Dbug61019.phpt14 $process=proc_open("echo testtext",$descriptorspec,$pipes);
15 if(is_resource($process))
29 $process_state=proc_get_status($process);
60 proc_close($process);
/PHP-8.1/sapi/litespeed/
H A DREADME.md118 Connections" and greater than 1. Web Server will start one PHP process, this
131 `LSAPI_AVOID_FORK` specifies the policy of the internal process manager in
155 In Self Managed Mode, LSAPI_MAX_IDLE controls how long a idle child process
164 parent process immediately. When `LSAPI_AVOID_FORK` is set to 0, the default
171 time allowed when processing a request. If a child process can not finish
173 parent process. This option can help getting rid of dead or runaway child
174 process.
179 process will wait before exiting when there is no child process. This option
180 helps releasing system resources taken by an idle parent process.
185 exits automatically if the parent process died. This is to reduce orphan
[all …]
/PHP-8.1/ext/sysvsem/tests/
H A Dnowait.phpt11 echo "P: parent process running.\n";
47 // Fork process
87 echo "C: child process running.\n";
89 // Have the semaphore after process forked
98 // The child process did not wait to acquire the semaphore
119 P: parent process running.
123 C: child process running.

Completed in 33 milliseconds

12345