cvs: phpdoc-ro /reference/errorfunc/functions error-reporting.xml
| From: | Simion Onea | Date: | Tue, 05 May 2009 14:28:57 +0000 |
| Subject: | cvs: phpdoc-ro /reference/errorfunc/functions error-reporting.xml | ||
| Groups: | php.doc.ro | ||
| Request: | Send a blank email to doc-ro+get-708@lists.php.net to get a copy of this message | ||
simionea Tue May 5 14:28:57 2009 UTC
Modified files:
/phpdoc-ro/reference/errorfunc/functions error-reporting.xml
Log:
Updated the file.
http://cvs.php.net/viewvc.cgi/phpdoc-ro/reference/errorfunc/functions/error-reporting.xml?r1=1.6&r2=1.7&diff_format=u
Index: phpdoc-ro/reference/errorfunc/functions/error-reporting.xml
diff -u phpdoc-ro/reference/errorfunc/functions/error-reporting.xml:1.6
phpdoc-ro/reference/errorfunc/functions/error-reporting.xml:1.7
--- phpdoc-ro/reference/errorfunc/functions/error-reporting.xml:1.6 Sun Jan 25 10:23:16 2009
+++ phpdoc-ro/reference/errorfunc/functions/error-reporting.xml Tue May 5 14:28:57 2009
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
-<!-- $Revision: 1.6 $ -->
-<!-- EN-Revision: 1.23 Maintainer: simionea Status: ready -->
+<!-- $Revision: 1.7 $ -->
+<!-- EN-Revision: 1.24 Maintainer: simionea Status: ready -->
<!-- CREDITS: adiju -->
<refentry xmlns="http://docbook.org/ns/docbook"
xml:id="function.error-reporting">
<refnamediv>
@@ -191,7 +191,7 @@
<entry>Au fost introduse <constant>E_DEPRECATED</constant> Åi
<constant>E_USER_DEPRECATED</constant>.</entry>
</row>
<row>
- <entry>6</entry>
+ <entry>6.0.0</entry>
<entry><constant>E_STRICT</constant> a devenit parte a
<constant>E_ALL</constant>.</entry>
</row>
</tbody>
@@ -224,9 +224,12 @@
// Aceasta este valoarea implicitÄ stabilitÄ Ã®n php.ini
error_reporting(E_ALL ^ E_NOTICE);
-// RaporteazÄ toate erorile PHP
+// RaporteazÄ toate erorile PHP (vezi jurnalul schimbÄrilor)
error_reporting(E_ALL);
+// RaporteazÄ toate erorile PHP
+error_reporting(-1);
+
// La fel ca Åi error_reporting(E_ALL);
ini_set('error_reporting', E_ALL);
@@ -247,6 +250,14 @@
incluse Åi erorile <constant>E_STRICT</constant> (Åi vice versa).
</simpara>
</warning>
+ <tip>
+ <simpara>
+ Transmiterea valorii <literal>-1</literal> va afiÈa toate erorile posibile,
+ chiar Èi atunci când vor fi adÄugate nivele Èi constante noi în versiunile
+ viitoare ale PHP. Constanta <constant>E_ALL</constant> se comportÄ Ã®n
+ acelaÈi mod începând cu PHP 6.
+ </simpara>
+ </tip>
</refsect1>
<refsect1 role="seealso">