[PHP-doc 1005] Re: error_reporting のデフォルトについて

Yoshinari Takaoka mumumu @ mumumu.org
2013年 9月 4日 (水) 14:30:24 JST


高岡です。

大垣さん、ありがとうございます。
5.3.0 より前の PHP の記述も加えてコミットしておきました。

気になる点がありましたら修正お願いします。

http://svn.php.net/viewvc?view=revision&revision=331284
http://svn.php.net/viewvc/phpdoc/en/trunk/reference/errorfunc/ini.xml?r1=331284&r2=331283&pathrev=331284

Kenjiさん、ありがとうございました。
どうぞ宜しくお願いいたします。


On Wed, 4 Sep 2013 13:22:04 +0900
Yasuo Ohgaki <yohgaki @ ohgaki.net> wrote:

> 大垣です。
> 
> マニュアル間違ってますね
> 
> Index: ini.xml
> ===================================================================
> --- ini.xml (リビジョン 331283)
> +++ ini.xml (作業コピー)
> @@ -144,10 +144,17 @@
>        <link linkend="ini.display-errors">display_errors</link> directive.
>       </para>
>       <para>
> -      In PHP 4 and PHP 5 the default value is <constant>E_ALL</constant>
> -      & ~<constant>E_NOTICE</constant>.
> -      This setting does not show <constant>E_NOTICE</constant> level
> errors. You
> -      may want to show them during development.
> +     <para>
> +      PHP 5.3 or later, the default value
> +      is <constant>E_ALL</constant> &
> +      ~<constant>E_NOTICE</constant> &
> +      ~<constant>E_STRICT</constant> &
> +      ~<constant>E_DEPRECATED</constant>. This setting does not
> +      show <constant>E_NOTICE</constant>, <constant>E_STRICT</constant>
> +      and <constant>E_DEPRECATED</constant> level errors. You may want
> +      to show them during development.  Older PHP's default value
> +      is <constant>E_ALL</constant> &
> +      ~<constant>E_NOTICE</constant>.
>       </para>
>       <note>
>        <para>Enabling <constant>E_NOTICE</constant> during development has
> 
> こんな感じでどうでしょうか?



-- 
Yoshinari Takaoka <mumumu @ IRC>
reversethis -> gro tod umumum ta umumum


PHP-doc メーリングリストの案内