Re: [RFC] Remove calls with incompatible Context
| From: | Gustavo Lopes | Date: | Thu, 02 Aug 2012 16:13:20 +0000 |
| Subject: | Re: [RFC] Remove calls with incompatible Context | ||
| References: | 1 2 3 4 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-61968@lists.php.net to get a copy of this message | ||
Em 2012-07-31 1:55, Christopher Jones escreveu:
On 07/30/2012 01:32 PM, Gustavo Lopes wrote:I've now added this information to the RFC: https://wiki.php.net/rfc/incompat_ctx#alternatives -- Gustavo Lopes3. There are other low-cost alternatives, namely the obvious one: pass the object via an extra parameter instead of operating on $this directly and unconditionally. This is really easy to do.This kind of thing should be mentioned in the RFC.