Edit report at https://bugs.php.net/bug.php?id=62560&edit=1

 ID:                 62560
 Updated by:         ras...@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

Reply via email to