git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@159458 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Jakub Vrana 2004-05-23 16:02:56 +00:00
parent 7b34ccd455
commit 6eed3f110a

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.51 $ -->
<!-- $Revision: 1.52 $ -->
<chapter id="language.oop">
<title>Classes and Objects</title>
@ -241,7 +241,7 @@ $cart->$myvar = array("10" => 1);
has all variables and functions of the base class (this is
called 'inheritance' despite the fact that nobody died) and what
you add in the extended definition. It is not possible to
substract from a class, that is, to undefine any existing
subtract from a class, that is, to undefine any existing
functions or variables. An extended class is always dependent
on a single base class, that is, multiple inheritance is
not supported. Classes are extended using the keyword 'extends'.