Documentation

PHPUnit_Util_PHP
in package

Utility methods for PHP sub-processes.

Tags
since

Class available since Release 3.4.0

Table of Contents

factory()  : PHPUnit_Util_PHP
runJob()  : array<string|int, mixed>
Runs a single job (PHP code) using a separate PHP process.
runTestJob()  : mixed
Runs a single test in a separate PHP process.
settingsToParameters()  : string
getException()  : Exception
Gets the thrown exception from a PHPUnit_Framework_TestFailure.
processChildResult()  : mixed
Processes the TestResult object from an isolated process.

Methods

runJob()

Runs a single job (PHP code) using a separate PHP process.

public abstract runJob(string $job[, array<string|int, mixed> $settings = array() ]) : array<string|int, mixed>
Parameters
$job : string
$settings : array<string|int, mixed> = array()
Tags
throws
PHPUnit_Framework_Exception
Return values
array<string|int, mixed>

settingsToParameters()

protected settingsToParameters(array<string|int, mixed> $settings) : string
Parameters
$settings : array<string|int, mixed>
Tags
since

Method available since Release 4.0.0

Return values
string

Search results