Sophie

Sophie

distrib > PLD > ac > amd64 > media > dist > by-pkgid > dd8ef74e7a184506d40e4328053fb785 > files > 46

php-manual-ro-20051028-1.noarch.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<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="Manual PHP"
HREF="index.html"><LINK
REL="UP"
TITLE="FAQ: Întrebãri frecvente"
HREF="faq.html"><LINK
REL="PREVIOUS"
TITLE="Migrating from PHP 2 to PHP 3"
HREF="faq.migration.html"><LINK
REL="NEXT"
TITLE="Miscellaneous Questions"
HREF="faq.misc.html"><META
HTTP-EQUIV="Content-type"
CONTENT="text/html; charset=ISO-8859-2"></HEAD
><BODY
CLASS="chapter"
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"
>Manual PHP</TH
></TR
><TR
><TD
WIDTH="10%"
ALIGN="left"
VALIGN="bottom"
><A
HREF="faq.migration.html"
ACCESSKEY="P"
>Înapoi</A
></TD
><TD
WIDTH="80%"
ALIGN="center"
VALIGN="bottom"
></TD
><TD
WIDTH="10%"
ALIGN="right"
VALIGN="bottom"
><A
HREF="faq.misc.html"
ACCESSKEY="N"
>Înainte</A
></TD
></TR
></TABLE
><HR
ALIGN="LEFT"
WIDTH="100%"></DIV
><DIV
CLASS="chapter"
><H1
><A
NAME="faq.migration4"
>Cap. 57. Migrating from PHP 3 to PHP 4</A
></H1
><P
>&#13;   PHP has already a long history behind him :
   Legendary PHP 1.0, PHP/FI, PHP 3.0 and PHP 4.0.
  </P
><DIV
CLASS="qandaset"
><DL
><DT
>1. <A
HREF="faq.migration4.html#faq.migration4.php34"
>&#13;      Migrating from PHP 3 to PHP 4
     </A
></DT
><DT
>2. <A
HREF="faq.migration4.html#faq.migration4.sessions"
>&#13;      Do sessions work in PHP 3?
     </A
></DT
><DT
>3. <A
HREF="faq.migration4.html#faq.migration4.incompatible"
>&#13;      Incompatible functions?
     </A
></DT
></DL
><DIV
CLASS="qandaentry"
><B
><DIV
CLASS="question"
><P
><A
NAME="faq.migration4.php34"
></A
><B
>1. </B
>
      Migrating from PHP 3 to PHP 4
     </P
></DIV
></B
><DIV
CLASS="answer"
><P
><B
> </B
>
      PHP 4 was designed to be as compatible with earlier versions of
      PHP as possible and very little functionality was broken in the
      process. If you're really unsure about compatibility you should
      install PHP 4 in a test environment and run your scripts there.
     </P
><P
>&#13;      Also see the <A
HREF="migration4.html"
>appropriate migration
      appendix</A
> of this manual.
     </P
></DIV
></DIV
><DIV
CLASS="qandaentry"
><B
><DIV
CLASS="question"
><P
><A
NAME="faq.migration4.sessions"
></A
><B
>2. </B
>
      Do sessions work in PHP 3?
     </P
></DIV
></B
><DIV
CLASS="answer"
><P
><B
> </B
>
      Although <A
HREF="ref.session.html"
>native session support</A
>
      didn't exist in PHP 3, there are third-party applications that did
      (and still do) offer session functionality.  The most common method
      was by using <A
HREF="http://phplib.sourceforge.net/"
TARGET="_top"
>PHPLIB</A
>.
     </P
></DIV
></DIV
><DIV
CLASS="qandaentry"
><B
><DIV
CLASS="question"
><P
><A
NAME="faq.migration4.incompatible"
></A
><B
>3. </B
>
      Incompatible functions?
     </P
></DIV
></B
><DIV
CLASS="answer"
><P
><B
> </B
>
      Since PHP 4 is basically a rewrite of the entire PHP engine there
      were very few functions that were altered and only then some of
      the more exotic ones.
     </P
></DIV
></DIV
></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="faq.migration.html"
ACCESSKEY="P"
>Înapoi</A
></TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="index.html"
ACCESSKEY="H"
>Acas&#227;</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
><A
HREF="faq.misc.html"
ACCESSKEY="N"
>Înainte</A
></TD
></TR
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
>Migrating from PHP 2 to PHP 3</TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="faq.html"
ACCESSKEY="U"
>Sus</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
>Miscellaneous Questions</TD
></TR
></TABLE
></DIV
></BODY
></HTML
>