note 109382 added to language.oop5.abstract

From: Date: Thu, 12 Jul 2012 18:39:26 +0000
Subject: note 109382 added to language.oop5.abstract
Groups: php.notes 
Request: Send a blank email to php-notes+get-189110@lists.php.net to get a copy of this message
class ClassOne { protected static $staticone = 'nathan'; protected function changestaticone() { return self::$staticone = 'john'; } } class ClassTwo extends ClassOne { public function changestaticone() { return self::$staticone = 'Alexey'; } } $classtwo = new ClassTwo(); echo $classtwo->changestaticone(); ---- Server IP: 69.147.83.197 Probable Submitter: 49.202.113.147 ---- Manual Page -- http://www.php.net/manual/en/language.oop5.abstract.php Edit -- https://master.php.net/note/edit/109382 Del: integrated -- https://master.php.net/note/delete/109382/integrated Del: useless -- https://master.php.net/note/delete/109382/useless Del: bad code -- https://master.php.net/note/delete/109382/bad+code Del: spam -- https://master.php.net/note/delete/109382/spam Del: non-english -- https://master.php.net/note/delete/109382/non-english Del: in docs -- https://master.php.net/note/delete/109382/in+docs Del: other reasons-- https://master.php.net/note/delete/109382 Reject -- https://master.php.net/note/reject/109382 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#189110) next »