21 $expected =
'hello world!';
28 $this->assertEquals($expected, $process->getOutput());
41 $this->assertContains($f->find(), $commandLine,
'::getCommandLine() returns the command line of PHP before start');
44 $this->assertContains($commandLine, $process->
getCommandLine(),
'::getCommandLine() returns the command line of PHP after start');
47 $this->assertContains($commandLine, $process->
getCommandLine(),
'::getCommandLine() returns the command line of PHP after wait');
start(callable $callback=null)
{}
An executable finder specifically designed for the PHP executable.
getCommandLine()
Gets the command line to be executed.
PhpProcess runs a PHP script in an independent process.