
Index: phpdoc/ja/functions/classobj.xml
diff -u phpdoc/ja/functions/classobj.xml:1.9 phpdoc/ja/functions/classobj.xml:1.10
--- phpdoc/ja/functions/classobj.xml:1.9 Fri Mar 9 07:33:03 2001
+++ phpdoc/ja/functions/classobj.xml Wed Mar 28 05:45:34 2001
@@ -342,6 +342,62 @@
この関数は、指定したクラスclass_nameに
ついてメソッドの名前を連想配列として返します。
+
+
+ PHP 4.0.6 以降では、class_name の替わりに
+ オブジェクト自身を指定することが可能です。例えば、
+
+
+$class_methods = get_class_methods($my_class);
+
+
+
+
+
+
+ get_class_methodsの例
+
+<?php
+
+class myclass {
+ // コンストラクタ
+ function myclass() {
+ return(true);
+ }
+
+ // メソッド1
+ function myfunc1() {
+ return(true);
+ }
+
+ // メソッド2
+ function myfunc2() {
+ return(true);
+ }
+}
+
+$my_class = new myclass();
+
+$class_methods = get_class_methods(get_class($my_class));
+
+foreach ($class_methods as $method_name) {
+ echo "$method_name\n";
+}
+
+?>
+
+
+
+
+ 上の例の出力は次のようになります。
+
+
+myclass
+myfunc1
+myfunc2
+
+
+
get_class_vars、
get_object_varsも参照下さい。
@@ -364,8 +420,56 @@
string class_name
+
+ この関数は、クラスのデフォルトプロパティを有する連想配列を返しま
+ す。返される配列要素は、変数名 => 値 の形
+ 式となります。
+
+
+
+ 初期化されていないクラス変数は、
+ get_class_vars で返されません。
+
+
+
+
+ get_class_vars の例
+
+<?php
+
+class myclass {
+
+ var $var1; // この変数にはデフォルト値がありません...
+ var $var2 = "xyz";
+ var $var3 = 100;
+
+ // コンストラクタ
+ function myclass() {
+ return(true);
+ }
+
+}
+
+$my_class = new myclass();
+
+$class_vars = get_class_vars(get_class($my_class));
+
+foreach ($class_vars as $name => $value) {
+ echo "$name : $value\n";
+}
+
+?>
+
+
+
- この関数は、クラスのデフォルトプロパティを配列として返します。
+ この例の出力は次のようになります。
+
+
+var2 : xyz
+var3 : 100
+
+
get_class_methods、
Index: phpdoc/ja/functions/domxml.xml
diff -u phpdoc/ja/functions/domxml.xml:1.8 phpdoc/ja/functions/domxml.xml:1.9
--- phpdoc/ja/functions/domxml.xml:1.8 Thu Jan 4 22:29:04 2001
+++ phpdoc/ja/functions/domxml.xml Wed Mar 28 05:45:34 2001
@@ -4,15 +4,26 @@
- 以下の関数は、configure時に
+ このモジュールの関数は、configure時に
を指定し、
- GNOME xmlライブラリを使用して設定された場合にのみ利用可能です。
- 少なくともlibxml-2.0.0が必要です。(ベータ版では動作しません。)
+ GNOME xmlライブラリを使用して構
+ 築された場合にのみ利用可能です。少なくともlibxml-2.2.7が必要です。
これらの関数は、PHP4で追加されました。
- このモジュールは、次の定数を定義します。
+ 本モジュールによりXMLドキュメントをDOM APIにより操作することが可能
+ になります。XMLドキュメント全体を PHPオブジェクトツリーに変換する
+ xmltree関数もサポートされます。現在、このツリー
+ は読み込みのみが可能であり、修正することはできません。しかし、
+ dumpmem を適用することができないため、この制
+ 約には意味がありません。このため、XMLファイルを読み込んで修正した
+ バージョンを書き込みたい場合には、add_node、
+ set_attribute等を使用し、最後に
+ dumpmem 関数を使用して下さい。
+
+ 本モジュールは、次の定数を定義します。
+
XML定数
@@ -27,17 +38,17 @@
XML_ELEMENT_NODE
1
-
+ このノードはエレメントです
XML_ATTRIBUTE_NODE
2
-
+ このノードは属性です
XML_TEXT_NODE
3
-
+ このノードはテキスト部です
XML_CDATA_SECTION_NODE
@@ -52,22 +63,22 @@
XML_ENTITY_NODE
6
-
+ このノードは のようなエンティティです
XML_PI_NODE
7
-
+ このノードは処理命令(PI)です
XML_COMMENT_NODE
8
-
+ このノードはコメントです
XML_DOCUMENT_NODE
9
-
+ このノードはドキュメントです
XML_DOCUMENT_TYPE_NODE
@@ -98,10 +109,235 @@
- このモジュールは、多くのクラスを定義します。DOM XML関数は
- XMLドキュメントの解釈済のツリーを返します。このツリーの各ノードは
- これらのクラスの一つに属するオブジェクトとなります。
+ 本モジュールの各関数は、2種類の方法で使用可能です。オブジェクト指
+ 向的でない手法としては最初の引数としてオブジェクトを渡す方法があり、
+ オブジェクト指向的な方法としては関数をオブジェクトのメソッドとして
+ コールする方法があります。本ドキュメントは、オブジェクト指向的でな
+ い関数を説明しますが、接頭辞 "domxml_" を省略することによりオブジェ
+ クト指向的メソッドを使用することが可能です。以下のテーブルに全ての
+ クラス、その属性とメソッドを示します。
+
+ 本モジュールは、以下のテーブルに示す —プロパティおよびメソッ
+ ドを含む — 多くのクラスを定義します。
+
+
+
+ DomDocument クラス (メソッド)
+
+
+
+ メソッド名
+ 関数名
+ 説明
+
+
+
+
+ root
+ domxml_root
+
+
+
+ children
+ domxml_children
+
+
+
+ add_root
+ domxml_add_root
+
+
+
+ dtd
+ domxml_intdtd
+
+
+
+ dumpmem
+ domxml
+
+
+
+ xpath_init
+ xpath_init
+
+
+
+ xpath_new_context
+ xpath_new_context
+
+
+
+ xptr_new_context
+ xptr_new_context
+
+
+
+
+
+
+
+
+
+ DomDocument クラス (属性)
+
+
+
+ 名前
+ 型
+ 説明
+
+
+
+
+ doc
+ class DomDocument
+ オブジェクト自身
+
+
+ name
+ string
+
+
+
+ url
+ string
+
+
+
+ version
+ string
+ XMLのバージョン
+
+
+ encoding
+ string
+
+
+
+ standalone
+ long
+ このファイルがstandaloneバージョンの場合に1
+
+
+ type
+ long
+ 表中の定数のどれか ...
+
+
+ compression
+ long
+ このファイルが圧縮されている場合に1
+
+
+ charset
+ long
+
+
+
+
+
+
+
+
+
+ DomNode class (メソッド)
+
+
+
+ 名前
+ PHP名
+ 説明
+
+
+
+
+ lastchild
+ domxml_last_child
+
+
+
+ children
+ domxml_children
+
+
+
+ parent
+ domxml_parent
+
+
+
+ new_child
+ domxml_new_child
+
+
+
+ get_attribute
+ domxml_get_attribute
+
+
+
+ set_attribute
+ domxml_set_attribute
+
+
+
+ attributes
+ domxml_attributes
+
+
+
+ node
+ domxml_node
+
+
+
+ set_content
+ domxml_set_content
+
+
+
+
+
+
+
+
+
+ DomNode クラス (属性)
+
+
+
+ 名前
+ 型
+ 説明
+
+
+
+
+ node
+ class DomNode
+ オブジェクト自身
+
+
+ type
+ long
+
+
+
+ name
+ string
+
+
+
+ content
+ string
+
+
+
+
+
+
@@ -186,11 +422,13 @@
- この関数は、strのXMLドキュメントを
- 処理し、クラス"Dom document"のオブジェクトを返します。
- このオブジェクトはプロパティ"doc"(リソース)、
- "version"(文字列)、"type"(long)を有しています。
-
+ この関数は、strのXMLドキュメントを処理し、
+ クラス"Dom document"のオブジェクトを返します。このオブジェクトは
+ 上のリストに示したプロパティを有しています。
+
+
+ xmldocfileも参照下さい。
+
@@ -208,13 +446,15 @@
- この関数は、filenameという名前のXMLドキュメントを
- 解釈し、クラス"Dom document"のオブジェクトを返します。
- このオブジェクトはプロパティ"doc"(リソース)、
- "version"(文字列)を有しています。
-
-
-
+ この関数は、filenameという名前のXMLドキュ
+ メントを解釈し、クラス"Dom document"のオブジェクトを返します。
+ クラス"Dom document"のオブジェクトを返します。このオブジェクトは
+ 上のリストに示したプロパティを有しています。ファイルは読み込みの
+ み可能です。
+
+
+ xmldocも参照下さい。
+
@@ -234,8 +474,13 @@
- この関数は、strのXMLドキュメントを解釈し、
- 処理済のドキュメントとしてPHPオブジェクトのツリーを返します。
+ この関数は、strのXMLドキュメントをパースし、
+ パース済のドキュメントとしてPHPオブジェクトのツリーを返します。他
+ の関数はこのツリーにはアクセスできないため、この関数は他の関数と
+ 異なっています。例えばノードを追加する時のように、このツリーを修
+ 正することには、現在XMLファイルとしてツリーをダンプする手段がない
+ ため意味がありません。この関数は、ファイルを読み込んで定数を調べ
+ たい場合には有用です。
@@ -251,16 +496,53 @@
説明
- string domxml_root
- int
-
- doc
-
-
+ object domxml_root
+ array doc
+
+ この関数は、DOMドキュメントのルートノードを文字列として返します。
+ 現在、他には無視されるコメントのようなノードがあります。
+
- この関数は、ドキュメントのルートノードを文字列として返します。
+ 以下の例は、名前 CHAPTER で要素を有する要素だけを返し、これを出力
+ します。その他のルートノードであるコメントは返されません。
+
+ ルート要素を取得する
+
+<?php
+$xmlstr = "<?xml version='1.0' standalone='yes'?>
+<!DOCTYPE chapter SYSTEM '/share/sgml/Norman_Walsh/db3xml10/db3xml10.dtd'
+[ <!ENTITY sp \"spanish\">
+]>
+<!-- lsfj -->
+<chapter language='en'><title language='en'>Title</title>
+ <para language='ge'>
+ &sp;
+ <!-- comment -->
+ <informaltable language='&sp;'>
+ <tgroup cols='3'>
+ <tbody>
+ <row><entry>a1</entry><entry
+morerows='1'>b1</entry><entry>c1</entry></row>
+<row><entry>a2</entry><entry>c2</entry></row>
+ <row><entry>a3</entry><entry>b3</entry><entry>c3</entry></row>
+ </tbody>
+ </tgroup>
+ </informaltable>
+ </para>
+</chapter>";
+
+if(!$dom = xmldoc($xmlstr)) {
+ echo "Error while parsing the document\n";
+ exit;
+}
+
+$root = $dom->root();
+print_r($root);
+?>
+
+
@@ -276,26 +558,29 @@
説明
- object domxml_addroot
- int
-
- doc_handle
-
-
+ resource domxml_add_root
+ resource doc
string name
- この関数は、ドキュメントにnameという名前の
- ルートノードを追加しオブジェクトを返します。エラーの場合にfalseを
- 返します。
-
+ DOMドキュメントにルート要素ノードを追加し、新規ノードを返します。
+ 要素名は、2番目の引数として指定します。
+
+
+ 簡単なHTMLドキュメントヘッダを作成する
+
+<?php
+$doc = new_xmldoc("1.0");
+$root = $doc->add_root("HTML");
+$head = $root->new_child("HEAD", "");
+$head->new_child("TITLE", "Hier der Titel");
+echo $doc->dumpmem();
+?>
+
+
+
@@ -311,16 +596,16 @@
string domxml_dumpmem
- int
-
- doc_handle
-
-
+ resource doc
+
+ DOM表現からXMLドキュメントを作成します。この関数は、通常、
+ domxml_add_root の例のように最初から新規に
+ DOMドキュメントを構築した後にコールされます。
+
- この関数は、ドキュメントの内容を文字列にダンプし、結果を文字列と
- して返します。エラーの場合にfalseを返します。
+ domxml_add_rootも参照下さい。
@@ -337,50 +622,45 @@
array domxml_attributes
- int
-
- node
-
-
+ resource node
- この関数は、指定したノードの属性のリストを返します。エラーの場合
- にfalseを返します。
+ "dom attribute"型のオブジェクトの配列としてノードの全ての属性を返
+ します。
-
+
- domxml_getattr
+ domxml_get_attribute
- 指定した属性の値を返す
+ 指定したノードの属性の値を返す
説明
- string domxml_getattr
- int
-
- node
-
-
- string attrname
+ object
+ domxml_get_attribute
+ resource node
+ string name
- この関数は、指定した属性attrnameの値を返し
- ます。エラーの場合にfalseを返します。
+ この関数は、指定した名前nameの値を返します。
+
+ domxml_set_attributeも参照下さい。
+
-
+
- domxml_setattr
+ domxml_set_attribute
指定した属性の値を設定する
@@ -389,21 +669,34 @@
説明
- bool domxml_setattr
- int
-
- node
-
-
- string attrname
+ object domxml_set_attribute
+ resource node
+ string name
string value
- この関数は、指定した属性attrnameの値を
- valueに設定します。成功時にtrue、エラー時
- にfalseを返します。
+ 指定したノードの名前 name を有する属性に値
+ を設定します。
+
+ domxml_add_root を例にとると、この例ではノー
+ ドのクラスの関数 set_attribute を単にコール
+ することにより、HEAD要素に属性を追加しています。
+
+ 要素に属性を追加する
+
+<?php
+$doc = new_xmldoc("1.0");
+$root = $doc->add_root("HTML");
+$head = $root->new_child("HEAD", "");
+$head->new_child("TITLE", "Hier der Titel");
+$head->set_attribute("Language", "ge");
+echo $doc->dumpmem();
+?>
+
+
+
@@ -419,42 +712,29 @@
array domxml_children
- int
-
- node
-
-
+ object doc|node
- この関数は、子ノードのリストを配列として返します。配列の各要素に
- はプロパティ "name"、"content"、"node"、"type" が含まれます。
+ ノードの配列としてノードの全ての子ノードを返します。
-
-
-
-
-
- domxml_lastchild
-
- 直近の子ノードを返す
-
-
-
- 説明
-
-
- object domxml_lastchild
- int
-
- node
-
-
-
-
- この関数は、node(省略時はカレントノード)に
- 最も最近追加されたノードをオブジェクトとして返します。
+ 以下の例では、変数 children には XML_ELEMENT
+ 型のノードの一つを有する配列が含まれます。このノードはTITLE要素で
+ す。
+
+ 要素に属性を追加する
+
+<?php
+$doc = new_xmldoc("1.0");
+$root = $doc->add_root("HTML");
+$head = $root->new_child("HEAD", "");
+$head->new_child("TITLE", "Hier der Titel");
+$head->set_attribute("Language", "ge");
+$children = $head->children()
+?>
+
+
@@ -470,95 +750,83 @@
説明
- object domxml_new_child
- int
-
- node_handle
-
-
+ resource domxml_new_child
string name
string content
- この関数は、node_handleで指定したノード(省
- 略時はカレントのノード)に名前がname、内容
- がcontentの子ノードを追加し、子ノードを指
- すオブジェクトを返します。
+ ノードに新規に子ノードを追加し、返します。
-
+
- domxml_node
+ domxml_new_xmldoc
- ノードを作成する
+ 新規に空のドキュメントを作成する
説明
- object domxml_node
- string name
+ object domxml_new_xmldoc
+ string version
+
+ 最初から新規DOMドキュメントを作成し、返します。
+
- この関数は、名前nameを有するノードを作成し、
- オブジェクトとして返します。
+ domxml_add_rootも参照下さい。
-
+
- domxml_new_xmldoc
+ xpath_new_context
- ドキュメントのルートノードを返す
+ xpath コンテキストを新規に作成する
説明
- string domxml_new_xmldoc
- int
-
- doc
-
-
+ object xpath_new_context
+ object dom document
+
+
- この関数は、ドキュメントのルートノードを文字列として返します。
- new_xmldoc も使用可能です。
+ See also
-
+
- domxml_new_parent
+ xpath_eval
- 親のノードを返す
+ xpath 式を評価する
説明
- object domxml_parent
- int
-
- node_handle
-
-
+ array xpath_eval
+ object xpath context
+
+
- この関数は、node_handleで指定したノード(省
- 略時はカレントのノード)の親ノードをオブジェクトとして返します。
+ See also
Index: phpdoc/ja/functions/filesystem.xml
diff -u phpdoc/ja/functions/filesystem.xml:1.28 phpdoc/ja/functions/filesystem.xml:1.29
--- phpdoc/ja/functions/filesystem.xml:1.28 Sun Mar 18 08:36:45 2001
+++ phpdoc/ja/functions/filesystem.xml Wed Mar 28 05:45:34 2001
@@ -676,9 +676,9 @@
すればtrueを返し、そうでなければfalseを返します。
- file_existsはリモートファイルでは動作しません。
- 調査を行うファイルはそのサーバーのファイルシステムからアクセス
- 可能である必要があります。
+ この関数は、リモートファイ
+ ルでは動作しません。調査を行うファイルはそのサーバーのファ
+ イルシステムからアクセス可能である必要があります。
この関数の結果はキャッシュされます。詳細は、
@@ -720,6 +720,11 @@
ません。
+
+ この関数は、リモートファイ
+ ル では動作しません。評価するファイルはサーバのファイルシ
+ ステムによりアクセス可能である必要があります。
+
@@ -761,6 +766,11 @@
UNIXファイルの作成時間は存在しません。
+
+ この関数は、リモートファイ
+ ル では動作しません。評価するファイルはサーバのファイルシ
+ ステムによりアクセス可能である必要があります。
+
@@ -790,6 +800,11 @@
この関数は、Windowsでは動作しません。
+
+ この関数は、リモートファイ
+ ル では動作しません。評価するファイルはサーバのファイルシ
+ ステムによりアクセス可能である必要があります。
+
@@ -813,7 +828,12 @@
この関数の結果はキャッシュされます。詳細は、
clearstatcacheを参照下さい。
-
+
+
+ この関数は、リモートファイ
+ ル では動作しません。評価するファイルはサーバのファイルシ
+ ステムによりアクセス可能である必要があります。
+
この関数は、Windowsでは動作しません。
@@ -843,6 +863,11 @@
この関数の結果はキャッシュされます。詳細は、
clearstatcacheを参照下さい。
+
+ この関数は、リモートファイ
+ ル では動作しません。評価するファイルはサーバのファイルシ
+ ステムによりアクセス可能である必要があります。
+
この関数は、ファイルのブロックデータが書き込まれた時間を返します。
@@ -876,6 +901,11 @@
この関数の結果はキャッシュされます。詳細は、
clearstatcacheを参照下さい。
+
+ この関数は、リモートファイ
+ ル では動作しません。評価するファイルはサーバのファイルシ
+ ステムによりアクセス可能である必要があります。
+
この関数は、Windowsでは動作しません。
@@ -900,6 +930,11 @@
ファイルの許可属性を返し、エラーの場合はfalseを返します。
+
+ この関数は、リモートファイ
+ ル では動作しません。評価するファイルはサーバのファイルシ
+ ステムによりアクセス可能である必要があります。
+
この関数の結果はキャッシュされます。詳細は、
clearstatcacheを参照下さい。
@@ -912,7 +947,6 @@
-
filesize
@@ -933,6 +967,11 @@
この関数の結果はキャッシュされます。詳細は、
clearstatcacheを参照下さい。
+
+ この関数は、リモートファイ
+ ル では動作しません。評価するファイルはサーバのファイルシ
+ ステムによりアクセス可能である必要があります。
+
@@ -959,8 +998,13 @@
この関数の結果はキャッシュされます。詳細は、
- clearstatcacheゥϧǤ؋さい。
+ clearstatcache を参照下さい。
+
+ この関数は、リモートファイ
+ ル では動作しません。評価するファイルはサーバのファイルシ
+ ステムによりアクセス可能である必要があります。
+
@@ -991,7 +1035,8 @@
flockは、fpを用いて
操作を行います。これは、オープンされたファイルポインタである必要が
- あります。operationは、次の値のどれかとなります。
+ あります。operationは、次の値のどれかとな
+ ります。
@@ -1660,7 +1705,12 @@
filenameが存在して、かつそれが
ディレクトリであればtrueを返します。
-
+
+ この関数は、リモートファイ
+ ルでは動作しません。評価されるファイルはサーバのファイルシ
+ ステムによりアクセス可能である必要があります。
+
+
この関数の結果はキャッシュされます。詳細は、
clearstatcacheを参照下さい。
@@ -1692,6 +1742,11 @@
この関数の結果はキャッシュされます。詳細は、
clearstatcache を参照下さい。
+
+ この関数は、リモートファイ
+ ルでは動作しません。評価されるファイルはサーバのファイルシ
+ ステムによりアクセス可能である必要があります。
+
is_dirおよびis_link
も参照下さい。
@@ -1759,6 +1814,11 @@
is_dir, is_file
も参照下さい。
+
+ この関数は、リモートファイ
+ ルでは動作しません。評価されるファイルはサーバのファイルシ
+ ステムによりアクセス可能である必要があります。
+
この関数は、Windowsシステムでは動作しません。
@@ -1793,6 +1853,11 @@
この関数の結果はキャッシュされます。詳細は、
clearstatcacheを参照下さい。
+
+ この関数は、リモートファイ
+ ルでは動作しません。評価されるファイルはサーバのファイルシ
+ ステムによりアクセス可能である必要があります。
+
is_writableも参照下さい。
@@ -1827,6 +1892,11 @@
この関数の結果はキャッシュされます。詳細は、
clearstatcacheを参照下さい。
+
+ この関数は、リモートファイ
+ ルでは動作しません。評価されるファイルはサーバのファイルシ
+ ステムによりアクセス可能である必要があります。
+
is_readableも参照下さい。
@@ -1875,7 +1945,7 @@
filenameという名前のファイルがHTTP POSTにより
アップロードされた場合にtrueを返します。この関数は、悪意のあるユー
ザーがスクリプトをだまして動作しなくなるようなファイル、例えば、
- /etc/passwd を指定することを防͢したい場合に
+ /etc/passwd を指定することを防止したい場合に
有用です。
Index: phpdoc/ja/functions/pdf.xml
diff -u phpdoc/ja/functions/pdf.xml:1.20 phpdoc/ja/functions/pdf.xml:1.21
--- phpdoc/ja/functions/pdf.xml:1.20 Thu Mar 22 07:48:05 2001
+++ phpdoc/ja/functions/pdf.xml Wed Mar 28 05:45:34 2001
@@ -324,11 +324,12 @@
<?php
-$fp = fopen("test.pdf", "r");
+$len = filesize($filename);
header("Content-type: application/pdf");
-fpassthru($fp);
-fclose($fp);
-?>
+header("Content-Length: $len");
+header("Content-Disposition: inline; filename=foo.pdf");
+readfile($filename);
+?>
Index: phpdoc/ja/functions/strings.xml
diff -u phpdoc/ja/functions/strings.xml:1.30 phpdoc/ja/functions/strings.xml:1.31
--- phpdoc/ja/functions/strings.xml:1.30 Thu Mar 22 07:48:05 2001
+++ phpdoc/ja/functions/strings.xml Wed Mar 28 05:45:34 2001
@@ -2780,14 +2780,15 @@
str2の中の文字からなる最初のセグメントの
長さを返します。
-
-
-strspn ("42 is the answer, what is the question ...", "1234567890");
-
-
- このコードは、結果として2を返します。
-
-
+
+
+
+$var = strspn ("42 is the answer, what is the question ...", "1234567890");
+
+
+ このコードは、$varに2を代入します。これは、
+ "1234567890"からの文字を含む最長の部分が "42" であるためです。
+
strcspn も参照下さい。
Index: phpdoc/ja/pear/pear.xml
diff -u phpdoc/ja/pear/pear.xml:1.2 phpdoc/ja/pear/pear.xml:1.3
--- phpdoc/ja/pear/pear.xml:1.2 Sat Mar 10 21:56:44 2001
+++ phpdoc/ja/pear/pear.xml Wed Mar 28 05:45:34 2001
@@ -15,6 +15,7 @@
PEAR基底クラス
+ require_once "PEAR.php";
class classname extends PEAR { ... }
Index: phpdoc/ja/appendices/resources.xml
+++ phpdoc/ja/appendices/resources.xml
PHPのリソース型
以下にPHPのリソースを生成、使用、破棄するための関数の一覧を示します。
ある変数がリソースであるかどうかを調べるには、
is_resource を使用し、この変数のリソースの型を
調べるには、get_resource_type を使用します。
リソース型
リソース型の名前
生成する関数
使用する関数
破棄する関数
説明
aspell
aspell_new
aspell_check,
aspell_check_raw,
aspell_suggest
None
Aspell 辞書
bzip2
bzopen
bzerrno,
bzerror,
bzerrstr,
bzflush,
bzread,
bzwrite
bzclose
Bzip2 ファイル
COM
com_load
com_invoke,
com_propget,
com_get,
com_propput,
com_set,
com_propput
None
COM オブジェクトリファレンス
cpdf
cpdf_open
cpdf_page_init,
cpdf_finalize_page,
cpdf_finalize,
cpdf_output_buffer,
cpdf_save_to_file,
cpdf_set_current_page,
cpdf_begin_text,
cpdf_end_text,
cpdf_show,
cpdf_show_xy,
cpdf_text,
cpdf_set_font,
cpdf_set_leading,
cpdf_set_text_rendering,
cpdf_set_horiz_scaling,
cpdf_set_text_rise,
cpdf_set_text_matrix,
cpdf_set_text_pos,
cpdf_set_text_pos,
cpdf_set_word_spacing,
cpdf_continue_text,
cpdf_stringwidth,
cpdf_save,
cpdf_translate,
cpdf_restore,
cpdf_scale,
cpdf_rotate,
cpdf_setflat,
cpdf_setlinejoin,
cpdf_setlinecap,
cpdf_setmiterlimit,
cpdf_setlinewidth,
cpdf_setdash,
cpdf_moveto,
cpdf_rmoveto,
cpdf_curveto,
cpdf_lineto,
cpdf_rlineto,
cpdf_circle,
cpdf_arc,
cpdf_rect,
cpdf_closepath,
cpdf_stroke,
cpdf_closepath_fill_stroke,
cpdf_fill_stroke,
cpdf_clip,
cpdf_fill,
cpdf_setgray_fill,
cpdf_setgray_stroke,
cpdf_setgray,
cpdf_setrgbcolor_fill,
cpdf_setrgbcolor_stroke,
cpdf_setrgbcolor,
cpdf_add_outline,
cpdf_set_page_animation,
cpdf_import_jpeg,
cpdf_place_inline_image,
cpdf_add_annotation
cpdf_close
CPDFライブラリのPDFドキュメント
cpdf outline
curl
curl_init
curl_init,
curl_exec
curl_close
Curl セッション
dbm
dbmopen
dbmexists,
dbmfetch,
dbminsert,
dbmreplace,
dbmdelete,
dbmfirstkey,
dbmnextkey
dbmclose
DBMデータベースへのリンク
dba
dba_popen
dba_delete,
dba_exists,
dba_fetch,
dba_firstkey,
dba_insert,
dba_nextkey,
dba_optimize,
dba_replace,
dba_sync
dba_close
DBAベースへのリンク
dba persistent
dba_open
dba_delete,
dba_exists,
dba_fetch,
dba_firstkey,
dba_insert,
dba_nextkey,
dba_optimize,
dba_replace,
dba_sync
None
DBAベースへの持続的なリンク
dbase
dbase_open
dbase_pack,
dbase_add_record,
dbase_replace_record,
dbase_delete_record,
dbase_get_record,
dbase_get_record_with_names,
dbase_numfields,
dbase_numrecords
dbase_close
Link to Dbase base
domxml document
domxml node
domxml attribute
xpath context
xpath object
fdf
fdf_open
fdf_create,
fdf_save,
fdf_get_value,
fdf_set_value,
fdf_next_field_name,
fdf_set_ap,
fdf_set_status,
fdf_get_status,
fdf_set_file,
fdf_get_file,
fdf_set_flags,
fdf_set_opt,
fdf_set_submit_form_action,
fdf_set_javascript_action
fdf_close
FDF File
ftp
ftp_connect
ftp_login,
ftp_pwd,
ftp_cdup,
ftp_chdir,
ftp_mkdir,
ftp_rmdir,
ftp_nlist,
ftp_rawlist,
ftp_systype,
ftp_pasv,
ftp_get,
ftp_fget,
ftp_put,
ftp_fput,
ftp_size,
ftp_mdtm,
ftp_rename,
ftp_delete,
ftp_site
ftp_quit
FTP stream
gd
imagecreate,
imagecreatefromgif,
imagecreatefromjpeg,
imagecreatefrompng,
imagecreatefromwbmp,
imagecreatefromstring
imagearc,
imagechar,
imagecharup,
imagecolorallocate,
imagecolorat,
imagecolorclosest,
imagecolorexact,
imagecolorresolve,
imagegammacorrect,
imagegammacorrect,
imagecolorset,
imagecolorsforindex,
imagecolorstotal,
imagecolortransparent,
imagecopy,
imagecopyresized,
imagedashedline,
imagefill,
imagefilledpolygon,
imagefilledrectangle,
imagefilltoborder,
imagegif,
imagepng,
imagejpeg,
imagewbmp,
imageinterlace,
imageline,
imagepolygon,
imagepstext,
imagerectangle,
imagesetpixel,
imagestring,
imagestringup,
imagesx,
imagesy,
imagettftext
imagedestroy
GD Image
gd font
imageloadfont
imagechar,
imagecharup,
imagefontheight
None
Font for GD
gd PS font
imagepsloadfont
imagepstext,
imagepsslantfont,
imagepsextendfont,
imagepsencodefont,
imagepsbbox
imagepsfreefont
PS font for GD
gd PS encoding
hyperwave link
gmp_init
gmp_intval,
gmp_strval,
gmp_add,
gmp_sub,
gmp_mul,
gmp_div_q,
gmp_div_r,
gmp_div_qr,
gmp_div,
gmp_mod,
gmp_divexact,
gmp_cmp,
gmp_neg,
gmp_abs,
gmp_sign,
gmp_fact,
gmp_sqrt,
gmp_sqrtrm,
gmp_perfect_square,
gmp_pow,
gmp_powm,
gmp_prob_prime,
gmp_gcd,
gmp_gcdext,
gmp_invert,
gmp_legendre,
gmp_jacobi,
gmp_random,
gmp_and,
gmp_or,
gmp_xor,
gmp_setbit,
gmp_clrbit,
gmp_scan0,
gmp_scan1,
gmp_popcount,
gmp_hamdist
None
Nombre GMP
hyperwave link persistent
hw_connect
hw_children,
hw_childrenobj,
hw_cp,
hw_deleteobject,
hw_docbyanchor,
hw_docbyanchorobj,
hw_errormsg,
hw_edittext,
hw_error,
hw_getparents,
hw_getparentsobj,
hw_getchildcoll,
hw_getchildcollobj,
hw_getremote,
hw_getremotechildren,
hw_getsrcbydestobj,
hw_getobject,
hw_getandlock,
hw_gettext,
hw_getobjectbyquery,
hw_getobjectbyqueryobj,
hw_getobjectbyquerycoll,
hw_getobjectbyquerycollobj,
hw_getchilddoccoll,
hw_getchilddoccollobj,
hw_getanchors,
hw_getanchorsobj,
hw_mv,
hw_incollections,
hw_info,
hw_inscoll,
hw_insdoc,
hw_insertdocument,
hw_insertobject,
hw_mapid,
hw_modifyobject,
hw_pipedocument,
hw_unlock,
hw_who,
hw_getusername
hw_close,hw_free_document
Link to Hyperwave server
hyperwave document
hw_pconnect
hw_children,
hw_childrenobj,
hw_cp,
hw_deleteobject,
hw_docbyanchor,
hw_docbyanchorobj,
hw_errormsg,
hw_edittext,
hw_error,
hw_getparents,
hw_getparentsobj,
hw_getchildcoll,
hw_getchildcollobj,
hw_getremote,
hw_getremotechildren,
hw_getsrcbydestobj,
hw_getobject,
hw_getandlock,
hw_gettext,
hw_getobjectbyquery,
hw_getobjectbyqueryobj,
hw_getobjectbyquerycoll,
hw_getobjectbyquerycollobj,
hw_getchilddoccoll,
hw_getchilddoccollobj,
hw_getanchors,
hw_getanchorsobj,
hw_mv,
hw_incollections,
hw_info,
hw_inscoll,
hw_insdoc,
hw_insertdocument,
hw_insertobject,
hw_mapid,
hw_modifyobject,
hw_pipedocument,
hw_unlock,
hw_who,
hw_getusername
None
Persistant link to Hyperwave server
icap
hw_cp,
hw_docbyanchor,
hw_getremote,
hw_getremotechildren
hw_children,
hw_childrenobj,
hw_getparents,
hw_getparentsobj,
hw_getchildcoll,
hw_getchildcollobj,
hw_getremote,
hw_getsrcbydestobj,
hw_getandlock,
hw_gettext,
hw_getobjectbyquerycoll,
hw_getobjectbyquerycollobj,
hw_getchilddoccoll,
hw_getchilddoccollobj,
hw_getanchors,
hw_getanchorsobj,
hw_inscoll,
hw_pipedocument,
hw_unlock
hw_deleteobject
Hyperwave object
imap
icap_open
icap_fetch_event,
icap_list_events,
icap_store_event,
icap_snooze,
icap_list_alarms,
icap_delete_event
icap_close
Link to icap server
imap persistent
imap_open
imap_append,
imap_body,
imap_check,
imap_createmailbox,
imap_delete,
imap_deletemailbox,
imap_expunge,
imap_fetchbody,
imap_fetchstructure,
imap_headerinfo,
imap_header,
imap_headers,
imap_listmailbox,
imap_getmailboxes,
imap_get_quota,
imap_status,
imap_listsubscribed,
imap_set_quota,
imap_set_quota,
imap_getsubscribed,
imap_mail_copy,
imap_mail_move,
imap_num_msg,
imap_num_recent,
imap_ping,
imap_renamemailbox,
imap_reopen,
imap_subscribe,
imap_undelete,
imap_unsubscribe,
imap_scanmailbox,
imap_mailboxmsginfo,
imap_fetchheader,
imap_uid,
imap_msgno,
imap_search,
imap_fetch_overview
imap_close
Link to IMAP, POP3 serveur
imap chain persistent
ingres
ingres persistent
ingres_connect
ingres_query,
ingres_num_rows,
ingres_num_fields,
ingres_field_name,
ingres_field_type,
ingres_field_nullable,
ingres_field_length,
ingres_field_precision,
ingres_field_scale,
ingres_fetch_array,
ingres_fetch_row,
ingres_fetch_object,
ingres_rollback,
ingres_commit,
ingres_autocommit
ingres_close
Persistant link to ingresII base
interbase result
ingres_pconnect
ingres_query,
ingres_num_rows,
ingres_num_fields,
ingres_field_name,
ingres_field_type,
ingres_field_nullable,
ingres_field_length,
ingres_field_precision,
ingres_field_scale,
ingres_fetch_array,
ingres_fetch_row,
ingres_fetch_object,
ingres_rollback,
ingres_commit,
ingres_autocommit
None
Link to ingresII base
interbase query
ibase_query
ibase_fetch_row,
ibase_fetch_object,
ibase_field_info,
ibase_num_fields
ibase_free_result
Interbase Result
interbase blob
ibase_prepare
ibase_execute
ibase_free_query
Interbase query
interbase link
interbase link persistent
ibase_connect
ibase_query,
ibase_prepare,
ibase_trans
ibase_close
Link to Interbase database
interbase transaction
ibase_pconnect
ibase_query,
ibase_prepare,
ibase_trans
None
Persistant link to Interbase database
java
ibase_trans
ibase_commit
ibase_rollback
Interbase transaction
ldap result
ldap link
ldap_read
ldap_add,
ldap_compare,
ldap_bind,
ldap_count_entries,
ldap_delete,
ldap_errno,
ldap_error,
ldap_first_attribute,
ldap_first_entry,
ldap_get_attributes,
ldap_get_dn,
ldap_get_entries,
ldap_get_values,
ldap_get_values_len,
ldap_get_option,
ldap_list,
ldap_modify,
ldap_mod_add,
ldap_mod_replace,
ldap_next_attribute,
ldap_next_entry,
ldap_mod_del,
ldap_set_option,
ldap_unbind
ldap_free_result
ldap search result
mcal
ldap_connect,
ldap_search
ldap_count_entries,
ldap_first_attribute,
ldap_first_entry,
ldap_get_attributes,
ldap_get_dn,
ldap_get_entries,
ldap_get_values,
ldap_get_values_len,
ldap_next_attribute,
ldap_next_entry
ldap_close
ldap connexion
msql query
mcal_open,
mcal_popen
mcal_create_calendar,
mcal_rename_calendar,
mcal_rename_calendar,
mcal_delete_calendar,
mcal_fetch_event,
mcal_list_events,
mcal_append_event,
mcal_store_event,
mcal_delete_event,
mcal_list_alarms,
mcal_event_init,
mcal_event_set_category,
mcal_event_set_title,
mcal_event_set_description,
mcal_event_set_start,
mcal_event_set_end,
mcal_event_set_alarm,
mcal_event_set_class,
mcal_next_recurrence,
mcal_event_set_recur_none,
mcal_event_set_recur_daily,
mcal_event_set_recur_weekly,
mcal_event_set_recur_monthly_mday,
mcal_event_set_recur_monthly_wday,
mcal_event_set_recur_yearly,
mcal_fetch_current_stream_event,
mcal_event_add_attribute,
mcal_expunge
mcal_close
Link to calendar server
msql link
msql_query
msql,
msql_affected_rows,
msql_data_seek,
msql_dbname,
msql_fetch_array,
msql_fetch_field,
msql_fetch_object,
msql_fetch_row,
msql_fieldname,
msql_field_seek,
msql_fieldtable,
msql_fieldtype,
msql_fieldflags,
msql_fieldlen,
msql_num_fields,
msql_num_rows,
msql_numfields,
msql_numrows,
msql_result
msql_free_result,msql_free_result
mSQL result
msql link persistent
msql_connect
msql,
msql_create_db,
msql_createdb,
msql_drop_db,
msql_drop_db,
msql_select_db,
msql_select_db
msql_close
Link to mSQL database
mssql result
msql_pconnect
msql,
msql_create_db,
msql_createdb,
msql_drop_db,
msql_drop_db,
msql_select_db,
msql_select_db
None
Persistant link to mSQL
mssql link
mssql_query
mssql_data_seek,
mssql_fetch_array,
mssql_fetch_field,
mssql_fetch_object,
mssql_fetch_row,
mssql_field_length,
mssql_field_name,
mssql_field_seek,
mssql_field_type,
mssql_num_fields,
mssql_num_rows,
mssql_result
mssql_free_result
Microsft SQL Server result
mssql link persistent
mssql_connect
mssql_query,
mssql_select_db
mssql_close
Link to Microsft SQL Server database
mysql result
mssql_pconnect
mssql_query,
mssql_select_db
None
Persistant link to Microsft SQL Server
mysql link
mysql_db_query,
mysql_list_dbs,
mysql_list_fields,
mysql_list_tables,
mysql_query
mysql_data_seek,
mysql_db_name,
mysql_fetch_array,
mysql_fetch_assoc,
mysql_fetch_field,
mysql_fetch_lengths,
mysql_fetch_object,
mysql_fetch_row,
mysql_fetch_row,
mysql_field_flags,
mysql_field_name,
mysql_field_len,
mysql_field_seek,
mysql_field_table,
mysql_field_type,
mysql_num_fields,
mysql_num_rows,
mysql_result,
mysql_tablename
mysql_free_result
MySQL result
mysql link persistent
mysql_connect
mysql_affected_rows,
mysql_change_user,
mysql_create_db,
mysql_data_seek,
mysql_db_name,
mysql_db_query,
mysql_drop_db,
mysql_errno,
mysql_error,
mysql_insert_id,
mysql_list_dbs,
mysql_list_fields,
mysql_list_tables,
mysql_query,
mysql_result,
mysql_select_db,
mysql_tablename
mysql_close
Link to MySQL database
oci8 statement
mysql_pconnect
mysql_affected_rows,
mysql_change_user,
mysql_create_db,
mysql_data_seek,
mysql_db_name,
mysql_db_query,
mysql_drop_db,
mysql_errno,
mysql_error,
mysql_insert_id,
mysql_list_dbs,
mysql_list_fields,
mysql_list_tables,
mysql_query,
mysql_result,
mysql_select_db,
mysql_tablename
None
Persistant link to MySQL database
oci8 connection
ocinewdescriptor
ocirollback,
ocinewdescriptor,
ocirowcount,
ocidefinebyname,
ocibindbyname,
ociexecute,
ocinumcols,
ociresult,
ocifetch,
ocifetchinto,
ocifetchstatement,
ocicolumnisnull,
ocicolumnname,
ocicolumnsize,
ocicolumntype,
ocistatementtype,
ocierror
ocifreestatement
Oracle Cursor
oci8 descriptor
ocilogon,
ociplogon,
ocinlogon
ocicommit,
ociserverversion,
ocinewcursor,
ociparse,
ocierror
ocilogoff
Link to Oracle database
oci8 server
oci8 session
odbc result
odbc link
odbc_prepare
odbc_binmode,
odbc_cursor,
odbc_execute,
odbc_fetch_into,
odbc_fetch_row,
odbc_field_name,
odbc_field_num,
odbc_field_type,
odbc_field_len,
odbc_field_precision,
odbc_field_scale,
odbc_longreadlen,
odbc_num_fields,
odbc_num_rows,
odbc_result,
odbc_result_all,
odbc_setoption
odbc_free_result
ODBC result
odbc link persistent
odbc_connect
odbc_autocommit,
odbc_commit,
odbc_error,
odbc_errormsg,
odbc_exec,
odbc_tables,
odbc_tableprivileges,
odbc_do,
odbc_prepare,
odbc_columns,
odbc_columnprivileges,
odbc_procedurecolumns,
odbc_specialcolumns,
odbc_rollback,
odbc_setoption,
odbc_gettypeinfo,
odbc_primarykeys,
odbc_foreignkeys,
odbc_procedures,
odbc_statistics
odbc_close
Link to ODBC database
velocis link
odbc_connect
odbc_autocommit,
odbc_commit,
odbc_error,
odbc_errormsg,
odbc_exec,
odbc_tables,
odbc_tableprivileges,
odbc_do,
odbc_prepare,
odbc_columns,
odbc_columnprivileges,
odbc_procedurecolumns,
odbc_specialcolumns,
odbc_rollback,
odbc_setoption,
odbc_gettypeinfo,
odbc_primarykeys,
odbc_foreignkeys,
odbc_procedures,
odbc_statistics
None
Persistant link to ODBC database
velocis result
OpenSSL key
OpenSSL X.509
openssl_get_privatekey,
openssl_get_publickey
openssl_sign,
openssl_seal,
openssl_open,
openssl_verify
openssl_free_key
OpenSSL key
oracle cursor
oracle link
ora_open
ora_bind,
ora_columnname,
ora_columnsize,
ora_columntype,
ora_error,
ora_errorcode,
ora_exec,
ora_fetch,
ora_fetch_into,
ora_getcolumn,
ora_numcols,
ora_numrows,
ora_parse
ora_close
oracle cursor
oracle link persistent
ora_logon
ora_do,
ora_error,
ora_errorcode,
ora_rollback,
ora_commitoff,
ora_commiton,
ora_open,
ora_commit
ora_logoff
Link to oracle database
pdf image
ora_plogon
ora_do,
ora_error,
ora_errorcode,
ora_rollback,
ora_commitoff,
ora_commiton,
ora_open,
ora_commit
None
Persistant link to oracle database
pdf outline
pdf_open_image,
pdf_open_image_file,
pdf_open_memory_image
pdf_get_image_height,
pdf_get_image_width,
pdf_open_CCITT,
pdf_place_image
pdf_close_image
Image in PDF file
pdf document
pgsql link
pdf_new
pdf_add_bookmark,
pdf_add_launchlink,
pdf_add_locallink,
pdf_add_note,
pdf_add_pdflink,
pdf_add_weblink,
pdf_arc,
pdf_attach_file,
pdf_begin_page,
pdf_circle,
pdf_clip,
pdf_closepath,
pdf_closepath_fill_stroke,
pdf_closepath_stroke,
pdf_concat,
pdf_continue_text,
pdf_curveto,
pdf_end_page,
pdf_endpath,
pdf_fill,
pdf_fill_stroke,
pdf_findfont,
pdf_get_buffer,
pdf_get_image_height,
pdf_get_image_width,
pdf_get_parameter,
pdf_get_value,
pdf_lineto,
pdf_moveto,
pdf_open_ccitt,
pdf_open_file,
pdf_open_image_file,
pdf_place_image,
pdf_rect,
pdf_restore,
pdf_rotate,
pdf_save,
pdf_scale,
pdf_setdash,
pdf_setflat,
pdf_setfont,
pdf_setgray,
pdf_setgray_fill,
pdf_setgray_stroke,
pdf_setlinecap,
pdf_setlinejoin,
pdf_setlinewidth,
pdf_setmiterlimit,
pdf_setpolydash,
pdf_setrgbcolor,
pdf_setrgbcolor_fill,
pdf_setrgbcolor_stroke,
pdf_set_border_color,
pdf_set_border_dash,
pdf_set_border_style,
pdf_set_char_spacing,
pdf_set_duration,
pdf_set_font,
pdf_set_horiz_scaling,
pdf_set_parameter,
pdf_set_text_pos,
pdf_set_text_rendering,
pdf_set_value,
pdf_set_word_spacing,
pdf_show,
pdf_show_boxed,
pdf_show_xy,
pdf_skew,
pdf_stringwidth,
pdf_stroke,
pdf_translate,
pdf_open_memory_image
pdf_close,pdf_delete
PDF document
pgsql link persistent
pg_connect
pg_cmdtuples,
pg_dbname,
pg_end_copy,
pg_errormessage,
pg_host,
pg_locreate,
pg_loexport,
pg_loimport,
pg_loopen,
pg_lounlink,
pg_options,
pg_port,
pg_put_line,
pg_set_client_encoding,
pg_client_encoding,
pg_trace,
pg_untrace,
pg_tty
pg_close
Link to PostGreSQL database
pgsql result
pg_pconnect
pg_cmdtuples,
pg_dbname,
pg_end_copy,
pg_errormessage,
pg_host,
pg_locreate,
pg_loexport,
pg_loimport,
pg_loopen,
pg_lounlink,
pg_options,
pg_port,
pg_put_line,
pg_set_client_encoding,
pg_client_encoding,
pg_trace,
pg_untrace,
pg_tty
None
Persistant link to PostGreSQL database
pgsql large object
pg_exec
pg_fetch_array,
pg_fetch_object,
pg_fieldisnull,
pg_fetch_row,
pg_fieldname,
pg_fieldnum,
pg_fieldprtlen,
pg_fieldsize,
pg_fieldtype,
pg_getlastoid,
pg_numfields,
pg_result,
pg_numrows
pg_freeresult
PostGreSQL result
pgsql string
pg_getlastoid,
pg_loimport,
pg_loimport
pg_loopen,
pg_getlastoid,
pg_locreate,
pg_loexport,
pg_loread,
pg_loreadall,
pg_lounlink,
pg_lowrite
pg_loclose
PostGreSQL Large Object
printer
printer pen
printer font
printer brush
pspell
pspell config
pspell_new,
pspell_new_config,
pspell_new_personal
pspell_add_to_personal,
pspell_add_to_session,
pspell_check,
pspell_clear_session,
pspell_config_ignore,
pspell_config_mode,
pspell_config_personal,
pspell_config_repl,
pspell_config_runtogether,
pspell_config_save_repl,
pspell_save_wordlist,
pspell_store_replacement,
pspell_suggest
None
pspell dictionnary
Sablotron XSLT
pspell_config_create
pspell_new_config
None
pspell configuration
shmop
xslt_create
xslt_closelog,
xslt_openlog,
xslt_run,
xslt_set_sax_handler
xslt_free
XSLT parser
sockets file descriptor set
shm_open
shm_read,
shm_write,
shm_size,
shm_delete
shm_close
sockets i/o vector
socket
accept_connect,
bind,
connect,
listen,
read,
write
close
Socket
dir
file
dir
readdir,
rewinddir
closedir
Dir handle
pipe
fopen
feof,
fflush,
fgetc,
fgetcsv,
fgets,
fgetss,
flock,
fpassthru,
fputs,
fwrite,
fread,
fseek,
ftell,
fstat,
ftruncate,
set_file_buffer,
rewind
fclose
File handle
socket
popen
feof,
fflush,
fgetc,
fgetcsv,
fgets,
fgetss,
fpassthru,
fputs,
fwrite,
fread
pclose
Process handle
sybase-db link
fsockopen
fflush,
fgetc,
fgetcsv,
fgets,
fgetss,
fpassthru,
fput