Sophie

Sophie

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

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
>New Parameters</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.79"><LINK
REL="HOME"
TITLE="PHP 手册"
HREF="index.html"><LINK
REL="UP"
TITLE="Migrating from PHP 5.1.x to PHP 5.2.x"
HREF="migration52.html"><LINK
REL="PREVIOUS"
TITLE="Changes in PHP datetime
   support"
HREF="migration52.datetime.html"><LINK
REL="NEXT"
TITLE="New Functions"
HREF="migration52.functions.html"><META
HTTP-EQUIV="Content-type"
CONTENT="text/html; charset=UTF-8"></HEAD
><BODY
CLASS="section"
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="migration52.datetime.html"
ACCESSKEY="P"
>上一页</A
></TD
><TD
WIDTH="80%"
ALIGN="center"
VALIGN="bottom"
>附录 B. Migrating from PHP 5.1.x to PHP 5.2.x</TD
><TD
WIDTH="10%"
ALIGN="right"
VALIGN="bottom"
><A
HREF="migration52.functions.html"
ACCESSKEY="N"
>下一页</A
></TD
></TR
></TABLE
><HR
ALIGN="LEFT"
WIDTH="100%"></DIV
><DIV
CLASS="section"
><H1
CLASS="section"
><A
NAME="migration52.parameters"
>New Parameters</A
></H1
><P
>&#13;   Some functions were given new parameters in PHP 5.2.x:
  </P
><P
>PHP Core:</P
><P
></P
><UL
><LI
><P
>&#13;     <A
HREF="function.base64-decode.html"
><B
CLASS="function"
>base64_decode()</B
></A
>
     - added <CODE
CLASS="parameter"
>strict</CODE
>
    </P
></LI
><LI
><P
>&#13;     <A
HREF="function.setcookie.html"
><B
CLASS="function"
>setcookie()</B
></A
>
     - added <CODE
CLASS="parameter"
>httponly</CODE
>
    </P
></LI
><LI
><P
>&#13;     <A
HREF="function.setrawcookie.html"
><B
CLASS="function"
>setrawcookie()</B
></A
>
     - added <CODE
CLASS="parameter"
>httponly</CODE
>
    </P
></LI
><LI
><P
>&#13;     <A
HREF="function.session-set-cookie-params.html"
><B
CLASS="function"
>session_set_cookie_params()</B
></A
>
     - added <CODE
CLASS="parameter"
>httponly</CODE
>
    </P
></LI
><LI
><P
>&#13;     <A
HREF="function.memory-get-usage.html"
><B
CLASS="function"
>memory_get_usage()</B
></A
>
     - added <CODE
CLASS="parameter"
>real_usage</CODE
>
    </P
></LI
></UL
><P
><A
HREF="ref.curl.html"
>curl</A
>:</P
><P
></P
><UL
><LI
><P
>&#13;     <A
HREF="function.curl-multi-info-read.html"
><B
CLASS="function"
>curl_multi_info_read()</B
></A
>
     - added <CODE
CLASS="parameter"
>msgs_in_queue</CODE
>
    </P
></LI
></UL
><P
><A
HREF="ref.imap.html"
>imap</A
>:</P
><P
></P
><UL
><LI
><P
>&#13;     <A
HREF="function.imap-open.html"
><B
CLASS="function"
>imap_open()</B
></A
>
     - added <CODE
CLASS="parameter"
>n_retries</CODE
>
    </P
></LI
><LI
><P
>&#13;     <A
HREF="function.imap-reopen.html"
><B
CLASS="function"
>imap_reopen()</B
></A
>
     - added <CODE
CLASS="parameter"
>n_retries</CODE
>
    </P
></LI
></UL
><P
><A
HREF="ref.mbstring.html"
>mbstring</A
>:</P
><P
></P
><UL
><LI
><P
>&#13;     <A
HREF="function.mb-strrpos.html"
><B
CLASS="function"
>mb_strrpos()</B
></A
>
     - added <CODE
CLASS="parameter"
>offset</CODE
>
    </P
><DIV
CLASS="warning"
><P
></P
><TABLE
CLASS="warning"
BORDER="1"
WIDTH="100%"
><TR
><TD
ALIGN="CENTER"
><B
>警告</B
></TD
></TR
><TR
><TD
ALIGN="LEFT"
><P
>&#13;      The <CODE
CLASS="parameter"
>offset</CODE
> parameter was put in the position
      the <CODE
CLASS="parameter"
>encoding</CODE
> parameter used to be.
      Backward compatibility has been
      provided by allowing <CODE
CLASS="parameter"
>encoding</CODE
> to be specified
      as the third parameter.  Using this backward compatibility mode is
      not recommended because it will be removed in a future release of PHP.
     </P
></TD
></TR
></TABLE
></DIV
></LI
></UL
><P
><A
HREF="ref.ming.html"
>ming</A
>:</P
><P
></P
><UL
><LI
><P
>&#13;     <A
HREF="function.swfmovie.streammp3.html"
><A
HREF="function.swfmovie.streammp3.html"
><B
CLASS="function"
>swfmovie::streamMP3()</B
></A
></A
>
     - added <CODE
CLASS="parameter"
>skip</CODE
> in PHP 5.2.1
    </P
></LI
></UL
><P
><A
HREF="ref.openssl.html"
>openssl</A
>:</P
><P
></P
><UL
><LI
><P
>&#13;     <A
HREF="function.openssl-verify.html"
><B
CLASS="function"
>openssl_verify()</B
></A
>
     - added <CODE
CLASS="parameter"
>signature_algo</CODE
>
    </P
></LI
></UL
><P
><A
HREF="ref.pgsql.html"
>pgsql</A
>:</P
><P
></P
><UL
><LI
><P
>&#13;     <A
HREF="function.pg-escape-bytea.html"
><B
CLASS="function"
>pg_escape_bytea()</B
></A
>
     - added <CODE
CLASS="parameter"
>connection</CODE
>
    </P
></LI
><LI
><P
>&#13;     <A
HREF="function.pg-escape-string.html"
><B
CLASS="function"
>pg_escape_string()</B
></A
>
     - added <CODE
CLASS="parameter"
>connection</CODE
>
    </P
></LI
></UL
><P
><A
HREF="ref.simplexml.html"
>simplexml</A
>:</P
><P
></P
><UL
><LI
><P
>&#13;     <A
HREF="function.simplexml-element-construct.html"
><B
CLASS="function"
>SimpleXMLElement::__construct()</B
></A
>
     - added <CODE
CLASS="parameter"
>is_prefix</CODE
>
    </P
></LI
><LI
><P
>&#13;     <A
HREF="function.simplexml-element-attributes.html"
><B
CLASS="function"
>SimpleXMLElement::attributes()</B
></A
>
     - added <CODE
CLASS="parameter"
>is_prefix</CODE
>
    </P
></LI
><LI
><P
>&#13;     <A
HREF="function.simplexml-element-children.html"
><B
CLASS="function"
>SimpleXMLElement::children()</B
></A
>
     - added <CODE
CLASS="parameter"
>is_prefix</CODE
>
    </P
></LI
><LI
><P
>&#13;     <A
HREF="function.simplexml-load-file.html"
><B
CLASS="function"
>simplexml_load_file()</B
></A
>
     - added <CODE
CLASS="parameter"
>is_prefix</CODE
>
    </P
></LI
><LI
><P
>&#13;     <A
HREF="function.simplexml-load-string.html"
><B
CLASS="function"
>simplexml_load_string()</B
></A
>
     - added <CODE
CLASS="parameter"
>is_prefix</CODE
>
    </P
></LI
></UL
><P
><A
HREF="ref.spl.html"
>spl</A
>:</P
><P
></P
><UL
><LI
><P
>&#13;     array iterator_to_array(Traversable it [, bool use_keys = true])
     - added <CODE
CLASS="parameter"
>use_keys</CODE
> in PHP 5.2.1
    </P
></LI
></UL
><P
><A
HREF="ref.xmlreader.html"
>xmlreader</A
>:</P
><P
></P
><UL
><LI
><P
>&#13;     <A
HREF="function.xmlreader-open.html"
><B
CLASS="function"
>XMLReader::open()</B
></A
>
     - added <CODE
CLASS="parameter"
>encoding</CODE
>
     and <CODE
CLASS="parameter"
>options</CODE
>
    </P
></LI
><LI
><P
>&#13;     <A
HREF="function.xmlreader-xml.html"
><B
CLASS="function"
>XMLReader::XML()</B
></A
>
     - added <CODE
CLASS="parameter"
>encoding</CODE
>
     and <CODE
CLASS="parameter"
>options</CODE
>
    </P
></LI
></UL
></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="migration52.datetime.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="migration52.functions.html"
ACCESSKEY="N"
>下一页</A
></TD
></TR
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
>Changes in PHP <A
HREF="ref.datetime.html"
>datetime</A
>
   support</TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="migration52.html"
ACCESSKEY="U"
>上一级</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
>New Functions</TD
></TR
></TABLE
></DIV
></BODY
></HTML
>