[ Index ]

PHP Cross Reference of phpBB-3.3.14-deutsch

title

Body

[close]

/vendor/symfony/process/ -> PhpProcess.php (summary)

(no description)

File Size: 76 lines (2 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

PhpProcess:: (3 methods):
  __construct()
  setPhpBinary()
  start()


Class: PhpProcess  - X-Ref

PhpProcess runs a PHP script in an independent process.

$p = new PhpProcess('<?php echo "foo"; ?>');
$p->run();
print $p->getOutput()."\n";

__construct($script, $cwd = null, array $env = null, $timeout = 60, array $options = null)   X-Ref

param: string      $script  The PHP script to run (as a string)
param: string|null $cwd     The working directory or null to use the working dir of the current PHP process
param: array|null  $env     The environment variables or null to use the same environment as the current PHP process
param: int         $timeout The timeout in seconds
param: array       $options An array of options for proc_open

setPhpBinary($php)   X-Ref
Sets the path to the PHP binary to use.


start(callable $callback = null)   X-Ref
{@inheritdoc}




Generated: Mon Nov 25 19:05:08 2024 Cross-referenced by PHPXref 0.7.1