mirror of
https://github.com/macintoshplus/doc-en.git
synced 2026-04-25 09:38:04 +02:00
16622da7f4
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@161335 c90b9560-bf6c-de11-be94-00142212c4b1
87 lines
2.2 KiB
XML
Executable File
87 lines
2.2 KiB
XML
Executable File
<?xml version="1.0" encoding="iso-8859-1"?>
|
|
<!-- $Revision: 1.11 $ -->
|
|
<chapter id="faq.migration4">
|
|
<title>Migrating from PHP 3 to PHP 4</title>
|
|
<titleabbrev>Migrating from PHP 3 to PHP 4</titleabbrev>
|
|
|
|
<para>
|
|
PHP has already a long history behind him :
|
|
Legendary PHP 1.0, PHP/FI, PHP 3.0 and PHP 4.0.
|
|
</para>
|
|
|
|
<qandaset>
|
|
<qandaentry id="faq.migration4.php34">
|
|
<question>
|
|
<para>
|
|
Migrating from PHP 3 to PHP 4
|
|
</para>
|
|
</question>
|
|
<answer>
|
|
<para>
|
|
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.
|
|
</para>
|
|
<para>
|
|
Also see the <link linkend="migration4">appropriate migration
|
|
appendix</link> of this manual.
|
|
</para>
|
|
</answer>
|
|
</qandaentry>
|
|
|
|
<qandaentry id="faq.migration4.sessions">
|
|
<question>
|
|
<para>
|
|
Do sessions work in PHP 3?
|
|
</para>
|
|
</question>
|
|
<answer>
|
|
<para>
|
|
Although <link linkend="ref.session">native session support</link>
|
|
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 <ulink url="&url.phplib;">PHPLIB</ulink>.
|
|
</para>
|
|
</answer>
|
|
</qandaentry>
|
|
|
|
<qandaentry id="faq.migration4.incompatible">
|
|
<question>
|
|
<para>
|
|
Incompatible functions?
|
|
</para>
|
|
</question>
|
|
<answer>
|
|
<para>
|
|
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.
|
|
</para>
|
|
</answer>
|
|
</qandaentry>
|
|
|
|
</qandaset>
|
|
</chapter>
|
|
|
|
<!-- Keep this comment at the end of the file
|
|
Local variables:
|
|
mode: sgml
|
|
sgml-omittag:t
|
|
sgml-shorttag:t
|
|
sgml-minimize-attributes:nil
|
|
sgml-always-quote-attributes:t
|
|
sgml-indent-step:1
|
|
sgml-indent-data:t
|
|
indent-tabs-mode:nil
|
|
sgml-parent-document:nil
|
|
sgml-default-dtd-file:"../../manual.ced"
|
|
sgml-exposed-tags:nil
|
|
sgml-local-catalogs:nil
|
|
sgml-local-ecat-files:nil
|
|
End:
|
|
vim600: syn=xml fen fdm=syntax fdl=2 si
|
|
vim: et tw=78 syn=sgml
|
|
vi: ts=1 sw=1
|
|
-->
|