Welcome to PHP5… [php4 vs php5]
It’s time to start using PHP5 in a production environment. It has made it’s way to 5.1.2.
What exactly does PHP 5 give you that PHP 4 doesn’t though?
It has real objects. What does this mean though — it means that real Constructors and Destructors. Autoloading Objects, Visibility, a Scope Resolution Operator (::), a Static Keyword, Class Constants, Class Abstraction, Object Interfaces, Overloading, Object Iteration, Patterns, Magic Methods, Final Keyword, Object cloning, Reflection, and even Type Hinting!
In other words if you’re aren’t into Object Oriented programming, you’re really not gaining much for making to switch or migrating any of your code.Â Then again, the migration process is quite straight forward if you aren’t actually using objects.Â Zend does offer some help.Â So what are you waiting for, get cracking.