downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

Our source is open

The syntax highlighted source is automatically generated by PHP from the plaintext script. If you're interested in what's behind the several functions we used, you can always take a look at the source of the following files:

Of course, if you want to see the source of this page, we have it available. You can also browse the SVN repository for this website on svn.php.net.

Source of: /manual/en/migrating5.errorrep.php

<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$PARENTS = array();
include_once
dirname(__FILE__) ."/toc/migration5.inc";
$setup = array (
 
'home' =>
  array (
   
0 => 'index.php',
   
1 => 'PHP Manual',
  ),
 
'head' =>
  array (
   
0 => 'UTF-8',
   
1 => 'en',
  ),
 
'this' =>
  array (
   
0 => 'migrating5.errorrep.php',
   
1 => 'Error Reporting',
  ),
 
'up' =>
  array (
   
0 => 'migration5.php',
   
1 => 'Migrating from PHP 4 to PHP 5.0.x',
  ),
 
'prev' =>
  array (
   
0 => 'migration5.oop.php',
   
1 => 'New Object Model',
  ),
 
'next' =>
  array (
   
0 => 'oop4.php',
   
1 => 'Classes and Objects (PHP 4)',
  ),
);
$setup["toc"] = $TOC;
$setup["parents"] = $PARENTS;
manual_setup($setup);

manual_header();
?>
<div id="migrating5.errorrep" class="section">
   <h2 class="title">Error Reporting</h2>
   <p class="para">
    As of PHP 5 the error reporting
    constant <b><tt class="constant">E_STRICT</tt></b> is available, with the
    value <i>2048</i>. When enabled, messages will be
    issued to warn you about code usage which is deprecated or which
    may not be future-proof.
   </p>
   <blockquote><p><b class="note">Note</b>:
    <span class="simpara">
     <b><tt class="constant">E_ALL</tt></b> does not include <b><tt class="constant">E_STRICT</tt></b>,
     so it&#039;s not enabled by default. You must explicitly set the error
     reporting level to include <b><tt class="constant">E_STRICT</tt></b> in order
     to see these messages.
    </span>
   </p></blockquote>
   <p class="para">
    See <a href="errorfunc.constants.php" class="link">Predefined Constants</a> for more information.
   </p>
  </div><?php manual_footer(); ?>
 
show source | credits | sitemap | contact | advertising | mirror sites