vrana Thu Aug 16 08:42:11 2007 UTC
Modified files:
/phpdoc/en/language oop.xml
Log:
Explicitly define var (bug #42285)
http://cvs.php.net/viewvc.cgi/phpdoc/en/language/oop.xml?r1=1.68&r2=1.69&diff_format=u
Index: phpdoc/en/language/oop.xml
diff -u phpdoc/en/language/oop.xml:1.68 phpdoc/en/language/oop.xml:1.69
--- phpdoc/en/language/oop.xml:1.68 Wed Jun 20 22:24:12 2007
+++ phpdoc/en/language/oop.xml Thu Aug 16 08:42:11 2007
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.68 $ -->
+<!-- $Revision: 1.69 $ -->
<chapter xml:id="language.oop" xmlns="http://docbook.org/ns/docbook">
<title>Classes and Objects (PHP 4)</title>
@@ -7,7 +7,9 @@
<title><literal>class</literal></title>
<para>
A class is a collection of variables and functions working with
- these variables. A class is defined using the following syntax:
+ these variables. Variables are defined by <literal>var</literal> and
+ functions by <literal>function</literal>. A class is defined using the
+ following syntax:
</para>
<para>
<informalexample>