PHP Class Mutagenesis\Utility\Process

Afficher le fichier Open project: padraic/mutagenesis Class Usage Examples

Protected Properties

Свойство Type Description
$_descriptorSpec array proc_open descriptor spec
$_phpBin string PHP binary path for the current operating system

Méthodes publiques

Méthode 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.

Méthodes protégées

Méthode Description
_getPhpBinary ( ) : void Locate a relevant PHP binary for the operating system

Method Details

_getPhpBinary() protected static méthode

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

run() public static méthode

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
Résultat array

$_phpBin protected_oe static_oe property

PHP binary path for the current operating system
protected static string $_phpBin
Résultat string