|
1 | 1 | PHP NEWS
|
2 | 2 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
3 |
| -?? ??? 2016, PHP 7.1.0alpha2 |
| 3 | +?? ??? 2016, PHP 7.1.0 |
| 4 | + |
| 5 | +- Core: |
| 6 | + . Added nullable types. (Levi, Dmitry) |
| 7 | + . Added DFA optimization framework based on e-SSA form. (Dmitry, Nikita) |
| 8 | + . Added specialized opcode handlers (e.g. ZEND_ADD_LONG_NO_OVERFLOW). |
| 9 | + (Dmitry) |
| 10 | + . Change statement and fcall extension handlers to accept frame. (Joe) |
| 11 | + . Implemented safe execution timeout handling, that prevents random crashes |
| 12 | + after "Maximum execution time exceeded" error. (Dmitry) |
| 13 | + . Fixed bug #53432 (Assignment via string index access on an empty string |
| 14 | + converts to array). (Nikita) |
| 15 | + . Fixed bug #62210 (Exceptions can leak temporary variables). (Dmitry, Bob) |
| 16 | + . Fixed bug #62814 (It is possible to stiffen child class members visibility). |
| 17 | + (Nikita) |
| 18 | + . Fixed bug #69989 (Generators don't participate in cycle GC). (Nikita) |
| 19 | + . Fixed bug #71604 (Aborted Generators continue after nested finally). |
| 20 | + (Nikita) |
| 21 | + . Fixed bug #71572 (String offset assignment from an empty string inserts |
| 22 | + null byte). (Francois) |
| 23 | + . Fixed bug #71897 (ASCII 0x7F Delete control character permitted in |
| 24 | + identifiers). (Andrea) |
| 25 | + . Fixed bug #72188 (Nested try/finally blocks losing return value). (Dmitry) |
| 26 | + . Fixed bug #72213 (Finally leaks on nested exceptions). (Dmitry, Nikita) |
| 27 | + . Implemented the RFC `Support Class Constant Visibility`. (Sean DuBois, |
| 28 | + Reeze Xia, Dmitry) |
| 29 | + . Added void return type. (Andrea) |
| 30 | + . Added support for negative string offsets in string offset syntax and |
| 31 | + various string functions. (Francois) |
| 32 | + . Added a form of the list() construct where keys can be specified. (Andrea) |
| 33 | + . Number operators taking numeric strings now emit E_NOTICEs or E_WARNINGs |
| 34 | + when given malformed numeric strings. (Andrea) |
| 35 | + . (int), intval() where $base is 10 or unspecified, settype(), decbin(), |
| 36 | + decoct(), dechex(), integer operators and other conversions now always |
| 37 | + respect scientific notation in numeric strings. (Andrea) |
| 38 | + . Implemented the RFC `Catching multiple exception types`. (Bronislaw Bialek, |
| 39 | + Pierrick) |
| 40 | + . Raise a compile-time warning on octal escape sequence overflow. (Sara) |
| 41 | + . Added [] = as alternative construct to list() =. (Bob) |
| 42 | + . Implemented logging to syslog with dynamic error levels. (Jani Ollikainen) |
| 43 | + . Fixed bug #47517 (php-cgi.exe missing UAC manifest). |
| 44 | + (maxdax15801 at users noreply github com) |
| 45 | + |
| 46 | +- Apache2handler: |
| 47 | + . Enable per-module logging in Apache 2.4+. (Martin Vobruba) |
| 48 | + |
| 49 | +- CLI Server: |
| 50 | + . Fixed bug #71276 (Built-in webserver does not send Date header). |
| 51 | + (see at seos fr) |
| 52 | + |
| 53 | +- FTP: |
| 54 | + . Implemented FR #55651 (Option to ignore the returned FTP PASV address). |
| 55 | + (abrender at elitehosts dot com) |
| 56 | + |
| 57 | +- Intl: |
| 58 | + . Added IntlTimeZone::getWindowsID() and |
| 59 | + IntlTimeZone::getIDForWindowsID(). (Sara) |
| 60 | + . Fixed bug #69374 (IntlDateFormatter formatObject returns wrong utf8 value). |
| 61 | + (lenhatanh86 at gmail com) |
| 62 | + . Fixed bug #69398 (IntlDateFormatter formatObject returns wrong value when |
| 63 | + time style is NONE). (lenhatanh86 at gmail com) |
| 64 | + |
| 65 | +- Hash: |
| 66 | + . Added SHA3 fixed mode algorithms (224, 256, 384, and 512 bit). (Sara) |
| 67 | + . Added SHA512/256 and SHA512/224 algorithms. (Sara) |
| 68 | + |
| 69 | +- JSON: |
| 70 | + . Exported JSON parser API including json_parser_method that can be used |
| 71 | + for implementing custom logic when parsing JSON. (Jakub Zelenka) |
| 72 | + . Escaped U+2028 and U+2029 when JSON_UNESCAPED_UNICODE is supplied as |
| 73 | + json_encode options and added JSON_UNESCAPED_LINE_TERMINATORS to restore |
| 74 | + the previous behaviour. (Eddie Kohler) |
| 75 | + |
| 76 | +- PDO_Firebird: |
| 77 | + . Fixed bug #60052 (Integer returned as a 64bit integer on X86_64). (Mariuz) |
| 78 | + |
| 79 | +- Pgsql: |
| 80 | + . Implemented FR #31021 (pg_last_notice() is needed to get all notice |
| 81 | + messages). (Yasuo) |
| 82 | + . Implemented FR #48532 (Allow pg_fetch_all() to index numerically). (Yasuo) |
| 83 | + |
| 84 | +- Reflection: |
| 85 | + . Fix #72209 (ReflectionProperty::getValue() doesn't fail if object doesn't match type). (Joe) |
| 86 | + |
| 87 | +- Session: |
| 88 | + . Improved fix for bug #68063 (Empty session IDs do still start sessions). |
| 89 | + (Yasuo) |
| 90 | + . Fixed bug #71038 (session_start() returns TRUE on failure). |
| 91 | + Session save handlers must return 'string' always for successful read. |
| 92 | + i.e. Non-existing session read must return empty string. PHP 7.0 is made |
| 93 | + not to tolerate buggy return value. (Yasuo) |
| 94 | + . Fixed bug #71394 (session_regenerate_id() must close opened session on |
| 95 | + errors). (Yasuo) |
| 96 | + |
| 97 | +- SQLite3: |
| 98 | + . Implemented FR #71159 (Upgraded bundled SQLite lib to 3.9.2). (Laruence) |
| 99 | + |
| 100 | +- Standard: |
| 101 | + . Fixed bug #71100 (long2ip() doesn't accept integers in strict mode). |
| 102 | + (Laruence) |
| 103 | + . Implemented FR #55716 (Add an option to pass a custom stream context to |
| 104 | + get_headers()). (Ferenc) |
| 105 | + . Additional validation for parse_url() for login/pass components). |
| 106 | + (Ilia) (Julien) |
| 107 | + . Implemented FR #69359 (Provide a way to fetch the current environment |
| 108 | + variables). (Ferenc) |
| 109 | + . unpack() function accepts an additional optional argument $offset. (Dmitry) |
| 110 | + . Implemented #51879 stream context socket option tcp_nodelay (Joe) |
4 | 111 |
|
5 | 112 | <<< NOTE: Insert NEWS from last stable release here prior to actual release! >>>
|
0 commit comments