PHP Класс Mutagenesis\Utility\Process

Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
$_descriptorSpec array proc_open descriptor spec
$_phpBin string PHP binary path for the current operating system

Открытые методы

Метод Описание
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.

Защищенные методы

Метод Описание
_getPhpBinary ( ) : void Locate a relevant PHP binary for the operating system

Описание методов

_getPhpBinary() защищенный статический Метод

Locate a relevant PHP binary for the operating system
protected static _getPhpBinary ( ) : void
Результат void

run() публичный статический Метод

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

Описание свойств

$_descriptorSpec защищенное статическое свойство

proc_open descriptor spec
protected static array $_descriptorSpec
Результат array

$_phpBin защищенное статическое свойство

PHP binary path for the current operating system
protected static string $_phpBin
Результат string