<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/appendices.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'tr',
  ),
  'this' => 
  array (
    0 => 'examples.php',
    1 => 'About manual examples',
    2 => 'About manual examples',
  ),
  'up' => 
  array (
    0 => 'appendices.php',
    1 => 'Ekler',
  ),
  'prev' => 
  array (
    0 => 'history.php.publications.php',
    1 => 'Publications about PHP',
  ),
  'next' => 
  array (
    0 => 'migration85.php',
    1 => 'Migrating from PHP 8.4.x to PHP 8.5.x',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'en',
    'path' => 'appendices/examples.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="examples" class="appendix">
 <h1 class="title">About manual examples</h1>

 <p class="simpara">
  It should be noted that many examples in the PHP documentation omit error
  and exception handling for clarity and brevity.
 </p>
 <p class="simpara">
  This does not mean that error handling should be omitted for production code
  as it can lead to <span class="exceptionname"><a href="class.typeerror.php" class="exceptionname">TypeError</a></span>s being thrown,
  failure values being coerces, such as <strong><code><a href="reserved.constants.php#constant.false">false</a></code></strong> into an empty string,
  or assumptions being violated which might cause difficult to track bugs.
  Some extensions provide complete examples where error handling is included
  to demonstrate correct usage of the various functions and methods provided
  by the extension.
 </p>
</div>
<?php manual_footer($setup); ?>