Vandaag hebben de developers van PHP de tweede betaversie van 5.0.0 uitgebracht. In deze release vinden we onder meer Zend Engine 2, verbeterde XML-support en SQLite. Daarnaast zijn er nieuwe features toegevoegd en een reeks bugs verholpen. Het volledig changelog ziet er als volgt uit:
Some of the more major changes include:30 Oct 2003, PHP 5 Beta 2
- PHP 5 features the Zend Engine 2.
- XML support has been completely redone in PHP 5, all extensions are now focused around the excellent libxml2 library (http://www.xmlsoft.org/).
- SQLite has been bundled with PHP. For more information on SQLite, please visit their website.
- A new SimpleXML extension for easily accessing and manipulating XML as PHP objects. It can also interface with the DOM extension and vice-versa.
- Streams have been greatly improved, including the ability to access low-level socket operations on streams.
[break]
- Lots and lots of changes in the Zend Engine 2 since beta 1:
- Added Iterators
- Improved memory manager
- Added Reflection API
- Removed the not so working namespaces support
- Removed support for expressions within constant declerations.
- You can read about most changes in ZEND_CHANGES under the Zend directory.
- Improved the DBX extension: (Marc)
- Added DBX_RESULT_UNBUFFERED flag for dbx_query().
- Added dbx_fetch_row()
- Added SQLite support.
- Improved the Interbase extension: (Ard Biesheuvel)
- Added support for multiple databases into ibase_trans()
- Added support for CREATE DATABASE, SET TRANSACTION and EXECUTE PROCEDURE statements into ibase_query()
- Added ibase_commit_ret() and ibase_rollback_ret()
- Added ibase_drop_db()
- Added ibase_gen_id()
- Added ibase_name_result()
- Added ibase_errcode()
- Added ibase_affected_rows() and ibase_num_params()
- Added ibase_param_info()
- Added ibase_wait_event()
- Added ibase_set_event_handler() and ibase_free_event_handler()
- Added new COM extension with integrated .Net support. (Wez)
- Added new functions:
- setrawcookie(). (Brian)
- pg_version(). (Marcus)
- dbase_get_header_info(). (Zak)
- snmp_read_mib(). (Jani)
- http_build_query(). (Sara)
- ftp_alloc(). (Sara)
- array_udiff(). (Andrey)
- array_udiff_assoc(). (Andrey)
- array_udiff_uassoc(). (Andrey)
- array_diff_uassoc(). (Andrey)
- convert_uuencode(). (Ilia)
- convert_uudecode(). (Ilia)
- substr_compare(). (Ilia)
- pcntl_wait(). (GeorgeS)
- Added "resume_pos" context option to "ftp://" wrapper. (Sara)
- Added optional parameter to OCIWriteTemporaryLob() to specify the type of LOB (Patch by Novicky Marek
). (Thies) - Added reflection API. (Andrei, George, Timm)
- Changed length parameter in fgetcsv() to be optional. (Moriyoshi)
- Fixed IPv6 support in MacOSX Panther. (Dan, Marko)
- Fixed fgetcsv() to correctly handle international (non-ascii) characters. (Moriyoshi)
- Fixed support for fields within XML documents in ext/xml. (Sterling)
- Fixed visibility of __construct and __clone. (Marcus)
- Fixed bug #26003 (fgetcsv() not binary-safe on null bytes). (Moriyoshi)
- Fixed bug #25756 (SimpleXML's validate_schema_file() broken). (Moriyoshi)
- Fixed bug #25581 (getimagesize() returns incorrect values on bitmap (os2) files). (Marcus)
- Fixed bug #25494 (array_merge*() allows non-arrays as argument). (Jay)
- Fixed bug #24766 (strange result array from unpack()). (Moriyoshi)
- Fixed bug #24729 ($obj = new $className; causes crash when $className is not set). (Marcus)
- Fixed bug #24565 (cannot read array elements received via $_REQUEST). (Zeev)
- Fixed bug #24445 (get_parent_class() returns different values). (Sterling, Stanislav)
- Fixed bug #24403 (preg_replace() problem: Using $this when not in object context). (Zeev)
- Fixed bug #24399 (PEAR DB isError crash [instanceof_function fault?]). (Sterling, Marcus)
- Fixed bug #24396 (foreach ($k=>$v), the key $k is missing). (Zeev)
- Fixed bug #24279 (__get() crash when no value is returned). (Ilia)
- Fixed bug #22367 (undefined variable has a value). (Zeev)
- Fixed bug #19859 (allow fast_call_user_function to support __call). (Stanislav)
- Fixed bug #17997 (Warning when switch() and reference are combined). (Zeev)
- Fixed bug #17988 (strtotime failed to parse postgresql timestamp). (Derick)
PHP 5.0.0 beta 2 Bzip2
PHP 5.0.0 beta 2 Tarball
PHP 5.0.0 beta 2 Zip