downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

クラスとオブジェクト (PHP 4)> <新しいオブジェクトモデル
Last updated: Fri, 13 Nov 2009

view this page in

エラー報告

PHP 5 以降、エラー報告定数 E_STRICT が追加されました。値は 2048 です。 有効にすると、非推奨であったり将来の互換性が保証されていなかったりするコードを書いたときにメッセージが表示されます。

注意: E_ALL には E_STRICT は含まれないので、デフォルトでは有効にはなりません。 これらのメッセージを表示させるには、エラー報告レベルに E_STRICT を含めるよう設定しなければなりません。



add a note add a note User Contributed Notes
エラー報告
Anonymous
31-Mar-2008 01:52
To enable full error reporting (recommended for development boxes) use:

use error_reporting(E_ALL | E_STRICT);

or in php.ini:

error_reporting  =  E_ALL | E_STRICT

 
show source | credits | stats | sitemap | contact | advertising | mirror sites