Do You PHP はてブロ

Do You PHPはてなからはてブロに移動しました

E_DEPRECATED

PHP5.3から導入される雰囲気です(多分)。


I've heard that E_DEPRECATED is still missing nevertheless its introduction is planned for 5.3. So I've wrote it [1] based on a slightly outdated patch by Felipe. The patch is so far complete, as far as I can tell, but one thing I'm wondering about is whether we should trigger E_DEPRECATED warnings if the related ini-settings are present (magic_quotes_gpc, magic_quotes_runtime, register_globals). I would say yes, but I need some advice where to do that.

[1] http://lars.schokokeks.org/php/e_deprecated-2.diff

パッチをちらっと見てみると、現時点でE_STRICTとなるエラーのうちdeprecatedなものをE_DEPRECATEDに置き換えようとするもののようです。確かに、E_STRICTよりもE_DEPRECATEDと出てくれた方が分かりやすいですね。