Re: Quick Poll: PHP 4 / 5

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Manuel Lemos schrieb:

> In theory those are the only changes. In practice, besides the 
> officially admitted changes, there are also the bugs that were not yet 
> discovered or fixed.

Examples? Links? More information on this? The fact is that on
php.internals there are discussions to reduce the number of maintained
development threads. In the not-so-far future they will reduce the
manpower put into backporting bugfixes to the PHP4.x development branch
since 5.x is the HEAD revision and everything is first fixed there. I
think all "old" stuff is just as mature in PHP5 as you know it from PHP4
and if some errors are found they are likely to be fixed more quickly
for the 5.x release. The "new" stuff (that wasn't there before 5.0)
almost certainly has more bugs since it's younger but that's no argument
since this isn't relevant for old projects.

>>I think the change from 4 to 5 ist that slow because there are so many
>>programmers with VisualBasic (or worse) background that don't see the
>>benefits of OOP. Iterators and delegation via interceptors are cool
> 
> !?!? You can do OOP since PHP 3. PHP 5 OOP improvements are nice but 
> they will not make anybody richer.
The OOP features of PHP3 were nothing more than some kind of crippled
namespaces for functions. PHP4 improved on that but PHP5 was the version
to bring real OOP features to the language. It's the first versions to
feature destructors and the possibility to overload parts of the Zend
Engine for iterators or array access. You couldn't do

  $adr=new DB_Adress(12); // loads the adress with ID 12 from DB
  $adr['street']='Market Street'; // change the property
  //...
  // end of script, save changes to DB
  ?>

before PHP5.

> [...]
> 
> As a matter of fact I just read this interesting article named "The Six 
> Dumbest Ideas in Computer Security" that demonstrates what I always knew 
> that upgrading to the latest versions is often a bad idea. Read the 
> point #6) Action is Better Than Inaction .
> 
> http://www.ranum.com/security/computer_security/editorials/dumb/

Nice article. Read it myself a few days ago (wasn't the link featured on
Slashdot? *g*). Delaying upgrades might be true for running systems. But
there's nothing keeping you from running both PHP4 and PHP5 on the same
machine for different projects. And if you start a project from scratch
PHP5 is the way to go.


AllOLLi
____________
I just found the last bug.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux