Cookies op Tweakers

Tweakers maakt gebruik van cookies, onder andere om de website te analyseren, het gebruiksgemak te vergroten en advertenties te tonen. Door gebruik te maken van deze website, of door op 'Ga verder' te klikken, geef je toestemming voor het gebruik van cookies. Wil je meer informatie over cookies en hoe ze worden gebruikt, bekijk dan ons cookiebeleid.

Meer informatie

Door , , 6 reacties
Bron: PHP.net

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:
  • 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.
30 Oct 2003, PHP 5 Beta 2
  • 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)
[break]*PHP 5.0.0 beta 2 Bzip2
*PHP 5.0.0 beta 2 Tarball
*PHP 5.0.0 beta 2 Zip
Moderatie-faq Wijzig weergave

Reacties (6)

Sorry dat ik al php n00b hier reageer, maar ik zie dat hier de zend enige bij zit. Dat is toch een veel geld (als in duizende euro's ) kostend iets :?
Of is dit alleen een "Shareware" versie oid?
de zend engine is de 'core' van php zeg maar. Dat wat 1000den euro's kost waar jij op doelt is waarschijnljk de zend encoder engine.

Check www.zend.com vor meer info :)
Jij hebt het over de ontwikkelomgeving Zend Studio.
Removed the not so working namespaces support
Zou dit later weer terugkomen, of houden ze zichzelf niet aan de gestelde eigenschappen van PHP 5.0?
Van de Zend website:
Is it true that you have decided not to include namespaces, and will you reconsider implementing namespaces at some later date?

Namespaces as well as nested classes were secluded from PHP 5 because they don't map well to PHP, and the gain they bring is not significant, versus the amount of complexity they add to the language. Since I don't expect this to change at a later date, I don't expect to see namespaces in PHP in the future.
Ik denk dus namespaces inderdaad niet in PHP 5 zullen zitten.
Wat is de status van Unicode support in PHP 5? Wordt dat vergelijkbaar met bijvoorbeeld Java, of blijven dat de hacks die we nu in PHP 4 hebben?

Op dit item kan niet meer gereageerd worden.



Apple iOS 10 Google Pixel Apple iPhone 7 Sony PlayStation VR AMD Radeon RX 480 4GB Battlefield 1 Google Android Nougat Watch Dogs 2

© 1998 - 2016 de Persgroep Online Services B.V. Tweakers vormt samen met o.a. Autotrack en Carsom.nl de Persgroep Online Services B.V. Hosting door True