Sophie

Sophie

distrib > Mandriva > 2008.1 > x86_64 > by-pkgid > 05cd670d8a02b2b4a0ffb1756f2e8308 > files > 7591

php-manual-zh-5.2.4-1mdv2008.1.noarch.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<HTML
><HEAD
><TITLE
>main</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.79"><LINK
REL="HOME"
TITLE="PHP 手册"
HREF="index.html"><LINK
REL="UP"
TITLE="PHP Options&Information"
HREF="ref.info.html"><LINK
REL="PREVIOUS"
TITLE="ini_set"
HREF="function.ini-set.html"><LINK
REL="NEXT"
TITLE="memory_get_peak_usage"
HREF="function.memory-get-peak-usage.html"><META
HTTP-EQUIV="Content-type"
CONTENT="text/html; charset=UTF-8"></HEAD
><BODY
CLASS="refentry"
BGCOLOR="#FFFFFF"
TEXT="#000000"
LINK="#0000FF"
VLINK="#840084"
ALINK="#0000FF"
><DIV
CLASS="NAVHEADER"
><TABLE
SUMMARY="Header navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TH
COLSPAN="3"
ALIGN="center"
>PHP 手册</TH
></TR
><TR
><TD
WIDTH="10%"
ALIGN="left"
VALIGN="bottom"
><A
HREF="function.ini-set.html"
ACCESSKEY="P"
>上一页</A
></TD
><TD
WIDTH="80%"
ALIGN="center"
VALIGN="bottom"
></TD
><TD
WIDTH="10%"
ALIGN="right"
VALIGN="bottom"
><A
HREF="function.memory-get-peak-usage.html"
ACCESSKEY="N"
>下一页</A
></TD
></TR
></TABLE
><HR
ALIGN="LEFT"
WIDTH="100%"></DIV
><H1
><A
NAME="function.main"
></A
>main</H1
><DIV
CLASS="refnamediv"
><A
NAME="AEN181691"
></A
><P
>    (no version information, might be only in CVS)</P
>main&nbsp;--&nbsp;Dummy for <B
CLASS="function"
>main()</B
></DIV
><DIV
CLASS="refsect1"
><A
NAME="AEN181695"
></A
><H2
>说明</H2
><P
>&#13;   There is no function named <B
CLASS="function"
>main()</B
> 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="ref.errorfunc.html#ini.html-errors"
>html_errors</A
>
   (on by default) and <A
HREF="ref.errorfunc.html#ini.docref-root"
>docref_root</A
>
   (on by default until PHP 4.3.2) are set.
  </P
><P
>&#13;   Sometimes error messages refer to a manual page for the function
   <B
CLASS="function"
>main()</B
> which is why this page exists.   Please
   add a user comment below that mentions what PHP function caused the
   error that linked to <B
CLASS="function"
>main()</B
> and it will be
   fixed and properly documented.
  </P
><P
>&#13;   <DIV
CLASS="table"
><A
NAME="AEN181705"
></A
><P
><B
>表 1. Known errors that point to <B
CLASS="function"
>main()</B
></B
></P
><TABLE
BORDER="1"
CLASS="CALSTABLE"
><COL><COL><THEAD
><TR
><TH
>Function name</TH
><TH
>No longer points here as of</TH
></TR
></THEAD
><TBODY
><TR
><TD
><A
HREF="function.include.html"
><B
CLASS="function"
>include()</B
></A
></TD
><TD
>5.1.0</TD
></TR
><TR
><TD
><A
HREF="function.include-once.html"
><B
CLASS="function"
>include_once()</B
></A
></TD
><TD
>5.1.0</TD
></TR
><TR
><TD
><A
HREF="function.require.html"
><B
CLASS="function"
>require()</B
></A
></TD
><TD
>5.1.0</TD
></TR
><TR
><TD
><A
HREF="function.require-once.html"
><B
CLASS="function"
>require_once()</B
></A
></TD
><TD
>5.1.0</TD
></TR
></TBODY
></TABLE
></DIV
>
  </P
></DIV
><DIV
CLASS="refsect1"
><A
NAME="AEN181730"
></A
><H2
>参见</H2
><P
>&#13;   <P
></P
><TABLE
BORDER="0"
><TBODY
><TR
><TD
><A
HREF="ref.errorfunc.html#ini.html-errors"
>html_errors</A
></TD
></TR
><TR
><TD
><A
HREF="ref.errorfunc.html#ini.display-errors"
>display_errors</A
></TD
></TR
></TBODY
></TABLE
><P
></P
>
  </P
></DIV
><DIV
CLASS="NAVFOOTER"
><HR
ALIGN="LEFT"
WIDTH="100%"><TABLE
SUMMARY="Footer navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
><A
HREF="function.ini-set.html"
ACCESSKEY="P"
>上一页</A
></TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="index.html"
ACCESSKEY="H"
>起始页</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
><A
HREF="function.memory-get-peak-usage.html"
ACCESSKEY="N"
>下一页</A
></TD
></TR
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
>ini_set</TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="ref.info.html"
ACCESSKEY="U"
>上一级</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
>memory_get_peak_usage</TD
></TR
></TABLE
></DIV
></BODY
></HTML
>