Downloads
Documentation
Get Involved
Help
Search docs
Getting Started
Introduction
A simple tutorial
Language Reference
Basic syntax
Types
Variables
Constants
Expressions
Operators
Control Structures
Functions
Classes and Objects
Namespaces
Enumerations
Errors
Exceptions
Fibers
Generators
Attributes
References Explained
Predefined Variables
Predefined Exceptions
Predefined Interfaces and Classes
Predefined Attributes
Context options and parameters
Supported Protocols and Wrappers
Security
Introduction
General considerations
Installed as CGI binary
Installed as an Apache module
Session Security
Filesystem Security
Database Security
Error Reporting
User Submitted Data
Hiding PHP
Keeping Current
Features
HTTP authentication with PHP
Cookies
Sessions
Handling file uploads
Using remote files
Connection handling
Persistent Database Connections
Command line usage
Garbage Collection
DTrace Dynamic Tracing
Function Reference
Affecting PHP's Behaviour
Audio Formats Manipulation
Authentication Services
Command Line Specific Extensions
Compression and Archive Extensions
Cryptography Extensions
Database Extensions
Date and Time Related Extensions
File System Related Extensions
Human Language and Character Encoding Support
Image Processing and Generation
Mail Related Extensions
Mathematical Extensions
Non-Text MIME Output
Process Control Extensions
Other Basic Extensions
Other Services
Search Engine Extensions
Server Specific Extensions
Session Extensions
Text Processing
Variable and Type Related Extensions
Web Services
Windows Only Extensions
XML Manipulation
GUI Extensions
Keyboard Shortcuts
?
This help
j
Next menu item
k
Previous menu item
g p
Previous man page
g n
Next man page
G
Scroll to bottom
g g
Scroll to top
g h
Goto homepage
g s
Goto search
(current page)
/
Focus search box
Introduction »
« expect_popen
PHP Manual
Function Reference
Process Control Extensions
Change language:
English
German
Spanish
French
Italian
Japanese
Brazilian Portuguese
Russian
Turkish
Ukrainian
Chinese (Simplified)
Other
Process Control
Introduction
Installing/Configuring
Installation
Predefined Constants
Examples
Basic usage
PCNTL Functions
pcntl_alarm
— Set an alarm clock for delivery of a signal
pcntl_async_signals
— Enable/disable asynchronous signal handling or return the old setting
pcntl_errno
— Alias of pcntl_get_last_error
pcntl_exec
— Executes specified program in current process space
pcntl_fork
— Forks the currently running process
pcntl_get_last_error
— Retrieve the error number set by the last pcntl function which failed
pcntl_getpriority
— Get the priority of any process
pcntl_rfork
— Manipulates process resources
pcntl_setpriority
— Change the priority of any process
pcntl_signal
— Installs a signal handler
pcntl_signal_dispatch
— Calls signal handlers for pending signals
pcntl_signal_get_handler
— Get the current handler for specified signal
pcntl_sigprocmask
— Sets and retrieves blocked signals
pcntl_sigtimedwait
— Waits for signals, with a timeout
pcntl_sigwaitinfo
— Waits for signals
pcntl_strerror
— Retrieve the system error message associated with the given errno
pcntl_unshare
— Dissociates parts of the process execution context
pcntl_wait
— Waits on or returns the status of a forked child
pcntl_waitid
— Waits for a child process to change state
pcntl_waitpid
— Waits on or returns the status of a forked child
pcntl_wexitstatus
— Returns the return code of a terminated child
pcntl_wifexited
— Checks if status code represents a normal exit
pcntl_wifsignaled
— Checks whether the status code represents a termination due to a signal
pcntl_wifstopped
— Checks whether the child process is currently stopped
pcntl_wstopsig
— Returns the signal which caused the child to stop
pcntl_wtermsig
— Returns the signal which caused the child to terminate
Improve This Page
Learn How To Improve This Page
•
Submit a Pull Request
•
Report a Bug
+
add a note
User Contributed Notes
There are no user contributed notes for this page.
↑
and
↓
to navigate •
Enter
to select •
Esc
to close
Press
Enter
without selection to search using Google