From 56023920cb287d802c502b4a472933106d235038 Mon Sep 17 00:00:00 2001 From: Adam Harvey Date: Sun, 21 Jul 2013 14:38:05 +0000 Subject: [PATCH] Document the change in inheritance behaviour in PHP 5.3.9 when conflicting method names share a signature. Fixes doc bug #65246 (Discrepancy between documentation and actual workings). git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@330996 c90b9560-bf6c-de11-be94-00142212c4b1 --- language/oop5/interfaces.xml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/language/oop5/interfaces.xml b/language/oop5/interfaces.xml index 24479e2cf0..dbedfff061 100644 --- a/language/oop5/interfaces.xml +++ b/language/oop5/interfaces.xml @@ -26,8 +26,10 @@ - A class cannot implement two interfaces that share function names, since - it would cause ambiguity. + Prior to PHP 5.3.9, a class could not implement two interfaces that + specified a method with the same name, since it would cause ambiguity. + More recent versions of PHP allow this as long as the duplicate methods + have the same signature.