|
Ack, I hate the fact you can do that in PHP. I love the improved object support in PHP, but I'm always going to think of weak-typing as a design flaw (declaring data as an array AND and object).
Another thing I'd love to see in PHP is Threads. There's fork(), but that's really not a good way to work in a concurrent environment, not on the level with pthreads in C and Threads in Java.
The implicit methods __set, __get, etc are neat - I hadn't thought of using them in this fashion (in fact, I hadn't given them much thought before), but I'll give it a shot.
|