note 102906 deleted from language.oop5.paamayim-nekudotayim by danbrown
| From: | danbrown@php.net | Date: | Mon, 14 Mar 2011 15:35:01 +0000 |
| Subject: | note 102906 deleted from language.oop5.paamayim-nekudotayim by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-177856@lists.php.net to get a copy of this message | ||
Note Submitter: leoniu07 at gmail dot com
----
To "wes [at] sdynamics [dat] com"
Debug Strict (PHP 5):
1. Non-static method Beta::whoami() should not be called statically
2. assuming $this from incompatible context
Why calling a Non-static within a class scope but not an object scope? because there is no any
object created, so the php interpreter can only look for an object for $this within context and an
Alpha was unluckily chosen.