From dcac1cb0bfa8798304ee7b074e707315ec5a9818 Mon Sep 17 00:00:00 2001 From: Philip Olson Date: Wed, 20 Oct 2010 19:20:45 +0000 Subject: [PATCH] Fixed build git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@304570 c90b9560-bf6c-de11-be94-00142212c4b1 --- language/oop5/inheritance.xml | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/language/oop5/inheritance.xml b/language/oop5/inheritance.xml index be546a2ba9..1139887a1f 100644 --- a/language/oop5/inheritance.xml +++ b/language/oop5/inheritance.xml @@ -18,6 +18,15 @@ need to reimplement all of the shared functionality. + + + Unless autoloading is used, then classes must be defined before they are + used. If a class extends another, then the parent class must be declared + before the child class structure. This rule applies to class that inherit + other classes and interfaces. + + + Inheritance Example @@ -59,14 +68,6 @@ $bar->printPHP(); // Output: 'PHP is great' - - - Unless autoloading is used, then classes must be defined before they are - used. If a class extends another, then the parent class must be declared - before the child class structure. This rule applies to class that inherit - other classes and interfaces. - -