2010-11-13 19:12:07 +08:00
|
|
|
PHP NEWS
|
1999-07-23 07:54:54 +08:00
|
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
2011-09-12 18:20:34 +08:00
|
|
|
?? ??? 201?, PHP 5.5.0
|
2010-11-18 00:56:21 +08:00
|
|
|
|
|
|
|
- General improvements:
|
2012-09-17 04:02:47 +08:00
|
|
|
. Add generators and coroutines (https://wiki.php.net/rfc/generators).
|
|
|
|
(Nikita Popov)
|
2012-08-25 22:23:14 +08:00
|
|
|
. Support list in foreach (https://wiki.php.net/rfc/foreachlist). (Laruence)
|
2012-08-13 21:48:39 +08:00
|
|
|
. Implemented 'finally' keyword (https://wiki.php.net/rfc/finally). (Laruence)
|
2012-03-05 01:02:55 +08:00
|
|
|
. Drop Windows XP and 2003 support. (Pierre)
|
2012-03-24 19:38:40 +08:00
|
|
|
. Improve set_exception_handler while doing reset.(Laruence)
|
2012-04-15 11:40:38 +08:00
|
|
|
. Support constant array/string dereferencing. (Laruence)
|
2012-04-12 17:54:52 +08:00
|
|
|
. Add support for using empty() on the result of function calls and
|
|
|
|
other expressions (https://wiki.php.net/rfc/empty_isset_exprs).
|
|
|
|
(Nikita Popov)
|
2005-06-11 00:55:27 +08:00
|
|
|
|
2012-08-07 16:47:50 +08:00
|
|
|
- Calendar:
|
|
|
|
. Fixed bug #54254 (cal_from_jd returns month = 6 when there is only one Adar)
|
|
|
|
(Stas, Eitan Mosenkis).
|
|
|
|
|
2012-03-24 19:41:11 +08:00
|
|
|
- Core:
|
2012-06-07 15:37:26 +08:00
|
|
|
. Added boolval(). (Jille Timmermans).
|
2012-07-15 06:03:51 +08:00
|
|
|
. Fixed bug #18556 (Engine uses locale rules to handle class names). (Stas)
|
2012-04-17 19:31:36 +08:00
|
|
|
. Fixed bug #61681 (Malformed grammar). (Nikita Popov, Etienne, Laruence).
|
|
|
|
. Fixed bug #61038 (unpack("a5", "str\0\0") does not work as expected).
|
|
|
|
(srgoogleguy, Gustavo)
|
2012-03-24 19:41:11 +08:00
|
|
|
. Implemented FR #60738 (Allow 'set_error_handler' to handle NULL).
|
|
|
|
(Laruence, Nikita Popov)
|
2012-09-23 03:54:59 +08:00
|
|
|
. Return previous handler when passing NULL to set_error_handler and
|
|
|
|
set_exception_handler. (Nikita Popov)
|
2012-09-01 00:55:43 +08:00
|
|
|
. Added optional second argument for assert() to specify custom message. Patch
|
|
|
|
by Lonny Kapelushnik (lonny@lonnylot.com). (Lars)
|
2012-03-24 19:41:11 +08:00
|
|
|
|
2011-11-23 01:33:48 +08:00
|
|
|
- cURL:
|
|
|
|
. 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)
|
2011-11-23 01:13:26 +08:00
|
|
|
. Fixed bug #55635 (CURLOPT_BINARYTRANSFER no longer used. The constant
|
2012-08-06 10:25:15 +08:00
|
|
|
still exists for backward compatibility but is doing nothing). (Pierrick)
|
2011-11-23 13:45:27 +08:00
|
|
|
. Fixed bug #54995 (Missing CURLINFO_RESPONSE_CODE support). (Pierrick)
|
2011-11-23 01:13:26 +08:00
|
|
|
|
2012-08-06 10:25:15 +08:00
|
|
|
- Datetime
|
|
|
|
. Fixed bug #61642 (modify("+5 weekdays") returns Sunday).
|
|
|
|
(Dmitri Iouchtchenko)
|
|
|
|
|
2012-06-12 21:57:11 +08:00
|
|
|
- Hash
|
2012-06-13 01:51:18 +08:00
|
|
|
. Added support for PBKDF2 via hash_pbkdf2(). (Anthony Ferrara)
|
2012-06-12 21:57:11 +08:00
|
|
|
|
2012-08-16 23:10:05 +08:00
|
|
|
- MCrypt
|
|
|
|
. mcrypt_ecb(), mcrypt_cbc(), mcrypt_cfb() and mcrypt_ofb() now throw
|
|
|
|
E_DEPRECATED. (GoogleGuy)
|
|
|
|
|
2012-05-03 19:02:34 +08:00
|
|
|
- MySQLi
|
|
|
|
. Dropped support for LOAD DATA LOCAL INFILE handlers when using libmysql.
|
|
|
|
Known for stability problems. (Andrey)
|
|
|
|
|
2012-03-05 00:32:01 +08:00
|
|
|
- PCRE:
|
|
|
|
. Deprecated the /e modifier
|
|
|
|
(https://wiki.php.net/rfc/remove_preg_replace_eval_modifier). (Nikita Popov)
|
|
|
|
|
2011-11-25 10:24:37 +08:00
|
|
|
- pgsql
|
|
|
|
. Added pg_escape_literal() and pg_escape_identifier() (Yasuo)
|
|
|
|
|
2012-08-20 12:46:29 +08:00
|
|
|
- Tokenizer:
|
|
|
|
. Fixed bug #60097 (token_get_all fails to lex nested heredoc). (Nikita Popov)
|
|
|
|
|
2012-06-08 03:46:51 +08:00
|
|
|
- Zip:
|
|
|
|
. Upgraded libzip to 0.10.1 (Anatoliy)
|
|
|
|
|
2010-11-18 00:56:21 +08:00
|
|
|
<<< NOTE: Insert NEWS from last stable release here prior to actual release! >>>
|