Lines Matching refs:null

144 …tion __construct($commandline, $cwd = null, array $env = null, $input = null, $timeout = 60, array…
157 … if (null === $this->cwd && (\defined('ZEND_THREAD_SAFE') || '\\' === \DIRECTORY_SEPARATOR)) {
160 if (null !== $env) {
169 if (null !== $options) {
206 public function run($callback = null/*, array $env = []*/)
208 $env = 1 < \func_num_args() ? func_get_arg(1) : null;
227 public function mustRun(callable $callback = null/*, array $env = []*/)
232 $env = 1 < \func_num_args() ? func_get_arg(1) : null;
260 public function start(callable $callback = null/*, array $env = [*/)
274 $env = null;
280 $this->hasCallback = null !== $callback;
293 if (null === $env) {
302 if (null !== $env && $inheritEnv) {
304 } elseif (null !== $env) {
375 public function restart(callable $callback = null/*, array $env = []*/)
380 $env = 1 < \func_num_args() ? func_get_arg(1) : null;
403 public function wait(callable $callback = null)
409 if (null !== $callback) {
442 return $this->isRunning() ? $this->processInformation['pid'] : null;
476 if (null !== $this->idleTimeout) {
576 …while (null !== $this->callback || ($yieldOut && !feof($this->stdout)) || ($yieldErr && !feof($thi…
718 if (null === $exitcode = $this->getExitCode()) {
719 return null;
869 public function stop($timeout = 10, $signal = null)
1006 if (null !== $timeout && $this->outputDisabled) {
1032 if (null === $isTtySupported) {
1087 if (null === $this->cwd) {
1090 return getcwd() ?: null;
1327 if (null !== $this->timeout && $this->timeout < microtime(true) - $this->starttime) {
1333 … if (null !== $this->idleTimeout && $this->idleTimeout < microtime(true) - $this->lastOutputTime) {
1349 if (null !== $result) {
1389 protected function buildCallback(callable $callback = null)
1393 if (null !== $callback) {
1408 if (null !== $callback) {
1446 if (null !== self::$sigchild) {
1493 $timeout = null;
1548 $this->callback = null;
1558 $this->starttime = null;
1559 $this->callback = null;
1560 $this->exitcode = null;
1562 $this->processInformation = null;
1565 $this->process = null;
1566 $this->latestSignal = null;
1586 if (null === $pid = $this->getPid()) {