Sorry to disagree, But I think that with PHP4 a lot of people start thinking that they could be programmers (maybe they can, developers it's another story). When php5 came they didn't know how do deal with the deprecated methods and worst, some hosters didn't know how to virtualize a f1ck1n' server with Apache+PHP5. A lot of mistakes were made when php5 came out but how can a language grow up when they DEPRECATE the syntax? we're not talking about removing the last ';'... Maybe I'm in a "GET LOST PHP" phase but I think that someone is killing it, and the ones who are stuck in 4 are not helping.
When U write code, U must not be worried 'bout the next upgrade of your server! Best regards! On Wed, Jul 30, 2008 at 3:31 AM, VamVan <[EMAIL PROTECTED]> wrote: > Its because PHP got really famous with version 4.0 and many people actually > converted their CGI or other websites in to PHP 4 websites because it was > easy and cheap. But 5.0 brought too many changes like serious OOPS and > register global concepts for security, which is useful but made transition > difficult. I feel thats why PHP 4 is still supported. > > Its not only the language that has changed, but also people had to upgrade > their skill set and there was some learning curve involved. > > Unfortunately everyone fell in the trap of register globals which was not > dealt until php 4.3.1 as a security concept. Pear and Pecl were there but > everyone was pretty much writing all the code (reinventing the wheel) from > scratch. This brings in huge code base to change. > > I liked PHP because intitially it was a procedural langauge and it > resembled > C. But now with OOPS you can build powerful websites which is good. > > There are many other cases but I feel strongly this is what makes them > still support PHP 4. > > Thanks >