Myth #6: PHP's OO Implementation Is Inferior
18/25
  • Why don't we have type hints?
  • Why don't we have templates?
  • Why don't we have generics?
  • PHP has no namespaces and packages.
  • PHP throws fatal errors and not exceptions for many things
  • We have no type hints for properties.
  • PHP doesn't have friends
  • Why is the visibility checked against the class and not the objects?