Re: [RFC] [VOTE] __debugInfo()
| From: | Crypto Compress | Date: | Tue, 11 Feb 2014 18:54:54 +0000 |
| Subject: | Re: [RFC] [VOTE] __debugInfo() | ||
| References: | 1 2 3 4 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-72465@lists.php.net to get a copy of this message | ||
__ method names are reserved for internals. There is no BC break.Yes, there is however an expectation break but thats not the Point. May even be useful. Imagine a mock library: Usecase #1: end-user Sees only immediate useful data. No cluttered object graph. Very useful! Usecase #2: new maintainer Hunting bug in mock object. No way to var_dump object internals at all. Wait what?