PHP 7.0.0 Beta 1 veröffentlicht

Published by

Nach zwei Alpha Versionen steht jetzt die erste Beta Version von PHP 7.0.0 zum Download bereit

Php7b1In Beta 1 stehen jetzt alle geplanten Features vollständig zur Verfügung. Von nun an sind keine grundlegende Änderungen mehr zu erwarten. Darüber hinaus bringt diese Version über 200 Änderungen wie Behebung von ca. 25 gemeldeten Fehlern, sowie Sicherheit, Stabilität und andere Verbesserungen.

PHP 7.0.0 enthält die neue Version der Zend Engine mit Funktionen wie (unvollständige Liste):

Verbesserte Performance: PHP 7 ist bis zu doppelt so schnell wie PHP-5.6
Konsistente 64-Bit-Unterstützung
Viele schwerwiegende Fehler sind jetzt Ausnahmen
Entfernung von alten und nicht unterstützte SAPIs und Erweiterungen
Die null zusammenfügende-Operator (?)
Vergleich der Operator kombiniert (< =>)
Rückgabetyp Erklärungen
Skalare Typdeklarationen
Anonyme Klassen

Eine Liste der Ändungen (in Englisch):
- Core:
. Fixed bug #70006 (cli - function with default arg = STDOUT crash output).
(Laruence)
. Fixed bug #69521 (Segfault in gc_collect_cycles()).
(arjen at react dot com, Laruence)
. Improved zend_string API (Francois Laupretre)
. Fixed bug #69955 (Segfault when trying to combine [] and assign-op on
ArrayAccess object). (Laruence)
. Fixed bug #69957 (Different ways of handling div/mod/intdiv). (Bob)
. Fixed bug #69900 (Too long timeout on pipes). (Anatol)
. Fixed bug #62210 (Exceptions can leak temporary variables. As a part of
the fix serious refactoring was done. op_array->brk_cont_array was removed,
and replaced with more general and speed efficient op_array->T_liveliness.
ZEND_GOTO opcode is always replaced by ZEND_JMP at compile time).
(Bob, Dmitry, Laruence)

- CLI server:
. Fixed bug #69655 (php -S changes MKCALENDAR request method to MKCOL). (cmb)
. Fixed bug #64878 (304 responses return Content-Type header). (cmb)

- COM:
. Fixed bug #69939 (Casting object to bool returns false). (Kalle)

- JSON
. Fixed bug #62010 (json_decode produces invalid byte-sequences).
(Jakub Zelenka)

- OCI8:
. Corrected oci8 hash destructors to prevent segfaults, and a few other fixes.
(Cameron Porter)

- ODBC:
. Fixed bug #69975 (PHP segfaults when accessing nvarchar(max) defined
columns). (cmb)

- OpenSSL:
. Fixed bug #69882 (OpenSSL error "key values mismatch" after
openssl_pkcs12_read with extra cert) (Tomasz Sawicki)

- PCRE:
. Fixed bug #53823 (preg_replace: * qualifier on unicode replace garbles the
string). (cmb)

- Session:
. Fixed bug #69952 (Data integrity issues accessing superglobals by
reference). (Bob)

- SPL:
. Fixed bug #69970 (Use-after-free vulnerability in
spl_recursive_it_move_forward_ex()). (Laruence)

- Standard:
. Fixed bug #69983 (get_browser fails with user agent of null).
(Kalle, cmb, Laruence)
. Fixed bug #69976 (Unable to parse "all" urls with colon char). (cmb)
. Fixed bug #69768 (escapeshell*() doesn't cater to !). (cmb)

- Sqlite3:
. Fixed bug #69972 (Use-after-free vulnerability in
sqlite3SafetyCheckSickOrOk()). (Laruence)

Der PHP 7.0.0 Beta 1 Quellcode kann hier heruntergeladen werden. Die Windows Version gibt es hier.

Die nächste Version (Beta 2) soll am 23. Juli erscheinen.