cvs: phpdoc-ro /reference/errorfunc/functions error-reporting.xml

From: 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">

« previous php.doc.ro (#708) next »