2010-11-13 11:12:07 +00:00
|
|
|
PHP NEWS
|
1999-07-22 23:54:54 +00:00
|
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
2013-10-27 22:21:21 +00:00
|
|
|
?? ??? 20??, PHP 5.6.0
|
2013-11-27 08:34:40 +00:00
|
|
|
|
2013-11-15 20:37:52 +00:00
|
|
|
- CLI server:
|
2013-12-13 13:32:14 +00:00
|
|
|
. Added some MIME types to the CLI web server. (Chris Jones)
|
2013-11-15 20:37:52 +00:00
|
|
|
|
2013-05-17 09:35:32 +00:00
|
|
|
- Core:
|
|
|
|
. Improved IS_VAR operands fetching. (Laruence, Dmitry)
|
2013-12-26 10:47:13 +00:00
|
|
|
. Improved empty string handling. Now ZE uses an interned string instead of
|
|
|
|
allocation new empty string each time. (Laruence, Dmitry)
|
2013-06-17 16:27:22 +00:00
|
|
|
. Implemented internal operator overloading
|
|
|
|
(RFC: https://wiki.php.net/rfc/operator_overloading_gmp). (Nikita)
|
2013-09-02 21:19:53 +00:00
|
|
|
. Made calls from incompatible context issue an E_DEPRECATED warning instead
|
|
|
|
of E_STRICT (phase 1 of RFC: https://wiki.php.net/rfc/incompat_ctx).
|
|
|
|
(Gustavo)
|
2013-09-17 06:04:07 +00:00
|
|
|
. Uploads equal or greater than 2GB in size are now accepted.
|
|
|
|
(Ralf Lang, Mike)
|
2013-09-17 09:08:23 +00:00
|
|
|
. Reduced POST data memory usage by 200-300%. Removed INI setting
|
|
|
|
always_populate_raw_post_data and the $HTTP_RAW_POST_DATA global
|
|
|
|
variable. (Mike)
|
2013-09-26 16:39:17 +00:00
|
|
|
. Implemented dedicated syntax for variadic functions
|
|
|
|
(RFC: https://wiki.php.net/rfc/variadics). (Nikita)
|
2013-11-05 18:54:50 +00:00
|
|
|
. Fixed bug #50333 Improving multi-threaded scalability by using
|
|
|
|
emalloc/efree/estrdup (Anatol, Dmitry)
|
2013-11-28 12:46:51 +00:00
|
|
|
. Implemented constant scalar expressions (with support for constants)
|
|
|
|
(RFC: https://wiki.php.net/rfc/const_scalar_exprs). (Bob)
|
2013-12-12 16:15:50 +00:00
|
|
|
. Fixed bug #65784 (Segfault with finally). (Laruence, Dmitry)
|
2013-05-17 09:35:32 +00:00
|
|
|
|
2013-09-10 18:42:42 +00:00
|
|
|
- cURL:
|
|
|
|
. Implemented FR #65646 (re-enable CURLOPT_FOLLOWLOCATION with open_basedir
|
|
|
|
or safe_mode). (Adam)
|
|
|
|
|
2013-09-11 21:37:07 +00:00
|
|
|
- GMP:
|
|
|
|
. Moved GMP to use object as the underlying structure and implemented various
|
|
|
|
improvements based on this.
|
|
|
|
(RFC: https://wiki.php.net/rfc/operator_overloading_gmp). (Nikita)
|
2013-11-28 22:42:23 +00:00
|
|
|
. Added gmp_root() and gmp_rootrem() functions for calculating nth roots.
|
|
|
|
(Nikita)
|
2013-08-09 09:05:07 +00:00
|
|
|
|
2013-10-03 14:23:59 +00:00
|
|
|
- Hash:
|
|
|
|
. Added gost-crypto (CryptoPro S-box) GOST hash algo. (Manuel Mausz)
|
|
|
|
|
2013-09-17 19:12:29 +00:00
|
|
|
- JSON:
|
|
|
|
. Fixed case part of bug #64874 ("json_decode handles whitespace and
|
|
|
|
case-sensitivity incorrectly")
|
|
|
|
|
2013-07-22 09:02:48 +00:00
|
|
|
- mysqlnd:
|
|
|
|
. Disabled flag for SP OUT variables for 5.5+ servers as they are not natively
|
|
|
|
supported by the overlying APIs. (Andrey)
|
|
|
|
|
2013-05-17 09:35:32 +00:00
|
|
|
- OPcache:
|
2013-11-26 17:38:40 +00:00
|
|
|
. Added an optimization of class constants and constant calls to some
|
|
|
|
internal functions (Laruence, Dmitry)
|
2013-05-17 09:35:32 +00:00
|
|
|
. Added an optimization pass to convert FCALL_BY_NAME into DO_FCALL.
|
|
|
|
(Laruence, Dmitry)
|
|
|
|
. Added an optimization pass to merged identical constants (and related
|
|
|
|
cache_slots) in op_array->literals table. (Laruence, Dmitry)
|
|
|
|
. Added script level constant replacement optimization pass. (Dmitry)
|
|
|
|
|
2013-10-08 14:20:07 +00:00
|
|
|
- Openssl:
|
|
|
|
. Added crypto_method option for the ssl stream context. (Martin Jansen)
|
|
|
|
. Added certificate fingerprint support. (Tjerk Meesters)
|
2013-10-17 13:47:55 +00:00
|
|
|
. Added explicit TLSv1.1 and TLSv1.2 stream transports. (Daniel Lowrey)
|
2013-10-08 14:20:07 +00:00
|
|
|
. Fixed bug #65729 (CN_match gives false positive). (Tjerk Meesters)
|
|
|
|
|
2013-06-17 16:27:22 +00:00
|
|
|
- PDO_pgsql:
|
2013-06-07 07:27:42 +00:00
|
|
|
. Fixed Bug #42614 (PDO_pgsql: add pg_get_notify support). (Matteo)
|
2013-06-07 07:36:41 +00:00
|
|
|
. Fixed Bug #63657 (pgsqlCopyFromFile, pgsqlCopyToArray use Postgres < 7.3
|
|
|
|
syntax). (Matteo)
|
2013-06-07 07:27:42 +00:00
|
|
|
|
2013-12-20 13:56:03 +00:00
|
|
|
- phpdbg:
|
|
|
|
. Included phpdbg sapi (RFC: https://wiki.php.net/rfc/phpdbg).
|
|
|
|
(Felipe Pena, Joe Watkins and Bob Weinand)
|
|
|
|
|
2013-09-11 21:37:07 +00:00
|
|
|
- Session:
|
|
|
|
. Fixed Bug #65315 (session.hash_function silently fallback to default md5)
|
|
|
|
(Yasuo)
|
|
|
|
. Implemented Request #54649 (Create session_serializer_name()). (Yasuo)
|
|
|
|
. Implemented Request #17860 (Session write short circuit). (Yasuo)
|
|
|
|
. Implemented Request #20421 (session_abort() and session_reset() function).
|
|
|
|
(Yasuo)
|
|
|
|
. Implemented Request #11100 (session_gc() function). (Yasuo)
|
2013-06-17 16:27:22 +00:00
|
|
|
|
Request non-keep-alive connections by default in HTTP 1.1 requests.
As noted in FR #65634, at present we don't send a Connection request header
when the protocol version is set to 1.1, which means that RFC-compliant Web
servers should respond with keep-alive connections. Since there's no way of
reusing the HTTP connection at present, this simply means that PHP will appear
to hang until the remote server hits its connection timeout, which may be quite
some time.
This commit sends a "Connection: close" header by default when HTTP 1.1 (or
later) is requested by the user via the context options. It can be overridden
by specifying a Connection header in the context options. It isn't possible to
disable sending of the Connection header, but given "Connection: keep-alive" is
the same as the default HTTP 1.1 behaviour, I don't see this as a significant
issue — users who want to opt in for that still can.
As a note, although I've removed an efree(protocol_version), this doesn't
result in a memory leak: protocol_version is freed in the out: block at the end
of the function anyway, and there are no returns between the removed efree()
and the later call. Yes, I ran the tests with valgrind to check that. ☺
Implements FR #65634 (HTTP wrapper is very slow with protocol_version 1.1).
2013-09-11 21:11:29 +00:00
|
|
|
- Standard:
|
|
|
|
. Implemented FR #65634 (HTTP wrapper is very slow with protocol_version
|
|
|
|
1.1). (Adam)
|
2013-10-29 09:53:45 +00:00
|
|
|
. Implemented Change crypt() behavior w/o salt RFC. (Yasuo)
|
|
|
|
https://wiki.php.net/rfc/crypt_function_salt
|
2013-11-12 20:56:50 +00:00
|
|
|
. Implemented request #49824 (Change array_fill() to allow creating empty
|
|
|
|
array). (Nikita)
|
Request non-keep-alive connections by default in HTTP 1.1 requests.
As noted in FR #65634, at present we don't send a Connection request header
when the protocol version is set to 1.1, which means that RFC-compliant Web
servers should respond with keep-alive connections. Since there's no way of
reusing the HTTP connection at present, this simply means that PHP will appear
to hang until the remote server hits its connection timeout, which may be quite
some time.
This commit sends a "Connection: close" header by default when HTTP 1.1 (or
later) is requested by the user via the context options. It can be overridden
by specifying a Connection header in the context options. It isn't possible to
disable sending of the Connection header, but given "Connection: keep-alive" is
the same as the default HTTP 1.1 behaviour, I don't see this as a significant
issue — users who want to opt in for that still can.
As a note, although I've removed an efree(protocol_version), this doesn't
result in a memory leak: protocol_version is freed in the out: block at the end
of the function anyway, and there are no returns between the removed efree()
and the later call. Yes, I ran the tests with valgrind to check that. ☺
Implements FR #65634 (HTTP wrapper is very slow with protocol_version 1.1).
2013-09-11 21:11:29 +00:00
|
|
|
|
2013-10-03 13:23:05 +00:00
|
|
|
- XMLReader:
|
|
|
|
. Fixed bug #55285 (XMLReader::getAttribute/No/Ns methods inconsistency).
|
|
|
|
(Mike)
|
|
|
|
|
2013-11-04 12:32:45 +00:00
|
|
|
- Zip:
|
2013-12-30 06:45:09 +00:00
|
|
|
. update libzip to version 1.11.2.
|
2013-11-04 12:32:45 +00:00
|
|
|
PHP don't use any ilibzip private symbol anymore. (Pierre, Remi)
|
|
|
|
. new method ZipArchive::setPassword($password). (Pierre)
|
|
|
|
. add --with-libzip option to build with system libzip. (Remi)
|
2013-12-30 06:45:09 +00:00
|
|
|
. new methods:
|
|
|
|
ZipArchive::setExternalAttributesName($name, $opsys, $attr [, $flags])
|
|
|
|
ZipArchive::setExternalAttributesIndex($idx, $opsys, $attr [, $flags])
|
|
|
|
ZipArchive::getExternalAttributesName($name, &$opsys, &$attr [, $flags])
|
|
|
|
ZipArchive::getExternalAttributesIndex($idx, &$opsys, &$attr [, $flags])
|
2013-11-04 12:32:45 +00:00
|
|
|
|
2013-05-17 09:22:04 +00:00
|
|
|
<<< NOTE: Insert NEWS from last stable release here prior to actual release! >>>
|