error_get_last 最後に発生したエラーを取得する &reftitle.description; arraynullerror_get_last 最後に発生したエラーについての情報を取得します。 &reftitle.parameters; &no.function.parameters; &reftitle.returnvalues; 最後に発生したエラーについての情報を連想配列で返します。連想配列のキーは "type"、"message"、"file" および "line" となります。 PHP の内部関数で発生したエラーの場合は、 "message" の先頭に関数名が含まれています。 エラーが発生していない場合は &null; を返します。 &reftitle.examples; <function>error_get_last</function> の例 ]]> &example.outputs.similar; 8 [message] => Undefined variable: a [file] => C:\WWW\index.php [line] => 2 ) ]]> &reftitle.seealso; エラー定数 変数 $php_errormsg error_clear_last ディレクティブ display_errors ディレクティブ html_errors ディレクティブ xmlrpc_errors