From 6eed3f110af810d7489fb4f9442ffd92bbfd0e3d Mon Sep 17 00:00:00 2001 From: Jakub Vrana Date: Sun, 23 May 2004 16:02:56 +0000 Subject: [PATCH] Typo git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@159458 c90b9560-bf6c-de11-be94-00142212c4b1 --- language/oop.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/language/oop.xml b/language/oop.xml index a3457c1b91..5905dcf90f 100644 --- a/language/oop.xml +++ b/language/oop.xml @@ -1,5 +1,5 @@ - + Classes and Objects @@ -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'.