Bug #65419 [Fbk->Csd]: Inside trait, self::class != __CLASS__
| From: | ab@php.net | Date: | Fri, 05 Dec 2014 07:00:55 +0000 |
| Subject: | Bug #65419 [Fbk->Csd]: Inside trait, self::class != __CLASS__ | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-188927@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=65419&edit=1
ID: 65419
Updated by: ab@php.net
Reported by: nicolas dot grekas+php at gmail dot com
Summary: Inside trait, self::class != __CLASS__
-Status: Feedback
+Status: Closed
Type: Bug
Package: Scripting Engine problem
PHP Version: 5.5.1
Assigned To: ralphschindler
Block user comment: N
Private report: N
New Comment:
Automatic comment on behalf of jpauli
Revision: http://git.php.net/?p=php-src.git;a=commit;h=7c77ca38b1e3ea7a707380c731b237c2c480e093
Log: Fix #65419 - Inside trait, self::class != __CLASS__
Previous Comments:
------------------------------------------------------------------------
[2014-11-28 13:22:28] jpauli@php.net
Please try using this snapshot:
http://snaps.php.net/php5.5-latest.tar.gz
For Windows:
http://windows.php.net/snapshots/
------------------------------------------------------------------------
[2014-11-28 12:39:44] jpauli@php.net
Automatic comment on behalf of jpauli
Revision: http://git.php.net/?p=php-src.git;a=commit;h=7c77ca38b1e3ea7a707380c731b237c2c480e093
Log: Fix #65419 - Inside trait, self::class != __CLASS__
------------------------------------------------------------------------
[2014-11-28 12:39:18] jpauli@php.net
Automatic comment on behalf of jpauli
Revision: http://git.php.net/?p=php-src.git;a=commit;h=7c77ca38b1e3ea7a707380c731b237c2c480e093
Log: Fix #65419 - Inside trait, self::class != __CLASS__
------------------------------------------------------------------------
[2014-11-28 12:38:42] jpauli@php.net
Automatic comment on behalf of jpauli
Revision: http://git.php.net/?p=php-src.git;a=commit;h=7c77ca38b1e3ea7a707380c731b237c2c480e093
Log: Fix #65419 - Inside trait, self::class != __CLASS__
------------------------------------------------------------------------
[2014-10-29 13:40:18] jpauli@php.net
Got a patch at https://github.com/jpauli/php-src/compare/65419
I basically add a runtime resolve for self:: into Traits, making it behaves like __CLASS__
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
https://bugs.php.net/bug.php?id=65419
--
Edit this bug report at https://bugs.php.net/bug.php?id=65419&edit=1