note 68323 added to language.variables.scope
| From: | mega-squall at caramail dot com | Date: | Sat, 22 Jul 2006 15:47:53 +0000 |
| Subject: | note 68323 added to language.variables.scope | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-115048@lists.php.net to get a copy of this message | ||
In addition to sami's comment :
static keyword for class method is considered a compatibility feature in PHP5. In PHP6
however, calling an instance method (not defined using static) as a class method (using
class::method() ) will display an EWarning. Also note that in PHP6, calling a class
method (defined using static) as an instance method (using
$instance->method()) will ALSO display an EWarning.
----
Server IP: 217.174.203.10
Probable Submitter: 212.198.12.136
----
X-Spam-Status: No, hits=3.1 required=5.0 tests=DATE_MISSING,FROM_NO_LOWER
autolearn=no version=2.64
----
Manual Page -- http://www.php.net/manual/en/language.variables.scope.php
Edit -- http://master.php.net/note/edit/68323
Del: integrated -- http://master.php.net/note/delete/68323/integrated
Del: useless -- http://master.php.net/note/delete/68323/useless
Del: bad code -- http://master.php.net/note/delete/68323/bad+code
Del: spam -- http://master.php.net/note/delete/68323/spam
Del: non-english -- http://master.php.net/note/delete/68323/non-english
Del: in docs -- http://master.php.net/note/delete/68323/in+docs
Del: other reasons-- http://master.php.net/note/delete/68323
Reject -- http://master.php.net/note/reject/68323
Search -- http://master.php.net/manage/user-notes.php