Explicitly define var (bug #42285)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@241292 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Jakub Vrana 2007-08-16 08:42:11 +00:00
parent 6b8c0223ee
commit 1ebbb67397

View file

@ -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>