text string -> named constant

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@31731 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Ron Chmara 2000-09-02 03:22:47 +00:00
parent c217f17f31
commit c45f66fd67

View file

@ -236,15 +236,15 @@ error_log ("You messed up!", 3, "/var/tmp/my-errors.log");
<funcsynopsis>
<funcprototype>
<funcdef>int <function>error_reporting</function></funcdef>
<paramdef>mixed
<paramdef>int
<parameter><optional>level</optional></parameter>
</paramdef>
</funcprototype>
</funcsynopsis>
<para>
Sets PHP's error reporting level and returns the old level. The
error reporting level is either a bitmask or text string. Using
text strings is strongly encouraged to ensure compatibility for
error reporting level is either a bitmask, or named constant. Using
named constants is strongly encouraged to ensure compatibility for
future versions. As error levels are added, the range of integers
increases, so older integer-based error levels will not always
behave as expected.