Constructor.
public __construct ( string $script, string $cwd = null, array $env = [], integer $timeout = 60, array $options = [] ) | ||
$script | string | The PHP script to run (as a string) |
$cwd | string | The working directory |
$env | array | The environment variables |
$timeout | integer | The timeout in seconds |
$options | array | An array of options for proc_open |