note 117965 added to language.oop5.abstract

From: Date: Wed, 09 Sep 2015 17:02:26 +0000
Subject: note 117965 added to language.oop5.abstract
Groups: php.notes 
Request: Send a blank email to php-notes+get-203757@lists.php.net to get a copy of this message
In their endless wisdom the creators of PHP disabled abstraction of static functions (methods) in strict mode in PHP 5.2 although PHP supports "late static binding", so you have to use interfaces to force the implementation of static methods in inheriting classes (with the disadvantage that such methods must be public and cannot be protected or private). ---- Server IP: 72.52.91.14 Probable Submitter: 78.52.98.77 ---- Manual Page -- http://php.net/manual/en/language.oop5.abstract.php Edit -- https://master.php.net/note/edit/117965 Del: integrated -- https://master.php.net/note/delete/117965/integrated Del: useless -- https://master.php.net/note/delete/117965/useless Del: bad code -- https://master.php.net/note/delete/117965/bad+code Del: spam -- https://master.php.net/note/delete/117965/spam Del: non-english -- https://master.php.net/note/delete/117965/non-english Del: in docs -- https://master.php.net/note/delete/117965/in+docs Del: other reasons-- https://master.php.net/note/delete/117965 Reject -- https://master.php.net/note/reject/117965 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#203757) next »