Van slashdot:
Citaat:
After years of anticipation, PHP 5 was released today. This release represents a milestone in the evolution of PHP. It sports the new Zend Engine II, a completely re-worked object model, and many many new features.
Maar bon, juich niet te vroeg. Naast alle aangekondigde verbeteringen zijn er ook een heleboel mindere dinges tussengesmeten. (lees eens de comments op
slashdot)
Bijvoorbeeld:
Citaat:
As an aside, the PHP developers have decided to make SQLite, a light file-based database engine, the default session handler. Even with all file locking turned off, this is at least 4 times slower than the current system used by PHP 4. Of course you can change this setting back to flat session files, but the fact this is their default should say something about other decisions they've made. This setting itself makes especially no sense to me, as all session variables go into the $_SESSION superglobal as associative array keys - there is absolutely no benefit to using a database-enabled flat file for this, as opposed to a regular flat file. It's as if the PHP group were excited about sqlite and tried shoving it into everything.
En ook op OO gebied (waar er nu net zoveel verbeteringen zijn aangekondigd):
Citaat:
They also changed the object inheritance rules so that overloaded child methods have to have the exact same number of parameters as the original class. So, now you can't have multiple constructors *or* have child constructors that assume certain values and reduce the amount of paramters accordingly.
Na dit en al mijn mindere ervaringen met php als programmeertaal begin ik nu toch wel wreed goesting te krijgen om mod_perl te leren... (iemand tips, tutorials, references?)
Maar mss willen de admins toch eens kijken om PHP5 naast PHP4 te draaien? Zodat de mensen die willen in PHP5 kunnen schrijven.
Blijkbaar kan je php4 en 5 zonder problemen als twee aparte modules draaien:
http://www.faqts.com/knowledge_base/vie ... 0/fid/1150