Bug #67491 [NEW]: Crush __debugInfo

From: Date: Sat, 21 Jun 2014 17:50:34 +0000
Subject: Bug #67491 [NEW]: Crush __debugInfo
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-186282@lists.php.net to get a copy of this message
From: imbolk at gmail dot com Operating system: Mac OS X 10.9.3 PHP version: 5.6.0RC1 Package: *General Issues Bug Type: Bug Bug description:Crush __debugInfo Description: ------------ Crush in __debugInfo then $GLOBALS returned. Test script: --------------- class A { public function __debugInfo() { return $GLOBALS; } } $a = new A; var_dump($a); Expected result: ---------------- $GLOBALS output. Actual result: -------------- core dumped -- Edit bug report at https://bugs.php.net/bug.php?id=67491&edit=1 --

« previous php.bugs (#186282) next »