PHP                                                                        NEWS
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
? ? ??? 200?, Version 5.0.0
- Updated wddx_deserialize() to take an open stream as an argument. (Andrei)
- Changed exif extension to consider php.ini option magic_quotes_runtime.
  (Marcus)
- Moved extensions to PECL (http://pear.php.net/): (James, Tal)
  . ext/fribidi
- Renamed stream_register_wrapper() to stream_wrapper_register(). (Derick)
- Fixed dirname() and strip_tags() to be binary-safe. (Moriyoshi)
- Fixed bug #22386 (Using browscap causes segfault). (Jay)
- Fixed bug #22895 (PHP cli outputs errors in text AND html). (Marcus)
- Fixed bug #21985 and #22064 (various mb_send_mail() issues). (Moriyoshi)
- Fixed bug #21600 (Assign by reference function call changes variable contents).
  (Zeev)
- Fixed bug #21007 (html_errors off text-only output in phpinfo). (Marcus)
- Fixed bug #20442 (upgraded bundled expat to 1.95.5). (Ilia)
- Fixed bug #20155 (xmlrpc compile problem with ZE2). (Derick, Jan Schneider)
- Changed the length parameter in fgetss() to be optional. (Moriyoshi)
- Changed ini parser to allow for handling of quoted multi-line values. (Ilia)
- Changed get_extension_funcs() to return list of the built-in Zend Engine 
  functions if "zend" is specified as the module name. (Ilia)
- Changed is_executable() to be available also on Windows. (Shane)
- Changed array_search() to accept also objects as a needle. (Moriyoshi)
- Changed ext/mcrypt to require libmcrypt version 2.5.6 or greater. (Derick)
- Changed uniqid() parameters to be optional and allow any prefix length. (Marcus)
- Added imap_getacl(). (Dan, Holger Burbach)
- Added unlink() method to wrapper operations, routed userland unlink through
  wrappers, and implemented plainfiles and ftp unlink methods. (Sara)
- Added encoding detection feature for expat XML parser. (Adam Dickmeiss, Moriyoshi)
- Added missing multibyte(unicode) support and numeric entity support to
  html_entity_decode(). (Moriyoshi)
- Added opendir() and stat() related support to ftp:// wrapper. (Sara)
- Added IPv6 support to ext/sockets. (Sara)
- Added context options to http_fopen_wrapper 'method', 'header', 'content'. (Sara)
- Added domdocument->create_document_fragment() and documentfragment->open_mem() 
  methods to domxml. (Rob Richards, Chregu)
- Added domelement->set_attribute_node() method (bug #17638). (Rob Richards)
- Added optional parameter to get_browser() to make it return an array. (Jay)
- Added optional parameter to openssl_sign() to specify the hashing algorithm.
  (scott@planetscott.ca, Derick)
- Added file_put_contents() function. (Sterling)
- Added "mail_force_extra_paramaters" php.ini option which forces the addition 
  of the specified parameters to be passed as extra parameters to the sendmail 
  binary. These parameters will always replace the value of the 5th parameter
  to mail(), even in safe mode. (Derick)
- Added new "transport" layer for sockets and associated functions. (Wez)
  . stream_socket_client() - similar to fsockopen(), but more powerful.
  . stream_socket_server() - Creates a server socket.
  . stream_socket_accept() - Accept a client connection.
  . stream_socket_get_name() - Get local or remote name of socket.
  . generic crypto interface for streams (supports dynamic loading of OpenSSL)
- Added stream_copy_to_stream() function. (Wez)
- Added memory mapping support under win32 to improve performance of
  readfile(), fpassthru() and some internal streams operations. (Wez)
- Added input filter support. See README.input_filter. (Rasmus)
- Added "session.hash_function" and "session.hash_bits_per_character". (Sascha)
- Added lightweight streaming input abstraction to the Zend Engine scanners
  that provides uniform support for include()'ing data from PHP streams across
  all platforms (Wez, Zend Engine).
- Added optional parameter to sha1(), sha1_file(), md5() and md5_file() which
  makes them return the digest as binary data. (Michael Bretterklieber, Derick)
- Added proc_nice() function. Changes priority of the current process. (Ilia)
- Added pcntl_getpriority() and pcntl_setpriority() functions. (Ilia)
- Added idate(), date_sunrise() and date_sunset() functions. (Moshe Doron)
- Added strpbrk() function. Searches a string for a list of characters. (Ilia)
- Added stream_get_line() function. Reads either the specified number of bytes
  or until the ending string is found. (Ilia)
- Added optional parameter to mkdir() to make directory creation recursive. (Ilia)
- Added optional parameter to file() which makes the result array not contain
  the line endings and to skip empty lines. (Ilia)
- Added get_headers() function. Returns headers sent by the server of 
  the specified URL. (Ilia)
- Added str_split() function. Breaks down a string into an array of elements 
  based on length. (Ilia)
- Added array_walk_recursive() function. (Ilia)
- Added string.base64 stream filter. (Moriyoshi)
- Added domxml_node_get_path(). (Lukas Schrder)
- Added iconv related functions. (Moriyoshi)
  . iconv_strlen()
  . iconv_substr()
  . iconv_strpos()
  . iconv_strrpos()
  . iconv_mime_decode()
  . iconv_mime_encode()
- Added new range() functionality. (Ilia)
  . Support for float modifier.
  . Detection of numeric values inside strings passed as high & low.
  . Proper handle the situations where high == low.
- Added imagefilter() function. Allows application of various filters.
  Only available with bundled GD. (Pierre-Alain Joye, Ilia)
- Added antialiased drawing support to bundled GD. (Pierre-Alain Joye, Ilia)
   . imageantialias($im, $flag) to (de)active antialias
   . imageline antialias support
   . imagepolygon antialias support
