On Wed, Oct 17, 2012 at 12:11 PM, Stas Malyshev <smalys...@sugarcrm.com> wrote: > Hi! > >> That makes some sense, still the issue Nikita brought up is that the >> __getHours() should not be callable. > > I don't see any use case for this requirement. What *requires* that it > won't be callable and why it is so necessary that we introduce > additional complexity into the engine just to do it?
You have already written seven mails all saying how much complexity this would introduce. Could you maybe elaborate a bit on that? How would it make anything more complex? I mean, the only really difference we are talking about is not putting accessors into the method table, right? Rather, have them saved separately (which is actually already done, even with the current implementation). We already have the infrastructure in place to call zend_functions (and op_arrays), with scope and $this and everything. I don't see how this makes anything more complicated. But as I don't know the engine that well, maybe I missed some obvious issue. Could you enlighten me/us? -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php