php-src/NEWS

199 lines
8.5 KiB
Plaintext
Raw Normal View History

2014-12-15 05:13:07 +08:00
PHP NEWS
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
?? ??? 20??, PHP 7.0.0
2013-11-27 16:34:40 +08:00
- CLI server:
. Refactor MIME type handling to use a hash table instead of linear search.
(Adam)
. Update the MIME type list from the one shipped by Apache HTTPD. (Adam)
2014-08-01 23:28:20 +08:00
- Core:
. Fixed weird operators behavior. Division by zero now emits warning and
returns +/-INF, modulo by zero and intdid() throws an exception, shifts
by negative offset throw exceptions. Compile-time evaluation of division
by zero is disabled. (Dmitry, Andrea, Nikita)
. Fixed bug #69371 (Hash table collision leads to inaccessible array keys).
(Laruence)
. Fixed bug #68933 (Invalid read of size 8 in zend_std_read_property).
2015-01-31 19:12:30 +08:00
(Laruence, arjen at react dot com)
. Fixed bug #68868 (Segfault in clean_non_persistent_constants() in SugarCRM
6.5.20). (Laruence)
2014-10-31 17:38:18 +08:00
. Fixed bug #68104 (Segfault while pre-evaluating a disabled function).
(Laruence)
. Fixed bug #68252 (segfault in Zend/zend_hash.c in function
_zend_hash_del_el). (Laruence)
2014-08-01 23:28:20 +08:00
. Added PHP_INT_MIN constant. (Andrea)
2014-10-26 00:05:52 +08:00
. Added Closure::call() method. (Andrea)
2014-09-01 22:28:45 +08:00
. Implemented FR #38409 (parse_ini_file() looses the type of booleans). (Tjerk)
. Fixed bug #67959 (Segfault when calling phpversion('spl')). (Florian)
. Implemented the RFC `Catchable "Call to a member function bar() on a
2014-11-23 14:23:55 +08:00
non-object"`. (Timm)
. Added options parameter for unserialize allowing to specify acceptable
classes (https://wiki.php.net/rfc/secure_unserialize). (Stas)
. Fixed bug #68185 ("Inconsistent insteadof definition."- incorrectly
triggered). (Julien)
2014-11-28 20:36:16 +08:00
. Fixed bug #65419 (Inside trait, self::class != __CLASS__). (Julien)
2014-12-12 23:14:52 +08:00
. Fixed bug #65576 (Constructor from trait conflicts with inherited
constructor). (dunglas at gmail dot com)
2014-12-05 12:15:23 +08:00
. Removed ZEND_ACC_FINAL_CLASS, promoting ZEND_ACC_FINAL as final class
modifier. (Guilherme Blanco)
2014-12-15 05:32:42 +08:00
. is_long() & is_integer() is now an alias of is_int(). (Kalle)
2014-12-15 05:49:00 +08:00
. Implemented FR #55467 (phpinfo: PHP Variables with $ and single quotes). (Kalle)
. Fixed bug #55415 (php_info produces invalid anchor names). (Kalle, Johannes)
2014-12-19 09:06:46 +08:00
. Added ?? operator. (Andrea)
2015-02-20 06:02:04 +08:00
. Added <=> operator. (Andrea)
2014-12-19 09:06:46 +08:00
. Added \u{xxxxx} Unicode Codepoint Escape Syntax. (Andrea)
. Fixed oversight where define() did not support arrays yet const syntax did.
(Andrea, Dmitry)
. Use "integer" and "float" instead of "long" and "double" in ZPP, type hint
and conversion error messages. (Andrea)
. Implemented FR #55428 (E_RECOVERABLE_ERROR when output buffering in output
buffering handler). (Kalle)
. Removed scoped calls of non-static methods from an incompatible $this
context. (Nikita)
. Removed support for #-style comments in ini files. (Nikita)
2014-09-10 21:55:26 +08:00
. Removed support for assigning the result of new by reference. (Nikita)
. Invalid octal literals in source code now produce compile errors, fixes
PHPSadness #31. (Andrea)
2014-09-11 19:03:58 +08:00
. Removed dl() function on fpm-fcgi. (Nikita)
. Removed support for hexadecimal numeric strings. (Nikita)
2015-02-10 15:59:10 +08:00
. Removed obsolete extensions and SAPIs. See the full list in UPGRADING. (Anatol)
. Added NULL byte protection to exec, system and passthru. (Yasuo)
. Added error_clear_last() function. (Reeze Xia)
2015-03-18 02:48:55 +08:00
. Fixed bug #68797 (Number 2.2250738585072012e-308 converted incorrectly).
(Anatol)
. Implemented the RFC `Scalar Type Decalarations v0.5`. (Anthony)
. Implemented the RFC `Group Use Declarations`. (Marcio)
2015-03-25 22:22:37 +08:00
. Implemented the RFC `Continue Output Buffering`. (Mike)
. Implemented the RFC `Constructor behaviour of internal classes`. (Dan, Dmitry)
2015-01-30 13:14:44 +08:00
- Curl:
. Fixed bug #68937 (Segfault in curl_multi_exec). (Laruence)
. Removed support for unsafe file uploads. (Nikita)
2014-12-10 18:24:43 +08:00
- Date:
. Fixed day_of_week function as it could sometimes return negative values
internally. (Derick)
. Removed $is_dst parameter from mktime() and gmmktime(). (Nikita)
. Removed date.timezone warning
(https://wiki.php.net/rfc/date.timezone_warning_removal). (Bob)
. Added "v" DateTime format modifier to get the 3-digit version of fraction
of seconds. (Mariano Iglesias)
. Implemented FR #69089: Added DateTime::RFC3339_EXTENDED to output in
RFC3339 Extended format which includes fraction of seconds (Mariano
Iglesias)
2013-12-05 18:30:52 +08:00
- DBA:
. Fixed bug #62490 (dba_delete returns true on missing item (inifile)). (Mike)
2015-01-20 22:11:19 +08:00
. Fixed bug #68711 (useless comparisons). (bugreports at internot dot info)
2013-12-24 07:23:03 +08:00
2014-11-11 16:33:36 +08:00
- DOM:
. Made DOMNode::textContent writeable. (Tjerk)
2014-02-27 08:19:08 +08:00
- GD:
. Made fontFetch's path parser thread-safe. (Sara)
2013-11-04 20:32:45 +08:00
2014-11-11 16:33:36 +08:00
- Fileinfo:
. Fixed bug #66242 (libmagic: don't assume char is signed). (ArdB)
2014-11-27 18:40:48 +08:00
- Filter:
. New FILTER_VALIDATE_DOMAIN and better RFC conformance for FILTER_VALIDATE_URL. (Kevin Dunglas)
2014-11-11 16:33:36 +08:00
- FPM:
2015-03-01 17:44:30 +08:00
. Fixed bug #68945 (Unknown admin values segfault pools). (Laruence)
2014-11-11 16:33:36 +08:00
. Fixed bug #65933 (Cannot specify config lines longer than 1024 bytes). (Chris Wright)
2014-12-14 21:23:43 +08:00
. Implement request #67106 (Split main fpm config). (Elan Ruusamäe, Remi)
2014-11-11 16:33:36 +08:00
- Intl:
. Removed deprecated aliases datefmt_set_timezone_id() and
IntlDateFormatter::setTimeZoneID(). (Nikita)
- JSON
2015-02-03 03:48:19 +08:00
. Replace non-free JSON parser with a parser from Jsond extension, fixes #63520
(JSON extension includes a problematic license statement). (Jakub Zelenka)
. Fixed bug #68938 (json_decode() decodes empty string without error).
(jeremy at bat-country dot us)
2015-02-03 03:48:19 +08:00
- LiteSpeed:
. Updated LiteSpeed SAPI code from V5.5 to V6.6. (George Wang)
2014-12-10 18:24:43 +08:00
- Mcrypt:
. Fixed possible read after end of buffer and use after free. (Dmitry)
. Removed mcrypt_generic_end() alias. (Nikita)
2015-03-09 18:14:35 +08:00
. Removed mcrypt_ecb(), mcrypt_cbc(), mcrypt_cfb(), mcrypt_ofb(). (Nikita)
2014-12-10 18:24:43 +08:00
2014-12-24 18:30:36 +08:00
- Opcache:
2015-01-13 23:39:33 +08:00
. Fixed bug with try blocks being removed when extended_info opcode
generation is turned on. (Laruence)
2014-12-24 18:30:36 +08:00
. Fixed bug #68644 (strlen incorrect : mbstring + func_overload=2 +UTF-8
+ Opcache). (Laruence)
2015-01-23 14:05:28 +08:00
- OpenSSL:
2015-03-10 13:15:04 +08:00
. Added "alpn_protocols" SSL context option allowing encrypted client/server
streams to negotiate alternative protocols using the ALPN TLS extension when
built against OpenSSL 1.0.2 or newer. Negotiated protocol information is
accessible through stream_get_meta_data() output.
2015-01-23 14:05:28 +08:00
2014-11-29 21:51:18 +08:00
- pcntl:
. Fixed bug #60509 (pcntl_signal doesn't decrease ref-count of old handler
when setting SIG_DFL). (Julien)
2015-03-17 18:07:15 +08:00
. Added wifcontinued and wcontinued. (xilon-jul)
2014-11-29 21:51:18 +08:00
2014-09-10 23:19:02 +08:00
- PCRE:
. Removed support for the /e (PREG_REPLACE_EVAL) modifier. (Nikita)
2015-02-06 22:47:16 +08:00
- PDO:
. Fixed bug #59450 (./configure fails with "Cannot find php_pdo_driver.h").
(maxime dot besson at smile dot fr)
2014-12-06 00:07:13 +08:00
- PDO_mysql:
. Fixed bug #68424 (Add new PDO mysql connection attr to control multi
statements option). (peter dot wolanin at acquia dot com)
2014-11-11 16:33:36 +08:00
- Reflection
2014-12-21 11:08:29 +08:00
. Fixed inheritance chain of Reflector interface. (Tjerk)
2014-11-11 16:33:36 +08:00
- Session:
. Fixed bug #67694 (Regression in session_regenerate_id()). (Tjerk)
2015-03-01 17:44:30 +08:00
. Fixed bug #68941 (mod_files.sh is a bash-script). (bugzilla at ii.nl, Yasuo)
2013-11-04 20:32:45 +08:00
2014-11-11 16:33:36 +08:00
- SOAP:
2015-03-01 17:44:30 +08:00
. Fixed bug #68361 (Segmentation fault on SoapClient::__getTypes). (Laruence)
2014-11-11 16:33:36 +08:00
2014-08-26 00:32:40 +08:00
- SPL:
. Implemented #67886 (SplPriorityQueue/SplHeap doesn't expose extractFlags
nor curruption state). (Julien)
2014-11-29 19:15:17 +08:00
. Fixed bug #66405 (RecursiveDirectoryIterator::CURRENT_AS_PATHNAME
breaks the RecursiveIterator). (Paul Garvin)
2014-12-05 17:18:41 +08:00
. Fixed bug #68479 (Added escape parameter to SplFileObject::fputcsv). (Salathe)
2014-08-26 00:32:40 +08:00
2015-01-09 23:26:10 +08:00
- Sqlite3:
. Fixed bug #68260 (SQLite3Result::fetchArray declares wrong
2015-01-09 23:26:10 +08:00
required_num_args). (Julien)
2014-11-11 16:33:36 +08:00
- Standard:
. Fixed bug #69299 (Regression in array_filter's $flag argument in PHP 7).
(Laruence)
2014-11-11 16:33:36 +08:00
. Removed call_user_method() and call_user_method_array() functions. (Kalle)
. Fixed user session handlers (See rfc:session.user.return-value). (Sara)
2014-11-11 16:33:36 +08:00
. Added intdiv() function. (Andrea)
. Improved precision of log() function for base 2 and 10. (Marc Bennewitz)
. Remove string category support in setlocale(). (Nikita)
. Remove set_magic_quotes_runtime() and its alias magic_quotes_runtime().
(Nikita)
. Fixed bug #65272 (flock() out parameter not set correctly in windows).
2014-08-27 16:47:44 +08:00
(Daniel Lowrey)
. Added preg_replace_callback_array function. (Wei Dai)
2014-11-11 16:33:36 +08:00
2014-12-13 00:02:20 +08:00
- Streams:
. Fixed bug #68532 (convert.base64-encode omits padding bytes).
(blaesius at krumedia dot de)
2014-09-10 23:31:37 +08:00
. Removed set_socket_blocking() in favor of its alias stream_set_blocking().
(Nikita)
2014-12-13 00:02:20 +08:00
2014-11-11 16:33:36 +08:00
- XSL:
. Fixed bug #64776 (The XSLT extension is not thread safe). (Mike)
. Removed xsl.security_prefs ini option. (Nikita)
2014-09-02 06:47:49 +08:00
<<< NOTE: Insert NEWS from last stable release here prior to actual release! >>>