记录我的一些生活写照、无聊的牢骚、内心世界的活动 注册 | 登陆

PHP6即将出炉了,看看都有什么新东西!

PHP                                                                        NEWS
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
?? ??? 20??, PHP 6.0
- Unicode support. (Andrei, Dmitry, et al)

- Changed dl() to be disabled by default. Enabled only when explicitly
  registered by the SAPI layer. Enabled only with CLI, CGI and EMBED. (Dmitry)
- Changed return "new" by reference to throw an E_STRICT error. (Dmitry)
- Changed __toString() behavior to call it in all necessary places
  (Marcus, Dmitry)
- Changed "instanceof" and "catch" operators, is_a() and is_subclass_of()
  functions to not call __autoload(). (Dmitry)

- Removed old legacy:
  . "register_globals" support. (Pierre)
  . "register_long_arrays" ini option. (Dmitry)
  . "safe_mode" support. (Ilia, Andi)
  . "zend.ze1_compatibility_mode" ini option. (Dmitry)
  . "allow_call_time_pass_reference", added E_STRICT error message. (Dmitry)
  . session_register(), session_unregister() and session_is_registered()
    (needed only with "register_globals=On").
  . "magic_quotes_gpc", "magic_quotes_runtime" and "magic_quotes_sybase" ini
    options. (Pierre)
  . Changed get_magic_quotes_gpc(), get_magic_quotes_runtime to always return
    false and set_magic_quotes_runtime() to raise an E_CORE_ERROR.
- Removed support for "continue" and "break" operators with non-constant
  operands. (Dmitry)
- Removed Freetype 1.x and GD 1.x from GD extension. (Pierre)
- Removed global reflection constants. (Johannes)

- Improved and cleaned CGI code. FastCGI is now always enabled and can not be
  disabled. See sapi/cgi/CHANGES for more details. (Dmitry)
- Improved cURL: (Ilia)
  . Added curl_setopt_array() which allows setting of multiple cURL options.
  . Added CURLINFO_HEADER_OUT constant to facilitate request retrieval.

- Added "jump label" operator (limited "goto"). (Dmitry, Sara)
- Added E_STRICT to E_ALL. (Dmitry)
- Added gmp_nextprime() function. (Tony, patch by ants dot aasma at gmail dot com)
- Added "allow_url_include" ini option to be able to turn off remote url
  code execution separately from the "allow_url_fopen" setting. (Rasmus)
- Added --rclass and --rextension CLI parameters to reflect internal classes
  and loaded extensions. (Johannes)
- Added optional parameter to http_build_query() to allow specification of
  string separator. (Ilia)
- Added an optional parameter to parse_url() to allow retrieval of distinct URL
  components. (Ilia)
- Added an optional parameter to strstr() and stristr() for retrieval of either
  the part of haystack before or after first occurence of needle. (Johannes)
- Added possibility to check in which extension an internal function was
  defined using reflection API. (Johannes)
- Added second optional parameter to stream_context_create() to set params
  during context creation. (Sara)

- Fixed bug #36630 (umask not reset at the end of the request). (Ilia)
- Fixed bug #34286 (__toString() behavior is inconsistent). (Marcus)

Tags: php

« 上一篇 | 下一篇 »

只显示10条记录相关文章

PHP5.2.0正式发布 (浏览: 5069, 评论: 0)
PHP的扩展和嵌入---一本不错的书 (浏览: 42895, 评论: 0)
微软淘汰甲骨文 以1.13亿美元控股Zend (浏览: 5887, 评论: 0)
有关PHP4和PHP5不兼容的问题 (浏览: 36821, 评论: 3)
Minutes PHP Developers Meeting (浏览: 2885, 评论: 0)
PHP5.1终于又出来了 (浏览: 3670, 评论: 0)
截取中英文混排字符串的函数 (浏览: 3240, 评论: 0)
Windows下的Apache+MySQL+PHP运行环境的搭建基础篇 (浏览: 4390, 评论: 1)
PHP5之__set和__get (浏览: 2752, 评论: 0)
一部经典之作《PHP 5 Power Programming》 (浏览: 34363, 评论: 2)

Trackbacks

点击获得Trackback地址,Encode: UTF-8 点击获得Trackback地址,Encode: GB2312 or GBK 点击获得Trackback地址,Encode: BIG5

发表评论

评论内容 (必填):