Properties

Properties existing in the Solar_Php class.

Public

None.

Protected

$_Solar_Php

(array) Default configuration values.

$_argv

(array) Command-line arguments to pass to the code.

$_config

(array) Collection point for configuration values.

Inherited from Solar_Base.

Note that you do not define config defaults in $_config directly.

<?php
// DO NOT DO THIS
protected $_config = array(
    'foo' => 'bar',
    'baz' => 'dib',
);

Instead, define config defaults in a protected property named for the class, withan underscore prefix.

For exmple, a "Vendor_Class_Name" class would define the default config array in "$_Vendor_Class_Name". This convention lets child classes inherit parent config keys and values.

<?php
// DO THIS INSTEAD
protected $_Vendor_Class_Name = array(
    'foo' => 'bar',
    'baz' => 'dib',
);

$_echo

(bool) Whether or not to echo the process output as it goes.

$_exit_code

(array) After the code runs, the exit status code (if any).

Note that null is not the same as zero; zero is normally an "OK" exit code, whereas null means "no exit code given".

$_ini_file

(string) Which php.ini file to use.

Null means to use the default php.ini file, but false means to use no php.ini file.

$_ini_set

(array) Override php.ini file settings with these settings.

Format is an array of key-value pairs, where the key is the setting name and the value is the setting value.

$_last_line

(array) After the code runs, the last line of output (if any).

$_output

(array) After the code runs, each line of output (if any).

$_php

(string) Command to invoke the PHP binary.

$_solar_config

(mixed) When calling Solar::start() in the new process, use this as the $config value.

Private

None.



Local