typesafe objects in PHP
I always disliked the way PHP handles Objects. There is no way to assign a type to properties. Validators have to be glued against the fields externally and you can't just generate a Object-Description (like WSDL) from a object either.
Usually you have DataObjects like:
/* a plain-old-php-object */
class Employee ...