note 70770 added to language.oop5.basic

From: Date: Fri, 27 Oct 2006 06:00:35 +0000
Subject: note 70770 added to language.oop5.basic
Groups: php.notes 
Request: Send a blank email to php-notes+get-119160@lists.php.net to get a copy of this message
If E_STRICT is enabled, the first example will generate the following error (and a few others akin to it): Non-static method A::foo() should not be called statically on line 26 The example should have explicitly declared the methods foo() and bar() as static: class A { static function foo() { ... ---- Server IP: 216.194.113.175 Probable Submitter: 208.53.138.11 ---- Manual Page -- http://www.php.net/manual/en/language.oop5.basic.php Edit -- https://master.php.net/note/edit/70770 Del: integrated -- https://master.php.net/note/delete/70770/integrated Del: useless -- https://master.php.net/note/delete/70770/useless Del: bad code -- https://master.php.net/note/delete/70770/bad+code Del: spam -- https://master.php.net/note/delete/70770/spam Del: non-english -- https://master.php.net/note/delete/70770/non-english Del: in docs -- https://master.php.net/note/delete/70770/in+docs Del: other reasons-- https://master.php.net/note/delete/70770 Reject -- https://master.php.net/note/reject/70770 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#119160) next »