git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@167332 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Curt Zirzow 2004-08-26 20:21:33 +00:00
parent 788d16f2c8
commit 1aa97fae43

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.3 $ -->
<!-- $Revision: 1.4 $ -->
<sect1 id="language.oop5.basic">
<title>The Basics</title>
@ -9,7 +9,7 @@
<para>
Every class definition begins with the keyword class, followed by a class
name, which can be any name that isn't a <link linkend="reserved">
reserverd</link> word in PHP. Followed by a pair of curly braces, of
reserved</link> word in PHP. Followed by a pair of curly braces, of
which contains the definition of the classes members and methods. Within
each method, except for <link linkend="language.oop5.static">static</link>
methods, a pseudo variable <varname>$this</varname> is available.