New Parameters

Some functions were given new, optional, parameters in PHP 5.2.x:

PHP Core:

  • htmlentities()- added double_encode in php 5.2.3.
  • htmlspecialchars()- added double_encode in php 5.2.3.
  • base64_decode()- added strict
  • setcookie()- added httponly
  • setrawcookie()- added httponly
  • session_set_cookie_params()- added httponly
  • memory_get_usage()- added real_usage
  • get_loaded_extensions()- added zend_extensions in php 5.2.4

curl:

  • curl_multi_info_read()- added msgs_in_queue

datetime

  • date()- added "u"(milliseconds)format character in php 5.2.2

imap:

  • imap_open()- added n_retries
  • imap_reopen()- added n_retries

mbstring:

  • mb_strrpos()- added offset the offset parameter was put in the position the encoding parameter used to be. backward compatibility has been provided by allowing encoding to be specified as the third parameter. using this backward compatibility mode is not recommended because it will be removed in a future release of php.

ming:

  • swfmovie::streammp3()- added skip in php 5.2.1

openssl:

  • openssl_verify()- added signature_algo

pgsql:

  • pg_escape_bytea()- added connection
  • pg_escape_string()- added connection

simplexml:

  • simplexmlelement::__construct()- added is_prefix
  • simplexmlelement::attributes()- added is_prefix
  • simplexmlelement::children()- added is_prefix
  • simplexml_load_file()- added is_prefix
  • simplexml_load_string()- added is_prefix

spl:

  • array iterator_to_array(traversable it [, bool use_keys = true])- added use_keys in php 5.2.1

xmlreader:

  • xmlreader::open()- added encoding and options
  • xmlreader::xml()- added encoding and options

XMLWriter:

淘宝 adsense 商品推荐

官方正版 Google AdSense实战宝典 用谷歌广告联盟出海赚美元 第2版 祁劲松 网站运营书籍 seo搜索引擎优化 AdSense从入门到精通

价格:37元

  • xmlwriter_write_element()- the content became optional in php 5.2.3
  • xmlwriter_write_element_ns()- the content became optional in php 5.2.3