at 2007-12-11
in Announcements
by friebe
(0 comments)
The lang.archive.ArchiveClassLoader has been changed to no longer use the lang.archive.ArchiveReader class but instead use the xar stream wrapper defined in lang.base.php. This:
- Improves performance because the core archive (xp-rt-X.X.X.xar) is only opened once (it was opened twice before, once for bootstrapping, once for loading other skeleton classes)
- Gets rid of the dependency on the ArchiveReader class
Because there is no depencency on it anymore, the ArchiveReader class was deprecated.
If you have been using this class you will have to change your sourcecode as follows:
<?php $a= new ArchiveReader('filename.xar'); $a= new Archive(new File('filename.xar')); ?>
|
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 5.8-SERIES
RelatedFind related articles by a search for «ArchiveReader».
|