New Parameters
Several functions were given new, optional parameters in PHP 5.3:
PHP Core:
-
clearstatcache
- Added
clear_realpath_cache
and
filename
.
-
copy
- Added a stream context parameter,
context
.
-
fgetcsv
- Added
escape
.
-
ini_get_all
- Added
details
.
-
nl2br
- Added
is_xhtml
.
-
parse_ini_file
- Added
scanner_mode
.
-
round
- Added
mode
.
-
stream_context_create
- Added
params
.
-
strstr and stristr
- Added
before_needle
.
json:
-
json_encode
- Added
options
.
-
json_decode
- Added
depth
.
Streams:
-
stream_select,
stream_set_blocking,
stream_set_timeout, and
stream_set_write_buffer now work with user-space
stream wrappers.
sybase_ct:
-
sybase_connect
- Added
new
.
New method parameters in PHP 5.3.0:
PHP Core:
-
Exception::__construct
- Added
previous
.