Re: [RFC] [VOTE] __debugInfo()
From: Crypto Compress Date: Mon, 03 Feb 2014 21:03:51 +0000 Subject: Re: [RFC] [VOTE] __debugInfo() References: 1 2 Groups: php.internals Request: Send a blank email to [email protected] to get a copy of this message
Hi! This is a somewhat unexpected BC break in a point release. Why no 6.0 option? class Dog { public function __debugInfo() { return ['Cat']; } } var_dump(new Dog); // Array { "Cat" } Name is a bit ambiguous. This method does not debug anything as in xdebug or phpdbg. It exposes internal "__state". cryptocompress
Thread (55 messages)
« previous | php.internals (#72119) | next » |
---|