<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="content-type" content="text/html; charset=UTF-8"> <title>Error Reporting</title> </head> <body><div class="manualnavbar" style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="migration5.oop.html">New Object Model</a></div> <div class="next" style="text-align: right; float: right;"><a href="oop4.html">Classes and Objects (PHP 4)</a></div> <div class="up"><a href="migration5.html">Migrating from PHP 4 to PHP 5.0.x</a></div> <div class="home"><a href="index.html">PHP Manual</a></div> </div><hr /><div id="migrating5.errorrep" class="section"> <h2 class="title">Error Reporting</h2> <p class="para"> As of PHP 5 the error reporting constant <strong><code>E_STRICT</code></strong> is available, with the value <em>2048</em>. When enabled, messages will be issued to warn you about code usage which is deprecated or which may not be future-proof. </p> <blockquote class="note"><p><strong class="note">Note</strong>: <span class="simpara"> <strong><code>E_ALL</code></strong> does not include <strong><code>E_STRICT</code></strong>, so it's not enabled by default. You must explicitly set the error reporting level to include <strong><code>E_STRICT</code></strong> in order to see these messages. </span> </p></blockquote> <p class="para"> See <a href="errorfunc.constants.html" class="link">Predefined Constants</a> for more information. </p> </div><hr /><div class="manualnavbar" style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="migration5.oop.html">New Object Model</a></div> <div class="next" style="text-align: right; float: right;"><a href="oop4.html">Classes and Objects (PHP 4)</a></div> <div class="up"><a href="migration5.html">Migrating from PHP 4 to PHP 5.0.x</a></div> <div class="home"><a href="index.html">PHP Manual</a></div> </div></body></html>