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:             Feedback
 Type:               Bug
 Package:            Reflection related
 Operating System:   Ubuntu
 PHP Version:        5.4.4
 Block user comment: N
 Private report:     N

 New Comment:

Right, we fixed something related to this recently in APC. Grab the svn version 
and try again.


Previous Comments:
------------------------------------------------------------------------
[2012-07-14 08:24:03] franssen dot roland at gmail dot com

Test script works as expected when APC is disabled.

------------------------------------------------------------------------
[2012-07-14 08:07:02] franssen dot roland at gmail dot com

Memcached is also enabled.

------------------------------------------------------------------------
[2012-07-14 08:06:13] franssen dot roland at gmail dot com

APC is enabled, but disabled on CLI.

This reminds me of issues with \RuntimeException;
https://bugs.php.net/bug.php?id=62419#1341752621

------------------------------------------------------------------------
[2012-07-13 22:05:57] ras...@php.net

I can't replicate that here on Ubuntu. Do you have any other extensions 
installed? APC, XDebug, etc. ?

------------------------------------------------------------------------
[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