bjori Thu May 24 08:41:41 2007 UTC
Modified files: /phpdoc/en/appendices migration52.xml Log: Remove few "you"s http://cvs.php.net/viewvc.cgi/phpdoc/en/appendices/migration52.xml?r1=1.22&r2=1.23&diff_format=u Index: phpdoc/en/appendices/migration52.xml diff -u phpdoc/en/appendices/migration52.xml:1.22 phpdoc/en/appendices/migration52.xml:1.23 --- phpdoc/en/appendices/migration52.xml:1.22 Thu May 24 08:01:35 2007 +++ phpdoc/en/appendices/migration52.xml Thu May 24 08:41:41 2007 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.22 $ --> +<!-- $Revision: 1.23 $ --> <appendix id="migration52"> <title>Migrating from PHP 5.1.x to PHP 5.2.x</title> @@ -1894,7 +1894,7 @@ <title>Error Reporting</title> <para> Some of the existing <constant>E_ERROR</constant> conditions have been - converted to something that you can catch with a user-defined error + converted to something that can be caught with a user-defined error handler. If an <link linkend="errorfunc.constants"><constant>E_RECOVERABLE_ERROR</constant></link> is not handled, it will behave in the same way as @@ -1906,20 +1906,20 @@ <link linkend="ini.error-reporting">error_reporting</link> constant is now 6143, where the previous value was 2047. Because PHP constants have no meaning outside of PHP, in some cases the integer value is used - instead so these will need to be adjusted. So for example if you are + instead so these will need to be adjusted. So for example by setting the error_reporting mode from either the <link linkend="apache.configuration">httpd.conf</link> or the - <filename>.htaccess</filename> files, you will need to adjust the value - accordingly. The same applies if you use the numeric value rather than the - constant in your PHP scripts. + <filename>.htaccess</filename> files, the value has to be changed + accordingly. The same applies when the numeric values are used + rather than the constants in PHP scripts. </para> <para> As a side-effect of a change made to prevent duplicate error messages when <link linkend="ini.track-errors">track_errors</link> is - <literal>On</literal>, it is now necessary to return &false; from your - error handler in order to populate + <literal>On</literal>, it is now necessary to return &false; from + user defined error handlers in order to populate <link linkend="reserved.variables.phperrormsg">$php_errormsg</link>. This - provides you fine-grain control over the levels of messages stored. + provides a fine-grain control over the levels of messages stored. </para> </section>