mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 08:58:56 +00:00
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:
parent
c217f17f31
commit
c45f66fd67
1 changed files with 3 additions and 3 deletions
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue