Sophie

Sophie

distrib > Mandriva > 9.1 > ppc > media > main > by-pkgid > 0afeee9cca140e167a996902b9a677c5 > files > 3032

php-manual-en-4.3.0-2mdk.noarch.rpm

<HTML
><HEAD
><TITLE
>Migrating from PHP 3 to PHP 4</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.7"><LINK
REL="HOME"
TITLE="PHP Manual"
HREF="index.html"><LINK
REL="UP"
TITLE="Appendixes"
HREF="appendixes.html"><LINK
REL="PREVIOUS"
TITLE="Publications about PHP"
HREF="history.php.publications.html"><LINK
REL="NEXT"
TITLE="Running PHP 3 and PHP 4 concurrently"
HREF="migration4.php4.with.php3.html"><META
HTTP-EQUIV="Content-type"
CONTENT="text/html; charset=ISO-8859-1"></HEAD
><BODY
CLASS="appendix"
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 Manual</TH
></TR
><TR
><TD
WIDTH="10%"
ALIGN="left"
VALIGN="bottom"
><A
HREF="history.php.publications.html"
ACCESSKEY="P"
>Prev</A
></TD
><TD
WIDTH="80%"
ALIGN="center"
VALIGN="bottom"
></TD
><TD
WIDTH="10%"
ALIGN="right"
VALIGN="bottom"
><A
HREF="migration4.php4.with.php3.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
></TABLE
><HR
ALIGN="LEFT"
WIDTH="100%"></DIV
><DIV
CLASS="appendix"
><H1
><A
NAME="migration4"
>Appendix B. Migrating from PHP 3 to PHP 4</A
></H1
><DIV
CLASS="TOC"
><DL
><DT
><B
>Table of Contents</B
></DT
><DT
><A
HREF="migration4.html#migration4.changes"
>What has changed in PHP 4</A
></DT
><DT
><A
HREF="migration4.php4.with.php3.html"
>Running PHP 3 and PHP 4 concurrently</A
></DT
><DT
><A
HREF="migration4.configuration.html"
>Migrating Configuration Files</A
></DT
><DT
><A
HREF="migration4.parser.html"
>Parser behavior</A
></DT
><DT
><A
HREF="migration4.error-reporting.html"
>Error reporting</A
></DT
><DT
><A
HREF="migration4.initializers.html"
>Initializers</A
></DT
><DT
><A
HREF="migration4.empty.html"
><TT
CLASS="literal"
>empty("0")</TT
></A
></DT
><DT
><A
HREF="migration4.missing.html"
>Missing functions</A
></DT
><DT
><A
HREF="migration4.extensions.html"
>PHP 3 extension</A
></DT
><DT
><A
HREF="migration4.strings.html"
>Variable substitution in strings</A
></DT
><DT
><A
HREF="migration4.cookies.html"
>Cookies</A
></DT
><DT
><A
HREF="migration4.variables.html"
>Handling of global variables</A
></DT
></DL
></DIV
><DIV
CLASS="section"
><H1
CLASS="section"
><A
NAME="migration4.changes"
></A
>What has changed in PHP 4</H1
><P
>&#13;    PHP 4 and the integrated Zend engine have greatly improved PHP's
    performance and capabilities, but great care has been taken to
    break as little existing code as possible. So migrating your code
    from PHP 3 to 4 should be much easier than migrating from
    PHP/FI 2 to PHP 3. A lot of existing PHP 3 code should be
    ready to run without changes, but you should still know about the
    few differences and take care to test your code before switching
    versions in production environments. The following should give you
    some hints about what to look for.
   </P
></DIV
></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="history.php.publications.html"
ACCESSKEY="P"
>Prev</A
></TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="index.html"
ACCESSKEY="H"
>Home</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
><A
HREF="migration4.php4.with.php3.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
>Publications about PHP</TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="appendixes.html"
ACCESSKEY="U"
>Up</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
>Running PHP 3 and PHP 4 concurrently</TD
></TR
></TABLE
></DIV
></BODY
></HTML
>