Edit report at https://bugs.php.net/bug.php?id=62560&edit=1
ID: 62560 Comment by: franssen dot roland at gmail dot com 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: APC is enabled, but disabled on CLI. This reminds me of issues with \RuntimeException; https://bugs.php.net/bug.php?id=62419#1341752621 Previous Comments: ------------------------------------------------------------------------ [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