PHP Class Mutagenesis\Utility\Process

Datei anzeigen Open project: padraic/mutagenesis Class Usage Examples

Protected Properties

Property Type Description
$_descriptorSpec array proc_open descriptor spec
$_phpBin string PHP binary path for the current operating system

Public Methods

Method Description
run ( string $source ) Opens a new process to execute PHP on the source code passed to the method. If you're looking for how this process can be timed out - check the Utility/Job class which sets it internally in the source code to be executed.

Protected Methods

Method Description
_getPhpBinary ( ) : void Locate a relevant PHP binary for the operating system

Method Details

_getPhpBinary() protected static method

Locate a relevant PHP binary for the operating system
protected static _getPhpBinary ( ) : void
return void

run() public static method

Opens a new process to execute PHP on the source code passed to the method. If you're looking for how this process can be timed out - check the Utility/Job class which sets it internally in the source code to be executed.
public static run ( string $source )
$source string

Property Details

$_descriptorSpec protected_oe static_oe property

proc_open descriptor spec
protected static array $_descriptorSpec
return array

$_phpBin protected_oe static_oe property

PHP binary path for the current operating system
protected static string $_phpBin
return string