note 47078 added to migration5.incompatible
| From: | dward dot maidencreek dot com at osu1 dot php dot net | Date: | Tue, 02 Nov 2004 08:54:04 +0000 |
| Subject: | note 47078 added to migration5.incompatible | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-79486@lists.php.net to get a copy of this message | ||
Another change that we've had problems with while trying to use PHP4 code in PHP5 is how $this
is carried across static method calls if they are not declared static in PHP5. The main issue was
that debug_backtrace() now shows the first class with -> instead of the second with :: in the
backtrace element when the method in the second class was called statically (using ::) from a method
in the first class.
----
Manual Page -- http://www.php.net/manual/en/migration5.incompatible.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+47078
Delete -- http://master.php.net/manage/user-notes.php?action=delete+47078&report=yes
Reason: bad code -- http://master.php.net/manage/user-notes.php?action=delete+47078&report=yes&reason=bad+code
Reason: spam -- http://master.php.net/manage/user-notes.php?action=delete+47078&report=yes&reason=spam
Reason: useless example -- http://master.php.net/manage/user-notes.php?action=delete+47078&report=yes&reason=useless+example
Reason: contains commercial links -- http://master.php.net/manage/user-notes.php?action=delete+47078&report=yes&reason=contains+commercial+links
Reason: useless note -- http://master.php.net/manage/user-notes.php?action=delete+47078&report=yes&reason=useless+note
Reject -- http://master.php.net/manage/user-notes.php?action=reject+47078&report=yes
Search -- http://master.php.net/manage/user-notes.php