text
stringlengths
1
254
output
stringlengths
2
255
0 = butt end, 1 = round, 2 = projecting square.
cpdf_setlinecap() 関数は、linecap パラメータを 0 から 2 の範囲で設定します。 0 = butt end, 1 = round, 2 = projecting square
(PHP 3 = 3.0.8, PHP 4)
(PHP 3 = 3.0.8, PHP 4)
0 = miter, 1 = round, 2 = bevel.
cpdf_setlinejoin() 関数は、linejoin パラメータを設定します。パラメータの値は、0から2の間になります。 0 = miter, 1 = round, 2 = bevel
(PHP 3 = 3.0.8, PHP 4)
(PHP 3 = 3.0.8, PHP 4)
Prev
cpdf_setlinewidth() 関数は線幅を width に設定します。
(PHP 3 = 3.0.8, PHP 4)
(PHP 3 = 3.0.8, PHP 4)
Prev
cpdf_setmiterlimit() 関数は、 miter のリミットを1 以上の値に設定します。
The cpdf_set_page_animation() function set the transition between following pages.
(PHP 3 = 3.0.9, PHP 4)
2 for multiple lines sweeping across the screen reveal the page,
cpdf_set_page_animation() 関数は ページ間の移行に要する時間を設定します。
5 for the old page dissolves to reveal the page,
transition の値は次のようにすることができます。
The value of duration is the number of seconds between page flipping.
duration の値はページ間の切り替えに要する 秒数です。
Prev
(PHP 3 = 3.0.8, PHP 4)
The cpdf_setrgbcolor_fill() function sets the current rgb color value to fill a path.
cpdf_setrgbcolor_fill() 関数は、 指定した RGBカラー値をパスを塗りつぶす色として設定します。
Prev
cpdf_setrgbcolor_stroke(), cpdf_setrgbcolor() も参照下さい。
Prev
(PHP 3 = 3.0.8, PHP 4)
The cpdf_setrgbcolor() function sets the current drawing and filling color to the given rgb color value.
cpdf_setrgbcolor() 関数は、カレントの 描画色および塗りつぶし色を指定したRGB値に設定します。
Prev
cpdf_setrgbcolor_stroke(), cpdf_setrgbcolor_fill() も参照下さい。
Prev
(PHP 3 = 3.0.8, PHP 4)
The cpdf_setrgbcolor_stroke() function sets the current drawing color to the given rgb color value.
cpdf_setrgbcolor_stroke() 関数は、指定した RGBカラー値をデフォルトの描画色に設定します。
Prev
cpdf_setrgbcolor_fill(), cpdf_setrgbcolor() も参照下さい。
Prev
(PHP 3 = 3.0.8, PHP 4)
The cpdf_set_subject() function sets the subject of a pdf document.
cpdf_set_subject() 関数は、pdf ドキュメントの subject を設定します。
Prev
cpdf_set_title(), cpdf_set_creator(), cpdf_set_keywords() も参照下さい。
Prev
(PHP 3 = 3.0.8, PHP 4)
The cpdf_set_text_matrix() function sets a matrix which describes a transformation applied on the current text font.
cpdf_set_text_matrix() 関数は、カレントのテキ ストフォントに適用する変換を記述する行列を設定します。
(PHP 3 = 3.0.8, PHP 4)
(PHP 3 = 3.0.8, PHP 4)
The optional parameter mode determines the unit length.
cpdf_set_text_pos() 関数は、 次に cpdf_show() がコールされた時の テキストの位置を設定します。
Otherwise the coordinates are measured in postscript points disregarding the current unit.
最後のオプションのパラメータ mode は 単位長さを定義します。 0 または指定しなかった場合、そのページに指定されたデフォルトの単位が 使用されます。 デフォルトの単位が指定されていない場合は、座標はポストスクリプト ポイントで計られます。
Prev
cpdf_show(), cpdf_text() も参照下さい。
(PHP 3 = 3.0.8, PHP 4)
(PHP 3 = 3.0.8, PHP 4)
(PHP 3 = 3.0.8, PHP 4)
(PHP 3 = 3.0.8, PHP 4)
Prev
cpdf_set_text_rise() 関数は、テキストの高さを value 単位に設定します。
Prev
(PHP 3 = 3.0.8, PHP 4)
The cpdf_set_title() function sets the title of a pdf document.
cpdf_set_title() 関数は、pdfドキュメントの title を設定します。
Prev
cpdf_set_subject(), cpdf_set_creator(), cpdf_set_keywords() も参照下さい。
Warning
(PHP 3 = 3.0.9, PHP 4)
Prev
この関数は、 現在のところ詳細な情報はありません。引数のリストのみが 記述されています。
Prev
(PHP 3 = 3.0.8, PHP 4)
The cpdf_set_word_spacing() function sets the spacing between words.
cpdf_set_word_spacing() 関数は、単語間の間隔を 設定します。
Prev
cpdf_set_char_spacing(), cpdf_set_leading() も参照下さい。
Prev
(PHP 3 = 3.0.8, PHP 4)
The cpdf_show() function outputs the string in text at the current position.
cpdf_show() 関数は、現在位置に text の文字列を出力します。
Prev
cpdf_text(), cpdf_begin_text(), 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_show_xy() 関数は、 座標 (x-coor, y-coor) の位置に文字列 text を出力します。 最後のオプションのパラメータは単位長さを定義します。 0 または指定しなかった場合、そのページに指定されたデフォルトの単位が 使用されます。 デフォルトの単位が指定されていない場合は、座標はポストスクリプト ポイントで計られます。
Otherwise the coordinates are measured in postscript points disregarding the current unit.
注意 関数 cpdf_show_xy() は、オプションの パラメータを除き cpdf_text() と同じです。
See also cpdf_text().
cpdf_text() も参照下さい。
(PHP 3 = 3.0.8, PHP 4)
(PHP 3 = 3.0.8, PHP 4)
It requires a font to be set before.
cpdf_stringwidth() 関数は、文字列 text の幅を返します。フォントがあらかじめ 設定されている必要があります。
Prev
cpdf_set_font() も参照下さい。
Prev
(PHP 3 = 3.0.8, PHP 4)
The cpdf_stroke() function draws a line along current path.
cpdf_stroke() 関数はカレントのパスに沿って 線を描きます。
Prev
cpdf_closepath(), cpdf_closepath_stroke() も参照下さい。
The optional parameter mode determines the unit length.
(PHP 3 = 3.0.8, PHP 4)
The optional parameter alignmode determines how the text is aligned.
使用可能な値については、ClibPDF のドキュメントを参照下さい。
See also cpdf_show_xy().
cpdf_show_xy() も参照下さい。
(PHP 3 = 3.0.8, PHP 4)
(PHP 3 = 3.0.8, PHP 4)
The optional parameter mode determines the unit length.
cpdf_translate() 関数は、座標系の原点を (x-coor, y-coor) に 設定します。
Otherwise the coordinates are measured in postscript points disregarding the current unit.
最後のオプションのパラメータ mode は単位長 さを定義します。0 または指定しなかった場合、そのページに指定され たデフォルトの単位が使用されます。デフォルトの単位が指定されてい ない場合は、座標はポストスクリプトポイントで計られます。
Prev
(PHP 4 = 4.0.5)
Returns TRUE if password is strong, or FALSE otherwise.
password が強いパスワードの場合に TRUE 、そ の他の場合に、 FALSE を返します。
Use this function at your own risk.
この関数は、 実験的 なステータスにあります。これは、この関数の 動作、関数名、ここで書かれていること全てがPHPの将来のバージョンで予告 なく変更される可能性があることを意味します。注意を喚起するとともに自分 のリスクでこの関数を使用して下さい。
If dictionary is not specified, the last opened dictionary is used.
crack_check() は、指定した password に関して指定した dictionary を用いて強度チェックを行います。 dictionary が指定されない場合、直近にオープ ンされた辞書が使用されます。
Prev
(PHP 4 = 4.0.5)
Returns TRUE on success or FALSE on failure.
成功した場合に TRUE 、失敗した場合に FALSE を返します。
Use this function at your own risk.
この関数は、 実験的 なステータスにあります。これは、この関数の 動作、関数名、ここで書かれていること全てがPHPの将来のバージョンで予告 なく変更される可能性があることを意味します。注意を喚起するとともに自分 のリスクでこの関数を使用して下さい。
If dictionary is not specified, the current dictionary is closed.
crack_closedict() は、指定した dictionary IDを閉じます。 dictionary が指定されない場合、カレントの辞 書がクローズされます。
Warning
(PHP 4 = 4.0.5)
The behaviour of this function, the name of this function, and anything else documented about this function may change without notice in a future release of PHP.
この関数は、 実験的 なステータスにあります。これは、この関数の 動作、関数名、ここで書かれていること全てがPHPの将来のバージョンで予告 なく変更される可能性があることを意味します。注意を喚起するとともに自分 のリスクでこの関数を使用して下さい。
crack_getlastmessage() returns the message from the last obscure check.
crack_getlastmessage() は、 直近の強度チェック からのメッセージを返します。
Prev
(PHP 4 = 4.0.5)
Returns a dictionary resource identifier on success, or FALSE on failure.
成功時に辞書のリソースIDを返し、失敗時に FALSE を返します。
The behaviour of this function, the name of this function, and anything else documented about this function may change without notice in a future release of PHP.
この関数は、 実験的 なステータスにあります。これは、この関数の 動作、関数名、ここで書かれていること全てがPHPの将来のバージョンで予告 なく変更される可能性があることを意味します。注意を喚起するとともに自分 のリスクでこの関数を使用して下さい。
crack_opendict() opens the specified CrackLib dictionary for use with crack_check().
crack_opendict() は、 crack_check() で使用するために、指定したCrackLib dictionary をオープンします。
See also: crack_check(), and crack_closedict().
注意 1度にオープンできる辞書は1つだけです。
CURL, Client URL Library Functions
crack_check() 及び crack_closedict() も参照下さい。
This is usually used to validate the integrity of data being transmitted.
(PHP 4 = 4.0.1)
Example 1.
str の32ビット長のCRC(cyclic redundancy checksum)チェックサムを生成します。これは、受信されたデータの整合 性を検証するために通常使用されます。
?php $checksum = crc32( "The quick brown fox jumped over the lazy dog ."); printf("%u\n", $checksum);?
md5() も参照下さい。
Creates an anonymous function from the parameters passed, and returns a unique name for it.
(PHP 4 = 4.0.1)
The reason for using single quoted strings, is to protect the variable names from parsing, otherwise, if you use double quotes there will be a need to escape the variable names, e.g. \$avar.
指定したパラメータにより匿名関数を作成し、その関数のユニークな名 前を返します。通常、 args をシングルクオー トで括られた文字列で指定します。 code につ いても同様に指定することが推奨されます。シングルクオートで括った 文字列を使用する理由は、パース時に変数名を保護するためです。ダブ ルクオートを使用した場合には、 \$avar のように変 数名をエスケープする必要があります。
Example 1.
(例えば、)実行時に取得した情報から関数を作成する際にこの関数を使 用することが可能です。
Making a general processing function with create_function()
例 1 create_function() により匿名関数を作成する
2.3445, M_PI some trig: -1.6291725057799 a hypotenuse:
例 3コールバック関数として匿名関数を使用
(PHP 3, PHP 4)
(PHP 3, PHP 4)
Arguments are a string to be encrypted and an optional salt string to base the encryption on.
crypt() は、Unix 標準の DES 暗号を使って文字列を暗号化します。引数には暗号化したい文字列を指 定し、オプションで暗号化のベースとなる 2 文字の'salt' 文字列を指 定します。暗号化に関する関数の詳細は Unix man ページを参照してく ださい。
If the salt argument is not provided, one will be randomly generated by PHP.
salt引数が指定されない場合、PHPによりランダムに生成されます。
If no salt is provided, PHP will auto-generate a standard two character salt by default, unless the default encryption type on the system is MD5, in which case a random MD5-compatible salt is generated.
生成されたsaltを使用する場合、saltが生成されるのは一回限りである ことに気付く必要があります。この関数を再帰的にコールする場合、こ のことは、出力だけでなく、セキュリティにも影響を与える可能性があ ります。
If you are using the supplied salt, you should be aware that the salt is generated once.
標準DES暗号 crypt() は、出力の最初の2文字をsalt として使用します。 str の最初の8文字を使用するだけです。 このため、(同じsaltを使用した場合、)同じ8文字から始まるより長い文 字列について同じ結果が生成されます。
The standard DES-based encryption crypt() returns the salt as the first two characters of the output.
crypt() 関数が複数の暗号化手法をサポートするシステムにおいては、 指定した型を利用可能であるかにより、次の定数を0又は1に設定します。
It also only uses the first eight characters of str, so longer strings that start with the same eight characters will generate the same result (when the same salt is used).
CRYPT_STD_DES - 2文字 SALT の標準 DES 暗号
On systems where the crypt() function supports multiple encryption types, the following constants are set to 0 or 1 depending on whether the given type is available:
CRYPT_EXT_DES - 9文字の拡張DES暗号
CRYPT_EXT_DES - Extended DES-based encryption with a nine character salt
CRYPT_MD5 - $1$ で始まる12文字のSALTを有するMD5暗号
CRYPT_BLOWFISH - Blowfish encryption with a sixteen character salt starting with $2$
CRYPT_BLOWFISH - $2$ で始まる16文字の拡張DES暗号
There is no decrypt function, since crypt() uses a one-way algorithm.
注意 crypt() は単方向アルゴリズムを使用している ため、復号化するための関数 (decrypt) はありません。
Prev
md5() および mcrypt拡 張モジュール も参照下さい。
(PHP 4 = 4.0.4)
(PHP 4 = 4.0.4)
In the standard C locale letters are just [A-Za-z].
このモジュールは、 実験的 なものです。これは、これらの関数の動作、関数名は、このドキュメントに書かれて事項と同様に告知なく将来的なPHPのリリースで変更される可能性があります。注意を喚起するとともに、このモジュールは使用者のリスクで使用して下さい。
See also ctype_alpha(), ctype_digit(), and setlocale().
setlocale() も参照下さい。
(PHP 4 = 4.0.4)
(PHP 4 = 4.0.4)