Re: [PHP-DEV] Re: Deprecate and remove calls from incompatible context

2013-01-31 Thread Lester Caine
Todd Ruth wrote: Could there be a compromise that would allow us evildoers to continue in our evil ways without identifying and changing every use? Perhaps "implements allowStaticCallsFromIncompatibleContexts" or somesuch? I can imagine replacing every "class ..." with "class ... implements ...

[PHP-DEV] Re: Deprecate and remove calls from incompatible context

2013-01-30 Thread Todd Ruth
Some of us have rather large bodies of code written over 10-12 years that make significant use of calling $this from "incompatible contexts" (i.e. we know it's compatible, but php doesn't). Most consider such use a sin. Could there be a compromise that would allow us evildoers to continue in our