Posted by admin on 02/25/07 22:29
> >I am wondering why constructors are different in PHP5. Surely anyone
> >coding portable scripts, wouldjustuse the PHP4 constructor
> >technique
>
> I don't care aboutPHP4 anymore. Personally I consider it dead.
>
> >as there's no guarantee that the server it needs to run on
> >is running PHP5.
>
> My scripts make use of many of the new OOP features inPHP5, so they
> won't run at all onPHP4.
>
> Micha
That is all good and well if you are only coding for yourself but as
the following stats page shows php 4 still has 85% or the market
(although it is decreasing at an ever faster rate)
http://www.nexen.net/chiffres_cles/phpversion/php_stats_evolution_for_january_2007.php#evolution.global
[Back to original message]
|