Da traduttori professionisti, imprese, pagine web e archivi di traduzione disponibili gratuitamente al pubblico.
predefined constants
sort_asc は、 array_multisort() でソート順を昇順にするために 使用されます。
Ultimo aggiornamento 2011-10-24
Frequenza di utilizzo: 1
Qualità:
ncurses predifined constants
digital unix (aka osf1)
Ultimo aggiornamento 2011-10-24
Frequenza di utilizzo: 1
Qualità:
pkcs7 flags / constants
証明書
Ultimo aggiornamento 2011-10-24
Frequenza di utilizzo: 1
Qualità:
tablo 1. ncurses color constants
gnu/linux
Ultimo aggiornamento 2011-10-24
Frequenza di utilizzo: 1
Qualità:
this extension does not define any constants.
この拡張モジュールは定数を全く定義しませ ん。
Ultimo aggiornamento 2011-10-24
Frequenza di utilizzo: 1
Qualità:
this module defines the following constants:
win32ユーザへの注意 このモジュールをwindows環境で有効にするには、 libxml2.dll をphp/win32バイナリパッケージのdll フォルダから使用するwindowsマシンのsystem32フォルダ(例: c:\winnt\system32またはc:\windows\system32)にコピーする必要がありま す。
Ultimo aggiornamento 2011-10-24
Frequenza di utilizzo: 1
Qualità:
cipher is one of the mcrypt_ciphername constants.
mcrypt_cbc() は、cbc 暗号化モードで cipher および key を用いて (mode に応じて) data を 暗号化または複合化し、結果を文字列として返します。
Ultimo aggiornamento 2011-10-24
Frequenza di utilizzo: 1
Qualità:
the following constants are defined when using the mcal module.
注意 phpには、icap拡張モジュールが以前ありましたが、元のライブラリと このphp拡張モジュールはもうサポートされていません。推奨される代 替品はmcalです。
Ultimo aggiornamento 2011-10-24
Frequenza di utilizzo: 1
Qualità:
the following values are defined as constants in php by the math extension:
以下の値は php の数学拡張機能により定数として定義されています。
Ultimo aggiornamento 2011-10-24
Frequenza di utilizzo: 1
Qualità:
to create your own constants, you can use the macros in tablo 33-6.
to create your own constants, you can use the macros in 表33-6. all the macros create a constant with the specified name and value.
Ultimo aggiornamento 2011-10-24
Frequenza di utilizzo: 1
Qualità:
it may be any combination of the following constants with the bitwise or operator (_bar_):
(php 4 = 4.0.6)
Ultimo aggiornamento 2011-10-24
Frequenza di utilizzo: 1
Qualità:
only scalar data (boolean, integer, double and string) can be contained in constants.
define() 関数を使用することにより、定数を定義す ることが可能です。定数が一度定義されると、変更または未定義とするこ とはできません。
Ultimo aggiornamento 2011-10-24
Frequenza di utilizzo: 1
Qualità:
?php / / redefine the user error constants - php 4 only define (fatal,e_user_error); define (error,e_user_warning); define (warning,e_user_notice); / / set the error reporting level for this script error_reporting (fatal _bar_ error _bar_ warning); / / error handler function function myerrorhandler ($errno, $errstr, $errfile, $errline) {switch ($errno) {case fatal: echo "b fatal / b [$errno] $errstr br \n"; echo" fatal error in line ".$errline. "of file ".$errfile; echo", php ".php_version. "(".php_os .") br \n"; echo "aborting... br \n"; exit 1; break; case error: echo" b error / b [$errno] $errstr br \n"; break; case warning: echo "b warning / b [$errno] $errstr br \n"; break; default: echo "unkown error type: [$errno] $errstr br \n"; break;}} / / function to test the error handling function scale_by_log ($vect, $scale) {if (!is_numeric($scale) _bar_ _bar_ $scale = 0) trigger_error("log(x) for x = 0 is undefined, you used: scale = $scale", fatal); if (!is_array($vect)) {trigger_error("incorrect input vector, array of values expected", error); return null;} for ($i=0; $i count($vect); $i++) {if (!is_numeric($vect[$i])) trigger_error("value at position $i is not a number, using 0 (zero)", warning); $temp[$i] = log($scale) * $vect[$i];} return $temp;} / / set to the user defined error handler $old_error_handler = set_error_handler("myerrorhandler"); / / trigger some errors, first define a mixed array with a non-numeric item echo "vector a\n"; $a = array(2,3 ,"foo",5.5,43.3,21.11); print_r($a); / / now generate second array, generating a warning echo "----\nvector b - a warning (b = log(pi) * a)\n"; $b = scale_by_log($a, m_pi); print_r($b); / / this is trouble, we pass a string instead of an array echo "----\nvector c - an error\n"; $c = scale_by_log("not array",2.3); var_dump($c); / / this is a critical error, log of zero or negative number is undefined echo "----\nvector d - fatal error\n"; $d = scale_by_log($a, -2.5);?
php の標準のエラーハンドラは完全にバイパスされることに注意して下 さい。 error_reporting() の設定は影響せず、どの ような場合でもユーザが設定したエラーハンドラがコールされます。た だし、この場合でもハンドラで error_reporting() のカレントの値を読み、適当に動作させることは可能です。エラーを発 生した命令の前に @ エラー制御演算子 が付加されている場合、この値は 0 となることには注意を要し ます。
Ultimo aggiornamento 2011-10-24
Frequenza di utilizzo: 1
Qualità:
Attenzione: contiene formattazione HTML nascosta