at 2005-02-06
in PHP5
by friebe
(0 comments)
Migrating to PHP5 (plain, as released by the PHP team) is currently not possible:
- Builtin classes like Exception and Iterator take names we've already used.
So much for BC here. See also entry #16
- The one-super-class-for-all rule of XP is broken as built-in Exception needs to be the base class of anything that can be throw()n
I've discussed this earlier, in entry #11
- Serialization is incompatible
A class with private and protected members serialized in PHP5 will not be readable by PHP4's serialize(). That prevents us from being able to migrate parts of our web applications relying on a defined session format.
Of course, by using our patch, we can get around the first two of these issues (at least, at its current state). An addition to the patch could also fix up the third.
But let's also have a look at the other side, why it would make sense to upgrade:
|
Subscribe
You can subscribe to the XP framework's news by using RSS syndication.
CategoriesNews General PHP5 Announcements RFCs Further reading Examples Editorial EASC Experiments Unittests Databases
RelatedFind related articles by a search for «Why».
|