note 74485 added to language.oop5.static

From: Date: Fri, 13 Apr 2007 10:34:08 +0000
Subject: note 74485 added to language.oop5.static
Groups: php.notes 
Request: Send a blank email to php-notes+get-125360@lists.php.net to get a copy of this message
The article says that "Static properties cannot be accessed through the object using the arrow operator ->.". I just tried the first code snippet, and the line <? print $foo->my_static . "\n"; // Undefined "Property" my_static ?> does actually print "foo". ---- Server IP: 217.174.196.197 Probable Submitter: 83.145.83.61 ---- Manual Page -- http://www.php.net/manual/en/language.oop5.static.php Edit -- https://master.php.net/note/edit/74485 Del: integrated -- https://master.php.net/note/delete/74485/integrated Del: useless -- https://master.php.net/note/delete/74485/useless Del: bad code -- https://master.php.net/note/delete/74485/bad+code Del: spam -- https://master.php.net/note/delete/74485/spam Del: non-english -- https://master.php.net/note/delete/74485/non-english Del: in docs -- https://master.php.net/note/delete/74485/in+docs Del: other reasons-- https://master.php.net/note/delete/74485 Reject -- https://master.php.net/note/reject/74485 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#125360) next »