at 2008-08-08
in PHP5
by friebe
(0 comments)
I've started playing around with the first alpha release of PHP 5.3 (should be released around September or October this year), see also the PHP 5.3 alpha1 announcement from August 1st.
Some first observations:Paths inside include_path must be written using forward slashes (/) on Windows ...or else special escape sequences will be expanded (like \r, \n, \t e.g.) one will get:
Fatal error: require(): Failed opening required 'lang.base.php' (include_path='.;e:\cygwin\home hekid\devel\xp[TAB]runk\skeleton; e:\cygwin\home[TAB]hekid\devel\xp[TAB]runk\ports\classes') in E:\cygwin\home\thekid\bin\xpcli.php on line 6
It seems slightly faster than 5.2.6 Core unittests take 4.5 seconds vs. 4.8, but may be a measuring error
The ldap extension is missing in the current snapshot
All XP unittests pass ...when RFC #0171 is applied, which renames the util.DateInterval class to util.TimeInterval to avoid nameclashes. PHP 5.3 brings the following new classes:
+Closure +DateInterval +DatePeriod +FilesystemIterator +GlobIterator +MultipleIterator +PDO +PDOException +PDORow +PDOStatement +RecursiveTreeIterator +SplDoublyLinkedList +SplFixedArray +SplHeap +SplMaxHeap +SplMinHeap +SplPriorityQueue +SplQueue +SplStack +ZipArchive
|
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 «PHP».
|