Home
last modified time | relevance | path

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

12345

/PHP-8.3/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.3/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
H A Dcli_process_title_unix.phpt6 die("skip cli process title not available in non-cli SAPI");
8 die("skip process title not available (disabled or unsupported)");
19 echo "*** Testing setting the process title ***\n";
60 *** Testing setting the process title ***
H A Dcli_get_process_title_basic.phpt9 die("skip cli process title not available in non-cli SAPI");
11 die("skip process title not available (disabled or unsupported)");
H A Dcli_set_process_title_basic.phpt9 die("skip cli process title not available in non-cli SAPI");
11 die("skip process title not available (disabled or unsupported)");
H A D009.phpt18 string(57) "Either execute direct code, process stdin or use a file.
20 string(57) "Either execute direct code, process stdin or use a file.
/PHP-8.3/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;
H A Dpcntl_getpriority_error_darwin.phpt2 pcntl_getpriority() - Wrong mode passed and also for non existing process id provided
46 pcntl_getpriority(): Argument #1 ($process_id) is not a valid process, process group, or user ID
H A Dpcntl_setpriority_error_darwin.phpt47 pcntl_setpriority(): Argument #2 ($process_id) is not a valid process, process group, or user ID
49 Warning: pcntl_setpriority(): Error 1: A process was located, but neither its effective nor real us…
/PHP-8.3/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.3/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);
H A Dstream_context_set_options_error.phpt12 $process = proc_open('nothing', $description, $pipes);
15 stream_context_set_options($process, []);
H A Dproc_open_bug51800_right.phpt43 $process = proc_open($cmd, $descriptors, $pipes);
45 if (is_resource($process))
56 $status = proc_close($process);
H A Dproc_open_bug51800_right2.phpt43 $process = proc_open($cmd, $descriptors, $pipes);
45 if (is_resource($process))
56 $status = proc_close($process);
H A Dproc_open_bug69900.phpt28 $process = proc_open(getenv('TEST_PHP_EXECUTABLE_ESCAPED').' -n -f ' . escapeshellarg($fl), $descri…
50 proc_close($process);
53 * Allow two more to account for possible process switch, etc. */
/PHP-8.3/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.3/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.
/PHP-8.3/TSRM/
H A Dtsrm_win32.c46 globals->process = NULL; in tsrm_win32_ctor()
67 if (globals->process) { in tsrm_win32_dtor()
68 free(globals->process); in tsrm_win32_dtor()
377 for (ptr = TWG(process); ptr < (TWG(process) + TWG(process_size)); ptr++) { in process_get()
392 TWG(process) = newptr; in process_get()
450 PROCESS_INFORMATION process; in popen_ex() local
574 CloseHandle(process.hThread); in popen_ex()
594 process_pair *process; in pclose() local
600 fflush(process->stream); in pclose()
601 fclose(process->stream); in pclose()
[all …]
/PHP-8.3/ext/opcache/tests/jit/
H A Dreg_alloc_002.phpt14 public function process($call) {
23 $a->process(function($i, $v) { var_dump($i); });
/PHP-8.3/Zend/tests/
H A Dbug48408.phpt6 public function process($x){
18 $b->process($c->generate(0));
/PHP-8.3/ext/opcache/tests/
H A Dlog_verbosity_bug.phpt2 Test ACCEL_LOG_FATAL will cause the process to die even if not logged
6 The process should die regardless of the log_verbosity_level.

Completed in 54 milliseconds

12345