mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 08:58:56 +00:00
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:
parent
98d76cd9a7
commit
0d733ce0f2
1 changed files with 2 additions and 2 deletions
|
@ -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>
|
||||
|
||||
|
|
Loading…
Reference in a new issue