Unsupported Functions

Unsupported function/statement Alternative Description
pcntl_fork Pre-set the number of processes
php://input $request->rawBody() Used for applications under the HTTP protocol to obtain the raw POST data
exit return Using exit will cause the process to terminate; if you want to return, please use the return statement directly
die return Using die will cause the process to terminate; if you want to return, please use the return statement directly
header cookie session related functions Refer to $request and $response classes
set_time_limit None Can only be set to 0, otherwise it will cause the workerman process to exit after a certain period of time