File: general.xml

package info (click to toggle)
php-doc 20100521-2
  • links: PTS, VCS
  • area: main
  • in suites: squeeze, wheezy
  • size: 59,992 kB
  • ctags: 4,085
  • sloc: xml: 796,833; php: 21,338; cpp: 500; sh: 117; makefile: 58; awk: 28
file content (159 lines) | stat: -rw-r--r-- 5,288 bytes parent folder | download | duplicates (2)
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
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision: 297028 $ -->
<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-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 linkend="migrating5.errorrep">E_STRICT</link>,
         for run-time code suggestions
        </simpara>
       </listitem>
       <listitem>
        <simpara>A host of new
         <link linkend="migration5.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 linkend="faq.migration5">Migrating from PHP 4 to
      PHP 5</link> and the section on
      <link linkend="migration5.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:"~/.phpdoc/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
-->