text
stringlengths
1
254
output
stringlengths
2
255
(PHP 3 = 3.0.3, 4.0.5 - 4.3.0 only)
(PHP 3 = 3.0.3, 4.0.5 - 4.3.0 only)
Prev
この関数は、 com_get() へのエイリアスです。
(PHP 3 = 3.0.3, 4.0.5 - 4.3.0 only)
(PHP 3 = 3.0.3, 4.0.5 - 4.3.0 only)
Prev
この関数は、 com_set() へのエイリアスです。
(PHP 3 = 3.0.3, 4.0.5 - 4.3.0 only)
(PHP 3 = 3.0.3, 4.0.5 - 4.3.0 only)
Prev
この関数は、 com_set() へのエイリアスです。
Prev
(4.1.0 - 4.3.0 only)
Decreases the components reference counter.
コンポーネントリファレンスカウンタを減らします。
(PHP 3 = 3.0.3, 4.0.5 - 4.3.0 only)
(PHP 3 = 3.0.3, 4.0.5 - 4.3.0 only)
Returns the newly set value if succeeded, FALSE on error.
com_object が指すCOMコンポーネントの property の値を設定します。成功時に新規に設 定された値、エラーの場合に FALSE を返します。
(PHP 3 = 3.0.7, PHP 4)
(PHP 3 = 3.0.7, PHP 4)
See the Connection Handling description in the Features chapter for a complete explanation.
クライアントとの接続が断となった場合に TRUE を返します。 詳細な説明に関しては、 機能 に関する章の 接続処理 に関する記述を参照下さい。
(PHP 3 = 3.0.7, PHP 4)
(PHP 3 = 3.0.7, PHP 4)
See the Connection Handling description in the Features chapter for a complete explanation.
接続ステータスのビットフィールドを返します。 詳細な説明に関しては、 機能 に関す る章の 接続処理 に関する記述を参照下さい。
Prev
(PHP 3 = 3.0.7, PHP 4 = 4.0.4)
Returns TRUE if script timed out.
スクリプトがタイムアウトした場合に TRUE を返します。
This function is deprecated, and doesn 't even exist anymore as of 4.0.5.
この関数は、過去のものであり、4.0.5以降には存在しません。
Prev
詳細な説明に関しては、 機能 に関す る章の 接続処理 に関する記述を参照下さい。
Prev
(PHP 4 = 4.0.4)
(PHP 4 = 4.0.4)
constant() は、 name で指 定した定数の値を返します。
constant() is useful if you need to retrieve the value of a constant, but do not know it's name. i.e.
constant() はある定数の値を取得する必要がある が、その名前が不明な場合に有用です。これは、定数が変数に保存され ているか、関数により返されるかの場合です。
Example 1. constant() example
例 1 constant() の例
See also define(), defined() and the section on Constants.
define(), defined(), constant() および 定数 の節を参照下さい。
(PHP 3 = 3.0.6, PHP 4)
(PHP 3 = 3.0.6, PHP 4)
The from and to arguments are single characters that represent the source and target Cyrillic character sets.
この関数は、指定した文字列を Cyrillic 文字コードから他のコードに 変換します。 from および to 引数 ソースおよびターゲット の Cyrillic 文字コードを表す文字です。 サポートされている型を以下に示します。
Returns TRUE if the copy succeeded, FALSE otherwise.
(PHP 3, PHP 4)
if (!copy($file, $file .'.bak')) {print ("failed to copy $file... br \n");}
ファイルのコピーを作成します。コピーが成功すると TRUE 、 そうでなければ FALSE を返します。
As of PHP 4.3.0, both source and dest may be URLs if the "fopen wrappers" have been enabled.
例 1 copy() の例
If dest is an URL, the copy operation may fail if the wrapper does not support overwriting of existing files.
コピー先のファイルが既に存在する場合、上書きされます。
See also move_uploaded_file(), rename(), and the section of the manual about handling file uploads.
move_uploaded_file() 、 rename() 、 ファイルアップロード処理 に関するマニュアルのセクションも参照下さい。
Prev
(PHP 4 = 4.1.0)
Returns the hyperbolic cosine of arg, defined as (exp(arg) + exp(-arg)) / 2.
(exp(arg) + exp(-arg))/2 で定義される arg の双曲線余弦を返します。
Prev
cos(), acosh(), sin(), tan() も参照下さい。
(PHP 3, PHP 4)
(PHP 3, PHP 4)
The arg parameter is in radians.
argのコサインをラジアンで返します。
Prev
sin() と tan() も参照下さい。
Prev
(PHP 4)
Counts the number of occurrences of every byte-value (0..255) in string and returns it in various ways.
string において各バイト値(0..255)が存在する数 を数え、様々な手法で返します。 オプションの引数 mode のデフォルトは0です。 mode により以下の値のどれかを返します。
Depending on mode count_chars() returns one of the following:
0 - 各バイト値をキー、各バイトの出現回数を値とする配列。
1 - same as 0 but only byte-values with a frequency greater than zero are listed.
1 - 0と同じですが、各バイト値の出現回数がゼロより大きいものの 一覧となります。
3 - a string containing all used byte-values is returned.
2 - 0と同じですが、各バイト値の出現回数がゼロであるものの 一覧となります。
See also strpos() and substr_count().
3 - 使用されている全てのバイト値を有する文字列が返されます。
convert_cyr_string
4 - 使用されていない全てのバイト値を有する文字列が返されます。
(PHP 3, PHP 4)
(PHP 3, PHP 4)
If var is not an array, 1 will be returned (exception: count (NULL) equals 0).
var に含まれる要素の数を返します。 通常、 var は配列です(他のものには、1つの要素しか ありませんから)。
count() may return 0 for a variable that isn't set, but it may also return 0 for a variable that has been initialized with an empty array.
変数が配列でない場合は 1 を返します。 (例外: count( NULL) は 0 と等価)
Please see the Arrays section of the manual for a detailed explanation of how arrays are implemented and used in PHP.
count() は、セットされていない変数に関して0を返 しますが、変数が空の配列として初期化されている場合にも0を返します。 ある変数がセットされているかどうかを調べるには、 isset() を使用してください。
$a[ 0] = 1; $a[1] = 3; $a[2] = 5; $result = count ($a); / / $result == 3 $b[0] = 7; $b[5] = 9; $b[10] = 11; $result = count ($b); / / $result == 3;
配列の実装やPHPでの使用法に関する詳細な説明についてはマニュアルの 配列 のセクションを 参照下さい。
The sizeof() function is an alias for count().
例 1 count() の例
Prev
注意 sizeof() 関数は、 count() へのエイリアスです。
compact
is_array(), isset(), strlen() も参照下さい。
(PHP 3 = 3.0.12, PHP 4)
(PHP 3 = 3.0.12, PHP 4)
The optional parameter mode determines the unit length.
cpdf_add_annotation() は、左下隅を (llx, lly) 、右上隅 を( urx, ury) とする 注記を追加します。
Otherwise the coordinates are measured in postscript points disregarding the current unit.
最後のオプションのパラメータ mode は単位長 さを定義します。0 または指定しなかった場合、そのページに指定され たデフォルトの単位が使用されます。デフォルトの単位が指定されてい ない場合は、座標はポストスクリプトポイントで計られます。
Prev
(PHP 3 = 3.0.9, PHP 4)
The cpdf_add_outline() function adds a bookmark with text text that points to the current page.
cpdf_add_outline() 関数は、テキスト text により、現在のページを指すブックマー クを設定します。
Adding a page outline
例 1ページアウトラインの追加
(PHP 3 = 3.0.8, PHP 4)
(PHP 3 = 3.0.8, PHP 4)
The optional parameter mode determines the unit length.
cpdf_arc() 関数は、 (x-coor, y-coor) を中心として半径 radius 、 角度 start から、角度 end までの円弧を描きます。
Otherwise the coordinates are measured in postscript points disregarding the current unit.
最後のオプションのパラメータ mode は 単位長さを定義します。 0 または指定しなかった場合、そのページに指定されたデフォルトの単位が 使用されます。 デフォルトの単位が指定されていない場合は、座標はポストスクリプト ポイントで計られます。
Prev
cpdf_circle() も参照下さい。
It must be ended with cpdf_end_text().
(PHP 3 = 3.0.8, PHP 4)
See also cpdf_end_text().
cpdf_begin_text() 関数はテキストセクションを 開始します。テキストセクションは、 cpdf_end_text() で終了する必要があります。
Home
例 1テキスト出力
cpdf_circle
cpdf_end_text() も参照下さい。
(PHP 3 = 3.0.8, PHP 4)
(PHP 3 = 3.0.8, PHP 4)
The optional parameter mode determines the unit length.
cpdf_circle() 関数は、 (x-coor, y-coor) を中心として半径 radius の円を描きます。
Otherwise the coordinates are measured in postscript points disregarding the current unit.
最後のオプションのパラメータ mode は 単位長さを定義します。 0 または指定しなかった場合、そのページに指定されたデフォルトの単位が 使用されます。 デフォルトの単位が指定されていない場合は、座標はポストスクリプト ポイントで計られます。
Prev
cpdf_arc() も参照下さい。
Prev
(PHP 3 = 3.0.8, PHP 4)
The cpdf_clip() function clips all drawing to the current path.
cpdf_clip() 関数はカレントのパスに描かれたもの を全て切り取ります。
(PHP 3 = 3.0.8, PHP 4)
(PHP 3 = 3.0.8, PHP 4)
This should be the last function even after cpdf_finalize(), cpdf_output_buffer() and cpdf_save_to_file().
cpdf_close() 関数は、pdf ドキュメントを閉じます。 この関数は、 cpdf_finalize(), cpdf_output_buffer(), cpdf_save_to_file() の後で、最後にコールする必要があります。
Prev
cpdf_open() も参照下さい。
Prev
(PHP 3 = 3.0.8, PHP 4)
The cpdf_closepath_fill_stroke() function closes, fills the interior of the current path with the current fill color and draws current path.
cpdf_closepath_fill_stroke() 関数は、カレント のパスを閉じ、内部をカレントの塗りつぶし色で塗りつぶし、カレント のパスを描きます。
Prev
cpdf_closepath(), cpdf_stroke(), cpdf_fill(), cpdf_setgray_fill(), cpdf_setgray(), cpdf_setrgbcolor_fill(), cpdf_setrgbcolor() も参照下さい。
(PHP 3 = 3.0.8, PHP 4)
(PHP 3 = 3.0.8, PHP 4)
Prev
cpdf_closepath() 関数はカレントのパスを 閉じます。
Prev
(PHP 3 = 3.0.8, PHP 4)
The cpdf_closepath_stroke() function is a combination of cpdf_closepath() and cpdf_stroke().
cpdf_closepath_stroke() 関数は、 cpdf_closepath() と cpdf_stroke() が合わさったものです。 処理語、パスをクリアします。
See also cpdf_closepath(), cpdf_stroke().
cpdf_closepath(), cpdf_stroke() も参照下さい。
Prev
(PHP 3 = 3.0.8, PHP 4)
The cpdf_continue_text() function outputs the string in text in the next line.
cpdf_continue_text() 関数は次の行に 文字列 text を出力します。
Prev
cpdf_show_xy(), cpdf_text(), cpdf_set_leading(), cpdf_set_text_pos() も参照下さい。
(PHP 3 = 3.0.8, PHP 4)
(PHP 3 = 3.0.8, PHP 4)
The optional parameter mode determines the unit length.
cpdf_curveto() 関数は、 (x1, y1) および (x2, y2) を制御点として カレントの点から (x3, y3) にベジエ曲線を 描きます。
Otherwise the coordinates are measured in postscript points disregarding the current unit.
最後のオプションのパラメータ mode は単位長 さを定義します。0 または指定しなかった場合、そのページに指定され たデフォルトの単位が使用されます。デフォルトの単位が指定されてい ない場合は、座標はポストスクリプトポイントで計られます。
Prev
cpdf_moveto(), cpdf_rmoveto(), cpdf_rlineto(), cpdf_lineto() も参照下さい。
The cpdf_end_text() function ends a text section which was started with cpdf_begin_text().
(PHP 3 = 3.0.8, PHP 4)
?php cpdf_begin_text( $pdf); cpdf_set_font($pdf, 16, "Helvetica", "WinAnsiEncoding"); cpdf_text($pdf, 100, 100, "Some text"); cpdf_end_text($pdf)?
cpdf_end_text() は、 cpdf_begin_text() により開始したテキストセクショ ンを終了します。
Prev
例 1テキスト出力
cpdf_fill_stroke
cpdf_begin_text() も参照下さい。
Prev
(PHP 3 = 3.0.8, PHP 4)
The cpdf_fill() function fills the interior of the current path with the current fill color.
cpdf_fill() 関数は、カレントの塗りつぶし色で カレントのパスの内部を塗りつぶします。
Prev
cpdf_closepath(), cpdf_stroke(), cpdf_setgray_fill(), cpdf_setgray(), cpdf_setrgbcolor_fill(), cpdf_setrgbcolor() も参照下さい。
Prev
(PHP 3 = 3.0.8, PHP 4)
The cpdf_fill_stroke() function fills the interior of the current path with the current fill color and draws current path.
cpdf_fill_stroke() 関数は、カレントのパスの内 部をカレントの塗りつぶし色で塗りつぶし、カレントのパスを描きます。
Prev
cpdf_closepath(), cpdf_stroke(), cpdf_fill(), cpdf_setgray_fill(), cpdf_setgray(), cpdf_setrgbcolor_fill(), cpdf_setrgbcolor() も参照下さい。
(PHP 3 = 3.0.8, PHP 4)
(PHP 3 = 3.0.8, PHP 4)