Hi Crypto,
On Tue, Feb 4, 2014 at 6:03 AM, Crypto Compress <
[email protected]> wrote:
> 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".
>
__someMethod() is reserved name for internal use and it is explicitly
documented.
If it breaks, it's users fault. We cannot cover all of user faults...
Regards,
--
Yasuo Ohgaki
[email protected]