PEAR_Builder::PEAR_Builder (Previous) (Next) PEAR_Builder::log

View this page in Last updated: Sun, 31 Aug 2008
English | Dutch | French | German | Hungarian | Japanese | Polish | Russian | Spanish | Plain HTML

PEAR_Builder::build()

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

Description

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

Parameter

string $descfile

path to XML package description file

mixed $callback

callback function used to report output

Return value

array - an array of associative arrays with built files, format:


<?php
array( array( 'file' => '/path/to/ext.so',
                    'php_api' => YYYYMMDD,
                    'zend_mod_api' => YYYYMMDD,
                    'zend_ext_api' =>; YYYYMMDD ),
       ... )
?>

See

PEAR_Common::infoFromDescriptionFile

Note

This function can not be called statically.

PEAR_Builder::PEAR_Builder (Previous) (Next) PEAR_Builder::log

Download Documentation Last updated: Sun, 31 Aug 2008
Do you think that something on this page is wrong? Please file a bug report or add a note.
User Notes:
There are no user contributed notes for this page.