1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200
|
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.27 $ -->
<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>
<para>
This section holds the most general questions about PHP:
what it is and what it does.
</para>
<qandaset>
<qandaentry xml:id="faq.general.what">
<question>
<para>What is PHP?</para>
</question>
<answer>
<para>
From the <link linkend="preface">preface of the manual</link>:
</para>
<para>
PHP is an HTML-embedded scripting language. Much of
its syntax is borrowed from C, Java and Perl with a couple of unique
PHP-specific features thrown in. The goal of the language is to
allow web developers to write dynamically generated pages quickly.
</para>
</answer>
</qandaentry>
<qandaentry xml:id="faq.general.acronym">
<question>
<para>What does PHP stand for?</para>
</question>
<answer>
<para>
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.
For more information, the curious can visit
<link xlink:href="&url.foldoc;">Free On-Line Dictionary of Computing</link>
or the
<link xlink:href="&url.wiki.recursive-acronym;">Wikipedia entry on
recursive acronyms</link>.
</para>
</answer>
</qandaentry>
<qandaentry xml:id="faq.general.relation-versions">
<question>
<para>What is the relation between the versions?</para>
</question>
<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 5 is the current
generation of PHP, which uses the <link xlink:href="&url.zend;">Zend
engine 2</link> which, among other things, offers many additional
<link linkend="language.oop5">OOP</link> features.
</para>
</answer>
</qandaentry>
<qandaentry xml:id="faq.general.running-concurent">
<question>
<para>Can I run several versions of PHP at the same time?</para>
</question>
<answer>
<para>
Yes. See the <filename>INSTALL</filename> file that is included
in the PHP source distribution.
</para>
</answer>
</qandaentry>
<qandaentry xml:id="faq.general.differences-34">
<question>
<para>What are the differences between PHP 3 and PHP 4?</para>
</question>
<answer>
<para>
Here's a list of some of the more important new features:
<itemizedlist>
<listitem>
<simpara>Extended API module</simpara>
</listitem>
<listitem>
<simpara>Generalized build process under Unix</simpara>
</listitem>
<listitem>
<simpara>Generic web server interface that also supports
multi-threaded web servers</simpara>
</listitem>
<listitem>
<simpara>Improved syntax highlighter</simpara>
</listitem>
<listitem>
<simpara>Native HTTP session support</simpara>
</listitem>
<listitem>
<simpara>Output buffering support</simpara>
</listitem>
<listitem>
<simpara>More powerful configuration system</simpara>
</listitem>
<listitem>
<simpara>Reference counting</simpara>
</listitem>
</itemizedlist>
Please see the <link xlink:href="&url.zend.new;">What's new in
PHP 4 overview</link> for a detailed explanation of these
features and more.
</para>
</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>
</listitem>
</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>
I think I found a bug! Who should I tell?
</para>
</question>
<answer>
<para>
You should go to the PHP Bug Database and make sure the bug
isn't a known bug. If you don't see it in the database, use
the reporting form to report the bug. It is important to use
the bug database instead of just sending an email to one of the
mailing lists because the bug will have a tracking number assigned
and it will then be possible for you to go back later and check
on the status of the bug. The bug database can be found at
<link xlink:href="&url.php.bugs;">&url.php.bugs;</link>.
</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
-->
|