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

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

PEAR_Builder::build()

PEAR_Builder::build() -- 拡張モジュールをソースからビルドする

説明

拡張モジュールをソースからビルドします。 ソースディレクトリで phpize を実行し、 一時ディレクトリ (/var/tmp/pear-build-USER/PACKAGE-VERSION) でコンパイルを行います。

パラメータ

string $descfile

XML パッケージ定義ファイルへのパス。

mixed $callback

結果の出力に使用するコールバック関数。

返り値

array - ビルドされたファイルを表す連想配列の配列。以下の書式になります。


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

参照

PEAR_Common::infoFromDescriptionFile

注意

この関数は、スタティックにコールする ことはできません。

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

Download Documentation Last updated: Sun, 05 Oct 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.