3 ms·
In all fairness, you're restricted as to how much you can do that PHP as well: The best you can do is modify the class definition in the code itself, and decla
by damncabbage 16y ago
In all fairness, you're restricted as to how much you can do that PHP as well:
The best you can do is modify the class definition in the code itself, and declare a __call() or __get()/__set() functions that park themselves in front of method calls and variable accesses. You can't go re-opening classes or directly adding methods or variables.
(To make matters worse, __call() and friends are also more than a little slow as well.)