Bug #62560 [Opn->Fbk]: \ReflectionProperty on Exception::$trace has incorrect internal name
| From: | rasmus@php.net | Date: | Fri, 13 Jul 2012 22:05:57 +0000 |
| Subject: | Bug #62560 [Opn->Fbk]: \ReflectionProperty on Exception::$trace has incorrect internal name | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-171933@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=62560&edit=1
ID: 62560
Updated by: rasmus@php.net
Reported by: franssen dot roland at gmail dot com
Summary: \ReflectionProperty on Exception::$trace has
incorrect internal name
-Status: Open
+Status: Feedback
Type: Bug
Package: Reflection related
Operating System: Ubuntu
PHP Version: 5.4.4
Block user comment: N
Private report: N
New Comment:
I can't replicate that here on Ubuntu. Do you have any other extensions
installed? APC, XDebug, etc. ?
Previous Comments:
------------------------------------------------------------------------
[2012-07-13 20:46:22] franssen dot roland at gmail dot com
Description:
------------
Well this is awkward... this seems to happens as of php 5.4.4
Test script:
---------------
<?php
$reflection = new \ReflectionClass(new \Exception('...'));
var_dump($reflection->getProperty('trace')->getName());
var_dump($reflection->getProperty('previous')->getName());
Expected result:
----------------
string(5) "trace"
string(8) "previous"
Actual result:
--------------
string(14) "trace"e��0�w "
string(8) "previous"
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=62560&edit=1