Archive for July 2007
End of road for PHP4
I did a little bit of PHP4.* development before jumping onto PHP5 when it was released some three years ago and I have enjoyed using PHP5 ever since. The object oriented nature of PHP5 makes it easier and more interesting to work with.
What I found interesting in the announcement was the fact that PHP6 is on the way. I am keen to see what new features will be introduced in PHP6. In particular I am hoping that it will be far much easier to do constructor overloading like in Java and C# because at the moment its not the easiest of things to do.
To achieve something like constructor overloading at the moment I have to use optional parameters in the constructors and then check those parameters in the constructor and that's not ideal.
Method/function is not a really big issue because one can easily rename the methods accordingly.