2011-08-11 00:34:39 +08:00
|
|
|
PHP NEWS
|
1999-07-23 07:54:54 +08:00
|
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
2013-03-20 22:07:08 +08:00
|
|
|
?? ??? 20??, PHP 5.5.0 Beta 2
|
|
|
|
|
2013-03-21 21:11:15 +08:00
|
|
|
- Core:
|
2013-03-25 23:48:21 +08:00
|
|
|
. Fixed bug #64503 (Compilation fails with error: conflicting types for
|
|
|
|
'zendparse'). (Laruence)
|
2013-03-21 21:11:15 +08:00
|
|
|
. Fixed bug #64239 (Debug backtrace changed behavior since 5.4.10 or 5.4.11).
|
|
|
|
(Dmitry, Laruence)
|
2013-03-20 22:07:08 +08:00
|
|
|
|
2013-03-25 10:03:04 +08:00
|
|
|
- Opcache:
|
|
|
|
. Fixed bug # 64490 (struct flock undefined on FreeBSD). (Joe Watkins)
|
|
|
|
|
2013-03-20 22:06:15 +08:00
|
|
|
21 Mar 2013, PHP 5.5.0 Beta 1
|
2013-03-07 19:14:48 +08:00
|
|
|
|
2013-03-09 23:11:48 +08:00
|
|
|
- Core:
|
2013-03-20 13:32:50 +08:00
|
|
|
. Added Zend Opcache extension and enable building it by default.
|
|
|
|
More details here: https://wiki.php.net/rfc/optimizerplus. (Dmitry)
|
2013-03-20 20:14:20 +08:00
|
|
|
. Added array_column function which returns a column in a multidimensional
|
|
|
|
array. https://wiki.php.net/rfc/array_column. (Ben Ramsey)
|
2013-03-09 23:11:48 +08:00
|
|
|
. Fixed bug #64354 (Unserialize array of objects whose class can't
|
|
|
|
be autoloaded fail). (Laruence)
|
2013-03-11 08:20:57 +08:00
|
|
|
. Added support for changing the process's title in CLI/CLI-Server SAPIs.
|
|
|
|
The implementation is more robust that the proctitle PECL module. More
|
|
|
|
details here: https://wiki.php.net/rfc/cli_process_title. (Keyur)
|
2013-03-11 23:04:37 +08:00
|
|
|
. Fixed bug #64370 (microtime(true) less than $_SERVER['REQUEST_TIME_FLOAT']).
|
|
|
|
(Anatol)
|
2013-03-15 20:48:33 +08:00
|
|
|
. Added support for non-scalar Iterator keys in foreach
|
|
|
|
(https://wiki.php.net/rfc/foreach-non-scalar-keys). (Nikita Popov)
|
2013-03-09 23:11:48 +08:00
|
|
|
|
2013-03-13 22:29:40 +08:00
|
|
|
- mysqlnd
|
|
|
|
. Fixed bug #63530 (mysqlnd_stmt::bind_one_parameter crashes, uses wrong alloc
|
|
|
|
for stmt->param_bind). (Andrey)
|
2013-03-07 19:14:48 +08:00
|
|
|
|
2013-03-15 23:59:54 +08:00
|
|
|
- DateTime
|
|
|
|
. Fixed bug #53437 (Crash when using unserialized DatePeriod instance).
|
|
|
|
(Gustavo, Derick, Anatol)
|
2013-03-16 04:22:35 +08:00
|
|
|
. Fixed bug #62852 (Unserialize Invalid Date causes crash). (Anatol)
|
2013-03-15 23:59:54 +08:00
|
|
|
|
2013-03-19 05:01:42 +08:00
|
|
|
- SPL:
|
|
|
|
. Implement FR #48358 (Add SplDoublyLinkedList::add() to insert an element
|
|
|
|
at a given offset). (Mark Baker, David Soria Parra)
|
|
|
|
|
2013-03-20 16:15:16 +08:00
|
|
|
- Zip:
|
|
|
|
. Bug #64452 (Zip crash intermittently). (Anatol)
|
|
|
|
|
2013-03-07 19:14:26 +08:00
|
|
|
07 Mar 2013, PHP 5.5.0 Alpha 6
|
2013-03-04 05:24:00 +08:00
|
|
|
|
|
|
|
- Core:
|
2013-03-08 10:34:17 +08:00
|
|
|
. Fixed bug #61025 (__invoke() visibility not honored). (Laruence)
|
2013-03-04 05:24:00 +08:00
|
|
|
. Fixed bug #49348 (Uninitialized ++$foo->bar; does not cause a notice).
|
|
|
|
(Stas)
|
|
|
|
|
|
|
|
- Sockets:
|
|
|
|
. Fixed bug #64287 (sendmsg/recvmsg shutdown handler causes segfault).
|
|
|
|
(Gustavo)
|
|
|
|
|
2013-03-04 02:14:50 +08:00
|
|
|
- PCRE:
|
|
|
|
. Merged PCRE 8.32. (Anatol)
|
2013-02-27 14:25:33 +08:00
|
|
|
|
2013-03-06 19:37:57 +08:00
|
|
|
- DateTime:
|
|
|
|
. Fixed bug #64359 (strftime crash with VS2012). (Anatol)
|
|
|
|
|
2013-03-18 00:52:55 +08:00
|
|
|
- SNMP:
|
|
|
|
. Fixed bug #61981 (OO API, walk: $suffix_as_key is not working correctly).
|
|
|
|
(Boris Lytochkin)
|
|
|
|
|
2013-03-04 05:24:00 +08:00
|
|
|
21 Feb 2013, PHP 5.5.0 Alpha 5
|
2013-01-30 04:33:45 +08:00
|
|
|
|
2013-02-11 16:10:51 +08:00
|
|
|
- Core:
|
2013-02-09 00:09:11 +08:00
|
|
|
. Implemented FR #64175 (Added HTTP codes as of RFC 6585). (Jonh Wendell)
|
2013-03-04 05:24:00 +08:00
|
|
|
. Fixed bug #64135 (Exceptions from set_error_handler are not always
|
|
|
|
propagated). (Laruence)
|
|
|
|
. Fixed bug #63830 (Segfault on undefined function call in nested generator).
|
|
|
|
(Nikita Popov)
|
|
|
|
. Fixed bug #60833 (self, parent, static behave inconsistently
|
|
|
|
case-sensitive). (Stas, mario at include-once dot org)
|
|
|
|
. Implemented FR #60524 (specify temp dir by php.ini). (ALeX Kazik).
|
2013-02-11 16:10:51 +08:00
|
|
|
. Fixed bug #64142 (dval to lval different behavior on ppc64). (Remi)
|
2013-03-04 05:24:00 +08:00
|
|
|
. Added ARMv7/v8 versions of various Zend arithmetic functions that are
|
|
|
|
implemented using inline assembler (Ard Biesheuvel)
|
|
|
|
. Fix undefined behavior when converting double variables to integers.
|
|
|
|
The double is now always rounded towards zero, the remainder of its division
|
|
|
|
by 2^32 or 2^64 (depending on sizeof(long)) is calculated and it's made
|
|
|
|
signed assuming a two's complement representation. (Gustavo)
|
2013-02-11 16:10:51 +08:00
|
|
|
|
2013-02-02 02:23:25 +08:00
|
|
|
- CLI server:
|
|
|
|
. Fixed bug #64128 (buit-in web server is broken on ppc64). (Remi)
|
|
|
|
|
2013-03-04 05:24:00 +08:00
|
|
|
- cURL:
|
|
|
|
. Implemented FR #46439 - added CURLFile for safer file uploads.
|
|
|
|
(Stas)
|
2013-02-10 14:04:23 +08:00
|
|
|
|
2013-03-04 05:24:00 +08:00
|
|
|
- Intl:
|
|
|
|
. Cherry-picked UConverter wrapper, which had accidentaly been committed only
|
|
|
|
to master.
|
2013-02-18 05:28:42 +08:00
|
|
|
|
2013-03-04 05:24:00 +08:00
|
|
|
- mysqli
|
|
|
|
. Added mysqli_begin_transaction()/mysqli::begin_transaction(). Implemented
|
|
|
|
all options, per MySQL 5.6, which can be used with START TRANSACTION, COMMIT
|
|
|
|
and ROLLBACK through options to mysqli_commit()/mysqli_rollback() and their
|
|
|
|
respective OO counterparts. They work in libmysql and mysqlnd mode. (Andrey)
|
|
|
|
. Added mysqli_savepoint(), mysqli_release_savepoint(). (Andrey)
|
2013-02-21 23:49:28 +08:00
|
|
|
|
2013-03-04 05:24:00 +08:00
|
|
|
- mysqlnd
|
|
|
|
. Add new begin_transaction() call to the connection object. Implemented all
|
|
|
|
options, per MySQL 5.6, which can be used with START TRANSACTION, COMMIT
|
|
|
|
and ROLLBACK. (Andrey)
|
|
|
|
. Added mysqlnd_savepoint(), mysqlnd_release_savepoint(). (Andrey)
|
2013-03-01 23:17:25 +08:00
|
|
|
|
2013-03-04 05:24:00 +08:00
|
|
|
- Sockets:
|
|
|
|
. Added recvmsg() and sendmsg() wrappers. (Gustavo)
|
|
|
|
See https://wiki.php.net/rfc/sendrecvmsg
|
|
|
|
|
|
|
|
- Filter:
|
|
|
|
. Implemented FR #49180 - added MAC address validation. (Martin)
|
2013-02-27 14:20:21 +08:00
|
|
|
|
2013-03-01 23:17:08 +08:00
|
|
|
- Phar:
|
|
|
|
. Fixed timestamp update on Phar contents modification. (Dmitry)
|
|
|
|
|
2013-02-10 15:02:26 +08:00
|
|
|
- SPL:
|
2013-02-24 12:55:46 +08:00
|
|
|
. Fixed bug #64264 (SPLFixedArray toArray problem). (Laruence)
|
2013-02-17 18:37:58 +08:00
|
|
|
. Fixed bug #64228 (RecursiveDirectoryIterator always assumes SKIP_DOTS).
|
|
|
|
(patch by kriss@krizalys.com, Laruence)
|
2013-02-10 15:02:26 +08:00
|
|
|
. Fixed bug #64106 (Segfault on SplFixedArray[][x] = y when extended).
|
|
|
|
(Nikita Popov)
|
2013-02-27 14:12:15 +08:00
|
|
|
. Fixed bug #52861 (unset fails with ArrayObject and deep arrays).
|
2013-02-23 05:05:38 +08:00
|
|
|
(Mike Willbanks)
|
2013-02-10 15:02:26 +08:00
|
|
|
|
2013-02-15 03:08:08 +08:00
|
|
|
- SNMP:
|
|
|
|
. Fixed bug #64124 (IPv6 malformed). (Boris Lytochkin)
|
|
|
|
|
2013-03-04 05:24:00 +08:00
|
|
|
24 Jan 2013, PHP 5.5.0 Alpha 4
|
2013-01-04 09:25:23 +08:00
|
|
|
|
2013-01-09 10:55:50 +08:00
|
|
|
- Core:
|
2013-03-04 05:24:00 +08:00
|
|
|
. Fixed bug #63980 (object members get trimmed by zero bytes). (Laruence)
|
|
|
|
. Implemented RFC for Class Name Resolution As Scalar Via "class" Keyword.
|
|
|
|
(Ralph Schindler, Nikita Popov, Lars)
|
2013-01-09 10:55:50 +08:00
|
|
|
|
2013-03-04 05:24:00 +08:00
|
|
|
- DateTime
|
|
|
|
. Added DateTimeImmutable - a variant of DateTime that only returns the
|
|
|
|
modified state instead of changing itself. (Derick)
|
2013-01-15 16:06:35 +08:00
|
|
|
|
2013-01-16 10:18:00 +08:00
|
|
|
- FPM:
|
|
|
|
. Fixed bug #63999 (php with fpm fails to build on Solaris 10 or 11). (Adam)
|
|
|
|
|
2013-03-04 05:24:00 +08:00
|
|
|
- pgsql:
|
|
|
|
. Bug #46408: Locale number format settings can cause pg_query_params to
|
|
|
|
break with numerics. (asmecher, Lars)
|
2013-01-31 07:32:44 +08:00
|
|
|
|
2013-03-04 05:24:00 +08:00
|
|
|
- dba:
|
|
|
|
. Bug #62489: dba_insert not working as expected.
|
|
|
|
(marc-bennewitz at arcor dot de, Lars)
|
2012-12-05 13:30:50 +08:00
|
|
|
|
2013-03-04 05:24:00 +08:00
|
|
|
- Reflection:
|
|
|
|
. Fixed bug #64007 (There is an ability to create instance of Generator by
|
|
|
|
hand). (Laruence)
|
2012-11-10 16:07:44 +08:00
|
|
|
|
2013-03-04 05:24:00 +08:00
|
|
|
10 Jan 2013, PHP 5.5.0 Alpha 3
|
2012-11-25 08:28:56 +08:00
|
|
|
|
2013-03-04 05:24:00 +08:00
|
|
|
- General improvements:
|
|
|
|
. Fixed bug #63874 (Segfault if php_strip_whitespace has heredoc). (Pierrick)
|
|
|
|
. Fixed bug #63822 (Crash when using closures with ArrayAccess).
|
|
|
|
(Nikita Popov)
|
|
|
|
. Add Generator::throw() method. (Nikita Popov)
|
|
|
|
. Bug #23955: allow specifying Max-Age attribute in setcookie() (narfbg, Lars)
|
|
|
|
. Bug #52126: timestamp for mail.log (Martin Jansen, Lars)
|
2012-12-01 17:26:20 +08:00
|
|
|
|
2013-03-04 05:24:00 +08:00
|
|
|
- mysqlnd
|
|
|
|
. Fixed return value of mysqli_stmt_affected_rows() in the time after
|
|
|
|
prepare() and before execute(). (Andrey)
|
2012-11-25 14:40:39 +08:00
|
|
|
|
2013-03-04 05:24:00 +08:00
|
|
|
- cURL:
|
|
|
|
. Added new functions curl_escape, curl_multi_setopt, curl_multi_strerror
|
|
|
|
curl_pause, curl_reset, curl_share_close, curl_share_init,
|
|
|
|
curl_share_setopt curl_strerror and curl_unescape. (Pierrick)
|
|
|
|
. Addes new curl options CURLOPT_TELNETOPTIONS, CURLOPT_GSSAPI_DELEGATION,
|
|
|
|
CURLOPT_ACCEPTTIMEOUT_MS, CURLOPT_SSL_OPTIONS, CURLOPT_TCP_KEEPALIVE,
|
|
|
|
CURLOPT_TCP_KEEPIDLE and CURLOPT_TCP_KEEPINTVL. (Pierrick)
|
2012-11-25 15:14:23 +08:00
|
|
|
|
2013-03-04 05:24:00 +08:00
|
|
|
18 Dec 2012, PHP 5.5.0 Alpha 2
|
2012-11-25 14:46:02 +08:00
|
|
|
|
2013-03-04 05:24:00 +08:00
|
|
|
- General improvements:
|
|
|
|
. Added systemtap support by enabling systemtap compatible dtrace probes on
|
|
|
|
linux. (David Soria Parra)
|
|
|
|
. Added support for using empty() on the result of function calls and
|
|
|
|
other expressions (https://wiki.php.net/rfc/empty_isset_exprs).
|
|
|
|
(Nikita Popov)
|
|
|
|
. Optimized access to temporary and compiled VM variables. 8% less memory
|
|
|
|
reads. (Dmitry)
|
|
|
|
. The VM stacks for passing function arguments and syntaticaly nested calls
|
|
|
|
were merged into a single stack. The stack size needed for op_array
|
|
|
|
execution is calculated at compile time and preallocated at once. As result
|
|
|
|
all the stack push operatins don't require checks for stack overflow
|
|
|
|
any more. (Dmitry)
|
|
|
|
|
|
|
|
- MySQL
|
|
|
|
. This extension is now deprecated, and deprecation warnings will be generated
|
|
|
|
when connections are established to databases via mysql_connect(),
|
|
|
|
mysql_pconnect(), or through implicit connection: use MySQLi or PDO_MySQL
|
|
|
|
instead (https://wiki.php.net/rfc/mysql_deprecation). (Adam)
|
2012-11-27 13:34:36 +08:00
|
|
|
|
2012-11-23 20:58:22 +08:00
|
|
|
- Fileinfo:
|
2012-11-27 23:33:58 +08:00
|
|
|
. Fixed bug #63590 (Different results in TS and NTS under Windows).
|
|
|
|
(Anatoliy)
|
2012-11-27 13:34:36 +08:00
|
|
|
|
2012-11-25 08:28:56 +08:00
|
|
|
- Apache2 Handler SAPI:
|
|
|
|
. Enabled Apache 2.4 configure option for Windows (Pierre, Anatoliy)
|
|
|
|
|
2013-03-04 05:24:00 +08:00
|
|
|
13 Nov 2012, PHP 5.5.0 Alpha 1
|
2012-11-25 08:28:56 +08:00
|
|
|
|
2013-03-04 05:24:00 +08:00
|
|
|
- General improvements:
|
|
|
|
. Added generators and coroutines (https://wiki.php.net/rfc/generators).
|
|
|
|
(Nikita Popov)
|
|
|
|
. Added "finally" keyword (https://wiki.php.net/rfc/finally). (Laruence)
|
|
|
|
. Add simplified password hashing API
|
|
|
|
(https://wiki.php.net/rfc/password_hash). (Anthony Ferrara)
|
|
|
|
. Added support for list in foreach (https://wiki.php.net/rfc/foreachlist).
|
|
|
|
(Laruence)
|
|
|
|
. Added support for using empty() on the result of function calls and
|
|
|
|
other expressions (https://wiki.php.net/rfc/empty_isset_exprs).
|
|
|
|
(Nikita Popov)
|
|
|
|
. Added support for constant array/string dereferencing. (Laruence)
|
|
|
|
. Improve set_exception_handler while doing reset.(Laruence)
|
|
|
|
. Remove php_logo_guid(), php_egg_logo_guid(), php_real_logo_guid(),
|
|
|
|
zend_logo_guid(). (Adnrew Faulds)
|
|
|
|
. Drop Windows XP and 2003 support. (Pierre)
|
2012-08-29 13:07:08 +08:00
|
|
|
|
2013-03-04 05:24:00 +08:00
|
|
|
- Calendar:
|
|
|
|
. Fixed bug #54254 (cal_from_jd returns month = 6 when there is only one Adar)
|
|
|
|
(Stas, Eitan Mosenkis)
|
2012-09-13 00:34:59 +08:00
|
|
|
|
2012-08-02 23:03:38 +08:00
|
|
|
- Core:
|
2013-03-04 05:24:00 +08:00
|
|
|
. Added boolval(). (Jille Timmermans)
|
|
|
|
. Added "Z" option to pack/unpack. (Gustavo)
|
|
|
|
. Implemented FR #60738 (Allow 'set_error_handler' to handle NULL).
|
|
|
|
(Laruence, Nikita Popov)
|
2012-09-02 07:55:51 +08:00
|
|
|
. Added optional second argument for assert() to specify custom message. Patch
|
|
|
|
by Lonny Kapelushnik (lonny@lonnylot.com). (Lars)
|
2013-03-04 05:24:00 +08:00
|
|
|
. Fixed bug #18556 (Engine uses locale rules to handle class names). (Stas)
|
|
|
|
. Fixed bug #61681 (Malformed grammar). (Nikita Popov, Etienne, Laruence)
|
|
|
|
. Fixed bug #61038 (unpack("a5", "str\0\0") does not work as expected).
|
|
|
|
(srgoogleguy, Gustavo)
|
|
|
|
. Return previous handler when passing NULL to set_error_handler and
|
|
|
|
set_exception_handler. (Nikita Popov)
|
2012-09-02 07:55:51 +08:00
|
|
|
|
2012-09-29 03:26:53 +08:00
|
|
|
- cURL:
|
2013-03-04 05:24:00 +08:00
|
|
|
. Added support for CURLOPT_FTP_RESPONSE_TIMEOUT, CURLOPT_APPEND,
|
|
|
|
CURLOPT_DIRLISTONLY, CURLOPT_NEW_DIRECTORY_PERMS, CURLOPT_NEW_FILE_PERMS,
|
|
|
|
CURLOPT_NETRC_FILE, CURLOPT_PREQUOTE, CURLOPT_KRBLEVEL, CURLOPT_MAXFILESIZE,
|
|
|
|
CURLOPT_FTP_ACCOUNT, CURLOPT_COOKIELIST, CURLOPT_IGNORE_CONTENT_LENGTH,
|
|
|
|
CURLOPT_CONNECT_ONLY, CURLOPT_LOCALPORT, CURLOPT_LOCALPORTRANGE,
|
|
|
|
CURLOPT_FTP_ALTERNATIVE_TO_USER, CURLOPT_SSL_SESSIONID_CACHE,
|
|
|
|
CURLOPT_FTP_SSL_CCC, CURLOPT_HTTP_CONTENT_DECODING,
|
|
|
|
CURLOPT_HTTP_TRANSFER_DECODING, CURLOPT_PROXY_TRANSFER_MODE,
|
|
|
|
CURLOPT_ADDRESS_SCOPE, CURLOPT_CRLFILE, CURLOPT_ISSUERCERT,
|
|
|
|
CURLOPT_USERNAME, CURLOPT_PASSWORD, CURLOPT_PROXYUSERNAME,
|
|
|
|
CURLOPT_PROXYPASSWORD, CURLOPT_NOPROXY, CURLOPT_SOCKS5_GSSAPI_NEC,
|
|
|
|
CURLOPT_SOCKS5_GSSAPI_SERVICE, CURLOPT_TFTP_BLKSIZE,
|
|
|
|
CURLOPT_SSH_KNOWNHOSTS, CURLOPT_FTP_USE_PRET, CURLOPT_MAIL_FROM,
|
|
|
|
CURLOPT_MAIL_RCPT, CURLOPT_RTSP_CLIENT_CSEQ, CURLOPT_RTSP_SERVER_CSEQ,
|
|
|
|
CURLOPT_RTSP_SESSION_ID, CURLOPT_RTSP_STREAM_URI, CURLOPT_RTSP_TRANSPORT,
|
|
|
|
CURLOPT_RTSP_REQUEST, CURLOPT_RESOLVE, CURLOPT_ACCEPT_ENCODING,
|
|
|
|
CURLOPT_TRANSFER_ENCODING, CURLOPT_DNS_SERVERS and CURLOPT_USE_SSL.
|
|
|
|
(Pierrick)
|
|
|
|
. Fixed bug #55635 (CURLOPT_BINARYTRANSFER no longer used. The constant
|
|
|
|
still exists for backward compatibility but is doing nothing). (Pierrick)
|
|
|
|
. Fixed bug #54995 (Missing CURLINFO_RESPONSE_CODE support). (Pierrick)
|
|
|
|
|
|
|
|
- Datetime
|
|
|
|
. Fixed bug #61642 (modify("+5 weekdays") returns Sunday).
|
|
|
|
(Dmitri Iouchtchenko)
|
|
|
|
|
|
|
|
- Hash
|
|
|
|
. Added support for PBKDF2 via hash_pbkdf2(). (Anthony Ferrara)
|
2012-07-15 13:41:08 +08:00
|
|
|
|
2013-03-04 05:24:00 +08:00
|
|
|
- Intl
|
|
|
|
. The intl extension now requires ICU 4.0+.
|
|
|
|
. Added intl.use_exceptions INI directive, which controls what happens when
|
|
|
|
global errors are set together with intl.error_level. (Gustavo)
|
|
|
|
. MessageFormatter::format() and related functions now accepted named
|
|
|
|
arguments and mixed numeric/named arguments in ICU 4.8+. (Gustavo)
|
|
|
|
. MessageFormatter::format() and related functions now don't error out when
|
|
|
|
an insufficient argument count is provided. Instead, the placeholders will
|
|
|
|
remain unsubstituted. (Gustavo)
|
|
|
|
. MessageFormatter::parse() and MessageFormat::format() (and their static
|
|
|
|
equivalents) don't throw away better than second precision in the arguments.
|
2012-06-07 14:00:33 +08:00
|
|
|
(Gustavo)
|
2013-03-04 05:24:00 +08:00
|
|
|
. IntlDateFormatter::__construct and datefmt_create() now accept for the
|
|
|
|
$timezone argument time zone identifiers, IntlTimeZone objects, DateTimeZone
|
|
|
|
objects and NULL. (Gustavo)
|
|
|
|
. IntlDateFormatter::__construct and datefmt_create() no longer accept invalid
|
|
|
|
timezone identifiers or empty strings. (Gustavo)
|
|
|
|
. The default time zone used in IntlDateFormatter::__construct and
|
|
|
|
datefmt_create() (when the corresponding argument is not passed or NULL is
|
|
|
|
passed) is now the one given by date_default_timezone_get(), not the
|
|
|
|
default ICU time zone. (Gustavo)
|
|
|
|
. The time zone passed to the IntlDateFormatter is ignored if it is NULL and
|
|
|
|
if the calendar passed is an IntlCalendar object -- in this case, the
|
|
|
|
IntlCalendar's time zone will be used instead. Otherwise, the time zone
|
|
|
|
specified in the $timezone argument is used instead. This does not affect
|
|
|
|
old code, as IntlCalendar was introduced in this version. (Gustavo)
|
|
|
|
. IntlDateFormatter::__construct and datefmt_create() now accept for the
|
|
|
|
$calendar argument also IntlCalendar objects. (Gustavo)
|
|
|
|
. IntlDateFormatter::getCalendar() and datefmt_get_calendar() return false
|
|
|
|
if the IntlDateFormatter was set up with an IntlCalendar instead of the
|
|
|
|
constants IntlDateFormatter::GREGORIAN/TRADITIONAL. IntlCalendar did not
|
|
|
|
exist before this version. (Gustavo)
|
|
|
|
. IntlDateFormatter::setCalendar() and datefmt_set_calendar() now also accept
|
|
|
|
an IntlCalendar object, in which case its time zone is taken. Passing a
|
|
|
|
constant is still allowed, and still keeps the time zone. (Gustavo)
|
|
|
|
. IntlDateFormatter::setTimeZoneID() and datefmt_set_timezone_id() are
|
|
|
|
deprecated. Use IntlDateFormatter::setTimeZone() or datefmt_set_timezone()
|
|
|
|
instead. (Gustavo)
|
|
|
|
. IntlDateFormatter::format() and datefmt_format() now also accept an
|
|
|
|
IntlCalendar object for formatting. (Gustavo)
|
|
|
|
. Added the classes: IntlCalendar, IntlGregorianCalendar, IntlTimeZone,
|
|
|
|
IntlBreakIterator, IntlRuleBasedBreakIterator and
|
|
|
|
IntlCodePointBreakIterator. (Gustavo)
|
|
|
|
. Added the functions: intlcal_get_keyword_values_for_locale(),
|
|
|
|
intlcal_get_now(), intlcal_get_available_locales(), intlcal_get(),
|
|
|
|
intlcal_get_time(), intlcal_set_time(), intlcal_add(),
|
|
|
|
intlcal_set_time_zone(), intlcal_after(), intlcal_before(), intlcal_set(),
|
|
|
|
intlcal_roll(), intlcal_clear(), intlcal_field_difference(),
|
|
|
|
intlcal_get_actual_maximum(), intlcal_get_actual_minimum(),
|
|
|
|
intlcal_get_day_of_week_type(), intlcal_get_first_day_of_week(),
|
|
|
|
intlcal_get_greatest_minimum(), intlcal_get_least_maximum(),
|
|
|
|
intlcal_get_locale(), intlcal_get_maximum(),
|
|
|
|
intlcal_get_minimal_days_in_first_week(), intlcal_get_minimum(),
|
|
|
|
intlcal_get_time_zone(), intlcal_get_type(),
|
|
|
|
intlcal_get_weekend_transition(), intlcal_in_daylight_time(),
|
|
|
|
intlcal_is_equivalent_to(), intlcal_is_lenient(), intlcal_is_set(),
|
|
|
|
intlcal_is_weekend(), intlcal_set_first_day_of_week(),
|
|
|
|
intlcal_set_lenient(), intlcal_equals(),
|
|
|
|
intlcal_get_repeated_wall_time_option(),
|
|
|
|
intlcal_get_skipped_wall_time_option(),
|
|
|
|
intlcal_set_repeated_wall_time_option(),
|
|
|
|
intlcal_set_skipped_wall_time_option(), intlcal_from_date_time(),
|
|
|
|
intlcal_to_date_time(), intlcal_get_error_code(),
|
|
|
|
intlcal_get_error_message(), intlgregcal_create_instance(),
|
|
|
|
intlgregcal_set_gregorian_change(), intlgregcal_get_gregorian_change() and
|
|
|
|
intlgregcal_is_leap_year(). (Gustavo)
|
|
|
|
. Added the functions: intltz_create_time_zone(), intltz_create_default(),
|
|
|
|
intltz_get_id(), intltz_get_gmt(), intltz_get_unknown(),
|
|
|
|
intltz_create_enumeration(), intltz_count_equivalent_ids(),
|
|
|
|
intltz_create_time_zone_id_enumeration(), intltz_get_canonical_id(),
|
|
|
|
intltz_get_region(), intltz_get_tz_data_version(),
|
|
|
|
intltz_get_equivalent_id(), intltz_use_daylight_time(), intltz_get_offset(),
|
|
|
|
intltz_get_raw_offset(), intltz_has_same_rules(), intltz_get_display_name(),
|
|
|
|
intltz_get_dst_savings(), intltz_from_date_time_zone(),
|
|
|
|
intltz_to_date_time_zone(), intltz_get_error_code(),
|
|
|
|
intltz_get_error_message(). (Gustavo)
|
|
|
|
. Added the methods: IntlDateFormatter::formatObject(),
|
|
|
|
IntlDateFormatter::getCalendarObject(), IntlDateFormatter::getTimeZone(),
|
|
|
|
IntlDateFormatter::setTimeZone(). (Gustavo)
|
|
|
|
. Added the functions: datefmt_format_object(), datefmt_get_calendar_object(),
|
|
|
|
datefmt_get_timezone(), datefmt_set_timezone(),
|
|
|
|
datefmt_get_calendar_object(), intlcal_create_instance(). (Gustavo)
|
|
|
|
|
|
|
|
- MCrypt
|
|
|
|
. mcrypt_ecb(), mcrypt_cbc(), mcrypt_cfb() and mcrypt_ofb() now throw
|
|
|
|
E_DEPRECATED. (GoogleGuy)
|
|
|
|
|
|
|
|
- MySQLi
|
|
|
|
. Dropped support for LOAD DATA LOCAL INFILE handlers when using libmysql.
|
|
|
|
Known for stability problems. (Andrey)
|
|
|
|
. Added support for SHA256 authentication available with MySQL 5.6.6+.
|
|
|
|
(Andrey)
|
2012-06-07 14:00:33 +08:00
|
|
|
|
2013-03-04 05:24:00 +08:00
|
|
|
- PCRE:
|
|
|
|
. Deprecated the /e modifier
|
|
|
|
(https://wiki.php.net/rfc/remove_preg_replace_eval_modifier). (Nikita Popov)
|
|
|
|
. Fixed bug #63284 (Upgrade PCRE to 8.31). (Anatoliy)
|
2012-06-07 14:00:33 +08:00
|
|
|
|
2013-03-04 05:24:00 +08:00
|
|
|
- pgsql
|
|
|
|
. Added pg_escape_literal() and pg_escape_identifier() (Yasuo)
|
2012-09-20 04:17:35 +08:00
|
|
|
|
2013-03-04 05:24:00 +08:00
|
|
|
- SPL
|
|
|
|
. Fix bug #60560 (SplFixedArray un-/serialize, getSize(), count() return 0,
|
|
|
|
keys are strings). (Adam)
|
2012-07-01 08:37:09 +08:00
|
|
|
|
2013-03-04 05:24:00 +08:00
|
|
|
- Tokenizer:
|
|
|
|
. Fixed bug #60097 (token_get_all fails to lex nested heredoc). (Nikita Popov)
|
2012-06-09 00:02:49 +08:00
|
|
|
|
2012-06-08 03:45:30 +08:00
|
|
|
- Zip:
|
|
|
|
. Upgraded libzip to 0.10.1 (Anatoliy)
|
2012-06-07 14:00:33 +08:00
|
|
|
|
2013-03-04 05:24:00 +08:00
|
|
|
- Fileinfo:
|
|
|
|
. Fixed bug #63248 (Load multiple magic files from a directory under Windows).
|
|
|
|
(Anatoliy)
|
2010-11-19 18:00:10 +08:00
|
|
|
|
2010-11-18 00:56:21 +08:00
|
|
|
- General improvements:
|
2013-03-04 05:24:00 +08:00
|
|
|
. Implemented FR #46487 (Dereferencing process-handles no longer waits on
|
|
|
|
those processes). (Jille Timmermans)
|
2011-06-20 03:03:13 +08:00
|
|
|
|
2013-03-04 05:24:00 +08:00
|
|
|
<<< NOTE: Insert NEWS from last stable release here prior to actual release! >>>
|