Sophie

Sophie

distrib > Mageia > 4 > i586 > by-pkgid > f800694edefe91adea2624f711a41a2d > files > 4066

php-manual-en-5.5.7-1.mga4.noarch.rpm

<!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>Dummy for main</title>

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="function.magic-quotes-runtime.html">magic_quotes_runtime</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="function.memory-get-peak-usage.html">memory_get_peak_usage</a></div>
 <div class="up"><a href="ref.info.html">PHP Options/Info Functions</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div><hr /><div id="function.main" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">main</h1>
  <p class="refpurpose"><span class="refname">main</span> &mdash; <span class="dc-title">Dummy for  <span class="function"><strong>main()</strong></span></span></p>

 </div>

 <div class="refsect1 description" id="refsect1-function.main-description">
  <h3 class="title">Description</h3>
  <p class="para">
   There is no function named  <span class="function"><strong>main()</strong></span> except
   in the PHP source.  In PHP 4.3.0, a new type of error handling
   in the PHP source (php_error_docref) was introduced.  One feature
   is to provide links to a manual page in PHP error messages when
   the PHP directives <a href="errorfunc.configuration.html#ini.html-errors" class="link">html_errors</a>
   (on by default) and <a href="errorfunc.configuration.html#ini.docref-root" class="link">docref_root</a>
   (on by default until PHP 4.3.2) are set.
  </p>
  <p class="para">
   Sometimes error messages refer to a manual page for the function
    <span class="function"><strong>main()</strong></span> which is why this page exists.   If you
   discover such a reference, please
   <a href="http://bugs.php.net/" class="link external">&raquo;&nbsp;file a bug report</a>, indicating
   the PHP function caused the error that linked to  <span class="function"><strong>main()</strong></span>
   and it will be fixed and properly documented.
  </p>
  <p class="para">
   <table class="doctable table">
    <caption><strong>Known errors that point to  <span class="function"><strong>main()</strong></span></strong></caption>
    
     <thead>
      <tr>
       <th>Function name</th>
       <th>No longer points here as of</th>
      </tr>

     </thead>

     <tbody class="tbody">
      <tr>
       <td> <span class="function"><a href="function.include.html" class="function">include</a></span></td>
       <td>5.1.0</td>
      </tr>

      <tr>
       <td> <span class="function"><a href="function.include-once.html" class="function">include_once</a></span></td>
       <td>5.1.0</td>
      </tr>

      <tr>
       <td> <span class="function"><a href="function.require.html" class="function">require</a></span></td>
       <td>5.1.0</td>
      </tr>

      <tr>
       <td> <span class="function"><a href="function.require-once.html" class="function">require_once</a></span></td>
       <td>5.1.0</td>
      </tr>

     </tbody>
    
   </table>

  </p>
 </div>


 <div class="refsect1 seealso" id="refsect1-function.main-seealso">
  <h3 class="title">See Also</h3>
  <p class="para">
   <ul class="simplelist">
    <li class="member"><a href="errorfunc.configuration.html#ini.html-errors" class="link">html_errors</a></li>
    <li class="member"><a href="errorfunc.configuration.html#ini.display-errors" class="link">display_errors</a></li>
   </ul>
  </p>
 </div>


</div><hr /><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="function.magic-quotes-runtime.html">magic_quotes_runtime</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="function.memory-get-peak-usage.html">memory_get_peak_usage</a></div>
 <div class="up"><a href="ref.info.html">PHP Options/Info Functions</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div></body></html>