PEAR_Builder::build()

PEAR_Builder::build() -- Build an extension from source

Synopsis

require_once 'PEAR/builder.php';

array PEAR_Builder::build (string $descfile [, mixed $callback = NULL])

Описание

Build an extension from source. Runs phpize in the source directory, but compiles in a temporary directory (/var/tmp/pear-build-USER/PACKAGE-VERSION).

Параметр

string $descfile

path to XML package description file

mixed $callback

callback function used to report output

Возвращаемое значение

array - an array of associative arrays with built files, format:
array( array( 'file' => '/path/to/ext.so',
                    'php_api' => YYYYMMDD,
                    'zend_mod_api' => YYYYMMDD,
                    'zend_ext_api' =>; YYYYMMDD ),
       ... )

См. также

PEAR_Common::infoFromDescriptionFile

Throws

Таблица 28-1. Возможные значения PEAR_Error

Error codeError valueMeaningSolution
 ""  

Заметка

Эта функция не должна вызываться статически.


HIVE: All information for read only. Please respect copyright!
Hosted by hive йца: йХЕБЯЙЮЪ ЦНПНДЯЙЮЪ АХАКХНРЕЙЮ