Worker::isShutdownState Detection Description
public bool Worker::isShutdown
( void
)
Whether the worker has been shutdown or not. ParametersThis function has no parameters. Return ValuesReturns whether the worker has been shutdown or not. Examples
Example #1 Detect the state of a worker
<?php The above example will output: bool(false) bool(true) |