mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
Error Reporting section added
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@159505 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
78ec3be99b
commit
f40751d832
1 changed files with 17 additions and 1 deletions
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.16 $ -->
|
||||
<!-- $Revision: 1.17 $ -->
|
||||
<appendix id="migration5">
|
||||
<title>Migrating from PHP 4 to PHP 5</title>
|
||||
|
||||
|
@ -1668,6 +1668,22 @@ reflection_extension::export('standard');
|
|||
|
||||
</section>
|
||||
|
||||
<section id='migrating5.errorrep'>
|
||||
<title>Error Reporting</title>
|
||||
<para>
|
||||
As of &php; 5 new error reporting constant E_STRICT was introduced with
|
||||
value 2048. It enables run-time PHP suggestions on your code
|
||||
interoperability and forward compatibility, that will help you to keep
|
||||
latest and greatest suggested method of coding. E.g. STRICT message will
|
||||
warn you on using deprecated functions.
|
||||
</para>
|
||||
<note>
|
||||
<simpara>
|
||||
E_ALL does not include E_STRICT so it's not enabled by default
|
||||
</simpara>
|
||||
</note>
|
||||
</section>
|
||||
|
||||
</appendix>
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue