View Single Post
Old 06-18-2006, 03:21 PM   #2 (permalink)
Belisarius
Java fanboy
 
Belisarius's Avatar
 
Join Date: Aug 2003
Posts: 1,174
Belisarius is on a distinguished road
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.
__________________
GitS
Belisarius is offline   Reply With Quote