at 2011-01-11
in Releases, Unicode, Announcements, 5.8-SERIES
by friebe
(0 comments)
After almost one and a half years of development since the 5.8 branch was created and almost four months the active development branch, SVN trunk, was changed from 5.7 to 5.8, after six release candidates - we finally, and proudly present: XP 5.8, release zero
The most noteable changes are the following:
- The minimum required PHP version is 5.2.10
- The XP Compiler is now part of the framework. It compiles XP Language to XP Framework classes and supports syntactically what the framework does with "tricks": Type-safe enums, anonymous classes, finally, to name just a few.
- Not having the date.timezone setting configured will now yield a startup error. PHP behaves in undefined ways when working with dates in this situation! The installer takes care of detecting it from the operating system on setup.
- Extension methods have been added - see here for an example
- Generics have been reworked to support runtime reflection and primitive types, and thus behave more like the C# than like the Java implementation.
- Reflection API can now access private and protected methods and fields using setAccessible() - regardless of the underlying PHP version!
- Support for array and hash keys (key[], key[name]) in ini files
- Several additions to the xml.meta API - showcased in the article Hudson and the xml.meta API
- The new indexer access functionality, this()
- Unicode forward compatibility in the io.streams classes TextWriter and TextReader
The complete changelog can be found here: http://releases.xp-framework.net/xml/release?5.8.0
To test a Unicode-ready version og this release, you can grab and install UnicodeRC2 as follows:
$ wget http://releases.xp-framework.net/setup/5.8.0~unicodeRC2 -O - | php -- -d ~/bin/
Enjoy!
|
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 Unicode Language 5.9-SERIES
RelatedFind related articles by a search for «5.8.0-RELEASE:».
|