From 32df432bacccf43b5e56a005afdbb02df5261133 Mon Sep 17 00:00:00 2001 From: Jon Wood Date: Fri, 23 Jul 2004 18:16:04 +0000 Subject: [PATCH] Created a reference on using the final keyword. git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@164118 c90b9560-bf6c-de11-be94-00142212c4b1 --- language/oop5/final.xml | 30 ++++++++++++++++++++++++++++-- 1 file changed, 28 insertions(+), 2 deletions(-) diff --git a/language/oop5/final.xml b/language/oop5/final.xml index e669d1c60e..c9e6ff0e63 100644 --- a/language/oop5/final.xml +++ b/language/oop5/final.xml @@ -1,11 +1,37 @@ - + Final Keyword - . + PHP 5 introduces the final keyword, which prevents child classes from + overriding a method or variable by prefixing the definition with final. + + + Abstract class example + + +]]> + +