Grammar (bug #37216)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@212065 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Jakub Vrana 2006-04-27 07:25:56 +00:00
parent 98d76cd9a7
commit 0d733ce0f2

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.64 $ -->
<!-- $Revision: 1.65 $ -->
<chapter id="language.oop">
<title>Classes and Objects (PHP 4)</title>
@ -394,7 +394,7 @@ $ncart->add_item("10", 1); // (inherited functionality from cart)
called when you create a new instance of a class with
<literal>new</literal>. A function becomes a constructor, when
it has the same name as the class. If a class
has no constructor, the constructor of the base class is being
has no constructor, the constructor of the base class will be
called, if it exists.
</para>