note 74485 deleted from language.oop5.static by mazzanet
| From: | mazzanet@php.net | Date: | Sat, 14 Apr 2007 08:36:27 +0000 |
| Subject: | note 74485 deleted from language.oop5.static by mazzanet | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-125378@lists.php.net to get a copy of this message | ||
Note Submitter: carbolover at free dot fr
----
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".