note 113998 added to language.oop5.visibility

From: Date: Sat, 28 Dec 2013 08:44:20 +0000
Subject: note 113998 added to language.oop5.visibility
Groups: php.notes 
Request: Send a blank email to php-notes+get-198039@lists.php.net to get a copy of this message
There has a problem on the page of PHP Manual >Language Reference> Classes and Objects >Example #2 Method Declaration. "$myFoo = new foo(); $myFoo->test(); // Bar::testPrivate // Foo::testPublic" should be "$myFoo = newFoo(); $myFoo->test(); //Bar::testPrivate //Bar::testPublic" Because there is not a foo but a Foo class.And the test() function comes from the class of Bar,so "Foo::testPublic" should not come here. ---- Server IP: 72.52.91.14 Probable Submitter: 72.52.91.14 ---- Manual Page -- http://php.net/manual/en/language.oop5.visibility.php Edit -- https://master.php.net/note/edit/113998 Del: integrated -- https://master.php.net/note/delete/113998/integrated Del: useless -- https://master.php.net/note/delete/113998/useless Del: bad code -- https://master.php.net/note/delete/113998/bad+code Del: spam -- https://master.php.net/note/delete/113998/spam Del: non-english -- https://master.php.net/note/delete/113998/non-english Del: in docs -- https://master.php.net/note/delete/113998/in+docs Del: other reasons-- https://master.php.net/note/delete/113998 Reject -- https://master.php.net/note/reject/113998 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#198039) next »