php-src/NEWS

225 lines
9.3 KiB
Plaintext
Raw Normal View History

2015-07-21 14:36:36 +00:00
PHP NEWS
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
2016-11-12 17:58:46 +00:00
?? ??? ????, PHP 7.2
2016-11-10 17:11:24 +00:00
- Core:
. Added ZEND_COUNT, ZEND_GET_CLASS, ZEND_GET_CALLED_CLASS, ZEND_GET_TYPE,
ZEND_FUNC_NUM_ARGS, ZEND_FUNC_GET_ARGS instructions, to implement
corresponding builtin functions. (Dmitry)
. "Countable" interface is moved from SPL to Core. (Dmitry)
. Added ZEND_IN_ARRAY instruction, implementing optimized in_array() builtin
function, through hash lookup in flipped array. (Dmitry)
2016-11-28 21:45:01 +00:00
. Removed IS_TYPE_IMMUTABLE (it's the same as COPYABLE & !REFCOUNTED). (Dmitry)
. Removed the sql.safe_mode directive. (Kalle)
. Removed support for Netware. (Kalle)
. Fixed bug #54535 (WSA cleanup executes before MSHUTDOWN). (Kalle)
. Implemented FR #69791 (Disallow mail header injections by extra headers)
2016-09-14 21:57:29 +00:00
(Yasuo)
. Implemented FR #49806 (proc_nice() for Windows). (Kalle)
2016-10-17 13:43:41 +00:00
. Fix pthreads detection when cross-compiling (ffontaine)
. Fixed memory leaks caused by exceptions thrown from destructors. (Bob,
Dmitry).
2016-10-18 00:28:18 +00:00
. Fixed bug #73215 (uniqid() should use better random source). (Yasuo)
. Fixed bug #73337 (try/catch not working with two exceptions inside a same
operation). (Dmitry)
2016-10-28 17:58:02 +00:00
. Implemented FR #72768 (Add ENABLE_VIRTUAL_TERMINAL_PROCESSING flag for
php.exe). (Michele Locati)
. Implemented "Convert numeric keys in object/array casts" RFC, fixes
bugs #53838, #61655, #66173, #70925, #72254, etc. (Andrea)
. Implemented "Deprecate and Remove Bareword (Unquoted) Strings" RFC.
(Rowan Collins)
2016-12-21 15:10:38 +00:00
. Raised minimum supported Windows versions to Windows 7/Server 2008 R2.
(Anatol)
. Implemented minor optimization in array_keys/array_values(). (Sara)
. Fixed bug #73969 (segfault in debug_print_backtrace). (andrewnester)
. Added PHP_OS_FAMILY constant to determine on which OS we are. (Jan Altensen)
. Fixed bug #73994 (arginfo incorrect for unpack). (krakjoe)
. Fixed bug #73973 (assertion error in debug_zval_dump). (andrewnester)
. Fixed bug #73987 (Method compatibility check looks to original
definition and not parent). (pmmaga)
2017-03-17 22:39:18 +00:00
. Fixed bug #73991 (JSON_OBJECT_AS_ARRAY not respected). (Sara)
. Fixed bug #74053 (Corrupted class entries on shutdown when a destructor
spawns another object). (jim at commercebyte dot com)
2017-02-13 07:38:31 +00:00
. Fixed bug #73971 (Filename got limited to MAX_PATH on Win32 when scan
directory). (Anatol)
. Fixed bug #74149 (static embed SAPI linkage error). (krakjoe)
2017-04-07 10:35:56 +00:00
. Fixed bug #72359, bug #72451, bug #73706, bug #71115 and others related
2017-03-29 12:30:32 +00:00
to interned strings handling in TS builds. (Anatol, Dmitry)
. Implemented "Trailing Commas In List Syntax" RFC for group use lists only.
(Sammy Kaye Powers)
. Fixed bug #74269 (It's possible to override trait property with different
loosely-equal value). (pmmaga)
. Fixed bug #61970 (Restraining __construct() access level in subclass gives
a fatal error). (pmmaga)
. Fixed bug #63384 (Cannot override an abstract method with an abstract
method). (pmmaga, wes)
. Fixed misparsing of abstract unix domain socket names. (Sara)
- BCMath:
. Fixed bug #46564 (bcmod truncates fractionals). (liborm85)
- Calendar:
. Fix integer overflows (Joshua Rogers)
- Date:
2016-11-13 05:37:49 +00:00
. Fixed bug #69587 (DateInterval properties and isset). (jhdxr)
. Fixed bug #74404 (Wrong reflection on DateTimeZone::getTransitions).
(krakjoe)
. Fixed bug #74080 (add constant for RFC7231 format datetime). (duncan3dc)
2016-10-05 20:07:47 +00:00
2017-05-27 20:57:19 +00:00
- Dba:
. Fixed bug #72885 (flatfile: dba_fetch() fails to read replaced entry).
(Anatol)
2017-01-02 11:59:54 +00:00
- DOM:
. Fixed bug #67474 (getElementsByTagNameNS filter on default ns). (aboks)
. Fixed bug #54382 (getAttributeNodeNS doesn't get xmlns* attributes).
(aboks)
. Fixed bug #74004 (LIBXML_NOWARNING (etc) ignored by DOMDocument::loadHTML).
(somedaysummer)
2017-01-02 11:59:54 +00:00
2016-08-03 08:05:33 +00:00
- EXIF:
2016-08-09 17:29:36 +00:00
. Added support for vendor specific tags for the following formats:
Samsung, DJI, Panasonic, Sony, Pentax, Minolta, Sigma/Foveon, AGFA,
Kyocera, Ricoh & Epson. (Kalle)
2016-08-09 17:29:36 +00:00
. Fixed bug #72682 (exif_read_data() fails to read all data for some
images). (Kalle)
2016-08-09 17:29:36 +00:00
. Fixed bug #71534 (Type confusion in exif_read_data() leading to heap
overflow in debug mode). (hlt99 at blinkenshell dot org, Kalle)
2016-08-09 17:29:36 +00:00
. Fixed bug #68547 (Exif Header component value check error).
(sjh21a at gmail dot com, Kalle)
2016-08-09 17:29:36 +00:00
. Fixed bug #66443 (Corrupt EXIF header: maximum directory nesting level
reached for some cameras). (Kalle)
2016-08-09 17:29:36 +00:00
. Fixed Redhat bug #1362571 (PHP not returning full results for
2016-08-03 10:29:09 +00:00
exif_read_data function). (Kalle)
2016-08-03 08:05:33 +00:00
2017-01-01 15:48:38 +00:00
- FPM:
. Configuration to limit fpm slow log trace callers. (Sannis)
. Fixed bug #69865 (php-fpm does not close stderr when using syslog).
2017-01-24 07:44:45 +00:00
(Mike)
2017-01-01 15:48:38 +00:00
- FTP:
. Fixed bug #74598 (ftp:// wrapper ignores context arg). (Sara)
. Implement MLSD for structured listing of directories. (blar)
2016-10-20 04:34:22 +00:00
- GD:
. Implemented imageresolution as getter and setter (Christoph)
. Fixed bug #74343 (compile fails on solaris 11 with system gd2 library).
(krakjoe)
2016-10-20 04:34:22 +00:00
- GMP:
. Fixed bug #70896 (gmp_fact() silently ignores non-integer input). (Sara)
- hash:
. Fixed bug #73961 (environmental build dependency in hash sha3 source).
(krakjoe)
. Changed HashContext from resource to object. (Rouven Weßling, Sara)
- intl:
. Fixed bug #74433 (wrong reflection for Normalizer methods). (villfa)
. Fixed bug #74439 (wrong reflection for Locale methods). (villfa)
. Fixed bug #74468 (wrong reflection on Collator::sortWithSortKeys). (villfa)
. Fixed bug #63790 (test using Spoofchecker which may be unavailable). (Sara)
- Mbstring:
. Implemented request #66024 (mb_chr() and mb_ord()). (Masakielastic, Yasuo)
. Implemented request #65081 (mb_scrub()). (Masakielastic, Yasuo)
2016-08-10 05:53:27 +00:00
. Implemented request #69086 (enhancement for mb_convert_encoding() that
handles multibyte replacement char nicely). (Masakielastic, Yasuo)
. Added array input support to mb_convert_encoding(). (Yasuo)
. Added array input support to mb_check_encoding(). (Yasuo)
. Fixed bug #69079 (enhancement for mb_substitute_character). (masakielastic)
2014-09-01 22:47:49 +00:00
2016-12-13 10:11:14 +00:00
- Mcrypt:
. The deprecated mcrypt extension has been moved to PECL. (leigh)
- MySQLi:
. Fixed bug #73949 (leak in mysqli_fetch_object). (krakjoe)
2016-11-18 20:41:10 +00:00
- mysqlnd:
. Fixed bug #73800 (sporadic segfault with MYSQLI_OPT_INT_AND_FLOAT_NATIVE).
(vanviegen)
2016-12-02 10:14:51 +00:00
- OpenSSL:
. Fixed bug #71519 (add serial hex to return value array). (xrobau)
2015-12-03 15:30:35 +00:00
2014-09-10 15:19:02 +00:00
- PCRE:
. Fixed bug #61780 (Inconsistent PCRE captures in match results). (cmb)
2014-09-10 15:19:02 +00:00
- PDO:
. Add "Sent SQL" to debug dump for emulated prepares. (Adam Baratz)
. Add parameter types for national character set strings. (Adam Baratz)
- PDO_DBlib:
. Fixed bug #73234 (Emulated statements let value dictate parameter type).
(Adam Baratz)
2016-11-15 22:44:12 +00:00
. Fixed bug #73396 (bigint columns are returned as strings). (Adam Baratz)
2017-01-27 23:46:44 +00:00
. Expose DB-Library version as \PDO::DBLIB_ATTR_VERSION attribute on \PDO
instance. (Adam Baratz)
. Add test coverage for bug #72969. (Jeff Farr)
2017-03-02 04:35:19 +00:00
- PDO_OCI:
. Fixed bug #54379 (PDO_OCI: UTF-8 output gets truncated). (gureedo / Oracle)
- PDO_PgSQL:
. Fixed bug #73959 (lastInsertId fails to throw an exception for wrong
sequence name). (andrewnester)
2016-12-02 10:14:51 +00:00
- PDO_Sqlite
. Switch to sqlite3_prepare_v2() and sqlite3_close_v2() functions (rasmus)
- phar:
. Fixed bug #74383 (phar method parameters reflection correction).
(mhagstrand)
. Fixed bug #74196 (phar does not correctly handle names containing dots).
(mhagstrand)
. Fixed bug #74386 (Phar::__construct reflection incorrect). (villfa)
2016-12-02 10:14:51 +00:00
- PHPDBG
. Added extended_value to opcode dump output. (Sara)
- posix:
. Fixed bug #71219 (configure script incorrectly checks for ttyname_r). (atoh)
2016-12-02 10:14:51 +00:00
2016-11-16 05:14:36 +00:00
- Session:
2016-12-20 23:16:38 +00:00
. Fixed bug #73461 (Prohibit session save handler recursion). (Yasuo)
. PR #2233 Removed register_globals related code and "!" can be used as $_SESSION key name. (Yasuo)
2016-12-22 07:03:55 +00:00
. Improved bug #73100 fix. 'user' save handler can only be set by session_set_save_handler()
. Fixed bug #69582 (session not readable by root in CLI). (EvgeniySpinov)
2016-11-16 05:14:36 +00:00
2016-10-20 04:25:49 +00:00
- SOAP:
. Fixed bug #69137 (Peer verification fails when using a proxy with SoapClient)
(Keith Smiley)
2016-12-12 11:31:09 +00:00
- SQLite3:
2017-04-16 14:17:09 +00:00
. Update to Sqlite 3.18.0. (cmb)
. Fixed bug #74413 (incorrect reflection for SQLite3::enableExceptions).
(krakjoe)
2016-12-12 11:31:09 +00:00
2017-01-01 14:42:33 +00:00
- Standard:
. Add subject to mail log. (tomsommer)
. Fixed bug #31875 (get_defined_functions additional param to exclude
disabled functions). (willianveiga)
. Fixed bug #69442 (closing of fd incorrect when PTS enabled). (jaytaph)
2017-01-09 05:21:29 +00:00
. Fixed bug #72974 (imap is undefined service on AIX). (matthieu.sarter)
. Fixed bug #72979 (money_format stores wrong length AIX). (matthieu.sarter)
2017-03-23 14:56:17 +00:00
. Fixed bug #74300 (unserialize accepts two plus/minus signs for float number exponent part).
(xKerman)
. Fixed bug #74556 (stream_socket_get_name() returns '\0'). (Sara)
2017-01-01 14:42:33 +00:00
- XML:
. Moved utf8_encode() and utf8_decode() to the Standard extension. (Andrea)
2016-11-12 17:45:16 +00:00
. Fixed bug #72135 (malformed XML causes fault) (edgarsandi)
- xmlreader:
. Fixed bug #74457 (Wrong reflection on XMLReader::expand). (villfa)
2016-10-17 10:31:34 +00:00
- XMLRPC:
. Use Zend MM for allocation in bundled libxmlrpc (Joe)
- ZIP:
2017-03-02 12:36:40 +00:00
. Add support for encrypted archives. (Remi)
2017-03-21 10:16:54 +00:00
. Fixed Bug #73803 (Reflection of ZipArchive does not show public properties). (Remi)
2016-12-02 10:14:51 +00:00
<<< NOTE: Insert NEWS from last stable release here prior to actual release! >>>