__construct()
__construct(string $script, string|null $cwd = null, array|null $env = null, integer $timeout = 60)
Parameters
string | $script | The PHP script to run (as a string) |
string|null | $cwd | The working directory or null to use the working dir of the current PHP process |
array|null | $env | The environment variables or null to use the same environment as the current PHP process |
integer | $timeout | The timeout in seconds |