Migration53/parameters-Phpdoc专题
新参数
在 PHP 5.3 中一些函数新增了参数和选项:
PHP 核心:
- <span
class="function">clearstatcache - 新增
clear_realpath_cache
和filename
参数. - copy -
新增流环境参数
context
。 - fgetcsv - 新增
escape
参数. - ini_get_all -
新增
details
参数. - nl2br - 新增
is_xhtml
参数. - <span
class="function">parse_ini_file - 新增
scanner_mode
参数. - round - 新增
mode
参数. - <span
class="function">stream_context_create - 新增
params
参数. - strstr 和 <span
class="function">stristr - 新增
before_needle
参数.
json:
- json_encode -
新增
options
参数. - json_decode -
新增
depth
参数.
- stream_select, stream_set_blocking, <span class="function">stream_set_timeout,和 <span class="function">stream_set_write_buffer 使用用户空间流包裹器.
sybase_ct:
- <span
class="function">sybase_connect - 新增
new
参数.
PHP 5.3.0 中的新方法参数:
PHP 核心:
- <span
class="methodname">Exception::__construct - 新增
previous
参数.