cvs: phpdoc /en/faq general.xml
| From: | Daniel P. Brown | Date: | Wed, 09 Jul 2008 14:53:00 +0000 |
| Subject: | cvs: phpdoc /en/faq general.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-1847@lists.php.net to get a copy of this message | ||
danbrown Wed Jul 9 14:53:00 2008 UTC
Modified files:
/phpdoc/en/faq general.xml
Log:
Added "What are the differences between PHP 4 and PHP 5" and updated "What is the
relation between versions?" section.
http://cvs.php.net/viewvc.cgi/phpdoc/en/faq/general.xml?r1=1.25&r2=1.26&diff_format=u
Index: phpdoc/en/faq/general.xml
diff -u phpdoc/en/faq/general.xml:1.25 phpdoc/en/faq/general.xml:1.26
--- phpdoc/en/faq/general.xml:1.25 Tue Feb 19 21:45:29 2008
+++ phpdoc/en/faq/general.xml Wed Jul 9 14:53:00 2008
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.25 $ -->
+<!-- $Revision: 1.26 $ -->
<chapter xml:id="faq.general" xmlns="http://docbook.org/ns/docbook"
xmlns:xlink="http://www.w3.org/1999/xlink">
<title>General Information</title>
<titleabbrev>General Information</titleabbrev>
@@ -36,9 +36,11 @@
PHP stands for <emphasis>PHP: Hypertext Preprocessor</emphasis>.
This confuses many people because the first word of the acronym is
the acronym. This type of acronym is called a recursive acronym.
- The curious can visit
+ For more information, the curious can visit
<link xlink:href="&url.foldoc;">Free On-Line Dictionary of
Computing</link>
- for more information on recursive acronyms.
+ or the
+ <link xlink:href="&url.wiki.recursive-acronym;">Wikipedia entry on
+ recursive acronyms</link>.
</para>
</answer>
</qandaentry>
@@ -50,11 +52,10 @@
<answer>
<para>
PHP/FI 2.0 is an early and no longer supported version of PHP. PHP 3
- is the successor to PHP/FI 2.0 and is a lot nicer. PHP 4 is the current
+ is the successor to PHP/FI 2.0 and is a lot nicer. PHP 5 is the current
generation of PHP, which uses the <link xlink:href="&url.zend;">Zend
- engine</link> under the hood. PHP 5 uses the Zend engine 2 which, among
- other things, offers many additional <link
linkend="language.oop5">OOP</link>
- features.
+ engine 2</link> which, among other things, offers many additional
+ <link linkend="language.oop5">OOP</link> features.
</para>
</answer>
</qandaentry>
@@ -112,6 +113,48 @@
</answer>
</qandaentry>
+ <qandaentry xml:id="faq.general.differences-45">
+ <question>
+ <para>What are the differences between PHP 4 and PHP 5?</para>
+ </question>
+ <answer>
+ <para>
+ While PHP 5 was purposely designed to be as compatible as
+ possible with previous versions, there are some significant
+ changes. Some of these changes include:
+ <itemizedlist>
+ <listitem>
+ <simpara>A <link linkend="language.oop5">new OOP model</link>
+ based on the <emphasis>Zend Engine 2.0</emphasis></simpara>
+ </listitem>
+ <listitem>
+ <simpara>A new extension for improved MySQL support</simpara>
+ </listitem>
+ <listitem>
+ <simpara>Built-in native support for SQLite</simpara>
+ </listitem>
+ <listitem>
+ <simpara>A new error reporting constant,
+ <link
xlink:href="&url.php.migrating5-errorrep;">E_STRICT</link>,
+ for run-time code suggestions
+ </simpara>
+ </listitem>
+ <listitem>
+ <simpara>A host of new
+ <link
xlink:href="&url.php.migrating5-functions;">functions</link>
+ to simplify code authoring (and reduce the need to write your own
+ functions for many common procedures)
+ </simpara>
+ </itemizedlist>
+ For more detailed information, please view the section on
+ <link xlink:href="&url.php.migrate-45;">Migrating from PHP 4 to
+ PHP 5</link> and the section on
+ <link xlink:href="&url.php.backwards-incompatible;">Backwards
+ Incompatible Changes</link>.
+ </para>
+ </answer>
+ </qandaentry>
+
<qandaentry xml:id="faq.general.bug">
<question>
<para>