mirror of
https://github.com/php/web-php.git
synced 2026-04-01 04:02:10 +02:00
317 lines
14 KiB
PHP
317 lines
14 KiB
PHP
<?php
|
|
// $Id$
|
|
$_SERVER['BASE_PAGE'] = 'ChangeLog-5.php';
|
|
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/prepend.inc';
|
|
site_header("PHP 5 ChangeLog");
|
|
?>
|
|
|
|
<h1>PHP 5 ChangeLog</h1>
|
|
|
|
<a name="5.0.0b3"></a>
|
|
<h3>Version 5.0.0 Beta 3</h3>
|
|
<b>21-Dec-2003</b>
|
|
<ul>
|
|
<li>Bundled new tidy extension (John, Wez)</li>
|
|
<li>Upgraded PCRE library to version 4.5. (Andrei)</li>
|
|
<li>Dropped Windows 95 support. (Andi)</li>
|
|
<li>Moved extensions to PECL:</li>
|
|
<ul>
|
|
<li>ext/crack (Jani, Derick)</li>
|
|
<li>ext/db (Jani, Derick)</li>
|
|
<li>ext/mcal (Jani, Derick)</li>
|
|
<li>ext/qtdom (Jani, Derick)</li>
|
|
<li>ext/notes (Wez)</li>
|
|
</ul>
|
|
<li>Added 'c' modifier to date() which returns the date in the ISO
|
|
8601 format. (Derick, Manuzhai)</li>
|
|
<li>Added an optional parameter to microtime() to get the time as
|
|
float. (Andrey)</li>
|
|
<li>Added MacRoman encoding support to htmlentities(). (Derick,
|
|
Marcus Bointon)</li>
|
|
<li>Added possibility to call PHP functions as XSLT-functions.
|
|
(Christian)</li>
|
|
<li>Added possibility to prevent PHP from registering variables when
|
|
input filter. support is used. (Derick)</li>
|
|
<li>Added iconv stream filter (convert.iconv.*). (Moriyoshi)</li>
|
|
<li>Added EXSLT support in ext/xsl. (Christian)</li>
|
|
<li>Added qdbm handler for dba extension. (mg at iceni dot pl, Marcus)</li>
|
|
<li>Added new functions:</li>
|
|
<ul>
|
|
<li>dba_key_split() to split inifile keys in an array. (Marcus)</li>
|
|
<li>time_nanosleep() signal safe sleep (Magnus, Ilia)</li>
|
|
<li>headers_list(). (Sara)</li>
|
|
<li>php_strip_whitespace(). strip whitespace & comments from a
|
|
script. (Ilia)</li>
|
|
<li>php_check_syntax(). check php script for parse errors. (Ilia)</li>
|
|
<li>image_type_to_extension(). return extension based on image type.
|
|
(Ilia)</li>
|
|
<li>stream_socket_sendto() and stream_socket_recvfrom(). (Wez)</li>
|
|
<li>iconv_mime_decode_headers(). (Moriyoshi)</li>
|
|
<li>get_declared_interfaces(). (Andrey, Marcus)</li>
|
|
<li>sqlite_fetch_column_types(). (Ilia)</li>
|
|
</ul>
|
|
<li>Added proxy support to http:// wrapper. (Sara)</li>
|
|
<li>Added rename(), rmdir() and mkdir() support to userstreams.
|
|
(Sara)</li>
|
|
<li>Added rename(), rmdir() and mkdir() support to ftp:// wrapper.
|
|
(Sara)</li>
|
|
<li>Changed rename(), rmdir() and mkdir() to be routed via streams
|
|
API. (Sara)</li>
|
|
<li>Changed stat() and family to be routed via streams API. (Sara)</li>
|
|
<li>Fixed include_once() / require_once() on Windows to honor
|
|
case-insensitivity; of files. (Andi)</li>
|
|
<li>Fixed get_declared_classes() to return only classes. (Andrey,
|
|
Marcus)</li>
|
|
<li>Fixed __autoload() to preserve case of the passed class name.
|
|
(Andi)</li>
|
|
<li>Fixed bug #26615 () (runekl at opoint dot com, Derick)</li>
|
|
<li>Fixed bug #26591 ("__autoload threw an exception" during an
|
|
uncaught). (Marcus)</li>
|
|
<li>Fixed bug #26534 (stream_get_meta_data() -> Access Violation).
|
|
(Wez)</li>
|
|
<li>Fixed bug #26528 (HTML entities are not being decoded by
|
|
xml_parse()/xml_parse_into_struct()). (Ilia)</li>
|
|
<li>Fixed bug #26182 (Object properties created redundantly). (Andi)</li>
|
|
<li>Fixed bug #26156 (REPLACE_ZVAL_VALUE works on uninit stack-based
|
|
zvals). (Moriyoshi)</li>
|
|
<li>Fixed bug #26083 (Non-working write support in ext/dom). (Ilia)</li>
|
|
<li>Fixed bug #26072 (--disable-libxml does not work). (Jani)</li>
|
|
<li>Fixed bug #26001 (serialize crashes when accessing an overloaded
|
|
object that has no properties (NULL hashtable)). (Wez)</li>
|
|
<li>Fixed bug #25664 (COM crashes when calling a Delphi implementations
|
|
of ITypeInfo). (Wez)</li>
|
|
<li>Fixed bug #24837 (Incorrect behaviour of PPP using foreach).
|
|
(Marcus)</li>
|
|
<li>Fixed bug #24693 (Allow session.use_trans_sid to be
|
|
enabled/disabled from inside the script). (Ilia)</li>
|
|
<li>Fixed bug #24394 (Serializing cross-referenced objects causes
|
|
segfault). (Moriyoshi)</li>
|
|
</ul>
|
|
|
|
<hr />
|
|
|
|
<a name="5.0.0b2"></a>
|
|
<h3>Version 5.0.0 Beta 2</h3>
|
|
<b>30-Oct-2003</b>
|
|
<ul>
|
|
<li>Lots and lots of changes in the Zend Engine 2 since beta 1:
|
|
<ul>
|
|
<li>Added Iterators</li>
|
|
<li>Improved memory manager</li>
|
|
<li>Added Reflection API</li>
|
|
<li>Removed the not so working namespaces support</li>
|
|
<li>Removed support for expressions within constant declerations.</li>
|
|
<li>You can read about most changes in ZEND_CHANGES under the Zend
|
|
directory.</li>
|
|
</ul>
|
|
<li>Improved the DBX extension: (Marc)</li>
|
|
<ul>
|
|
<li>Added DBX_RESULT_UNBUFFERED flag for dbx_query().</li>
|
|
<li>Added dbx_fetch_row()</li>
|
|
<li>Added SQLite support.</li>
|
|
</ul>
|
|
<li>Improved the Interbase extension: (Ard Biesheuvel)</li>
|
|
<ul>
|
|
<li>Added support for multiple databases into ibase_trans()</li>
|
|
<li>Added support for CREATE DATABASE, SET TRANSACTION and EXECUTE
|
|
PROCEDURE statements into ibase_query()</li>
|
|
<li>Added ibase_commit_ret() and ibase_rollback_ret()</li>
|
|
<li>Added ibase_drop_db()</li>
|
|
<li>Added ibase_gen_id()</li>
|
|
<li>Added ibase_name_result()</li>
|
|
<li>Added ibase_errcode()</li>
|
|
<li>Added ibase_affected_rows() and ibase_num_params()</li>
|
|
<li>Added ibase_param_info()</li>
|
|
<li>Added ibase_wait_event()</li>
|
|
<li>Added ibase_set_event_handler() and ibase_free_event_handler()</li>
|
|
</ul>
|
|
<li>Added new COM extension with integrated .Net support. (Wez)</li>
|
|
<li>Added new functions:</li>
|
|
<ul>
|
|
<li>setrawcookie(). (Brian)</li>
|
|
<li>pg_version(). (Marcus)</li>
|
|
<li>dbase_get_header_info(). (Zak)</li>
|
|
<li>snmp_read_mib(). (Jani)</li>
|
|
<li>http_build_query(). (Sara)</li>
|
|
<li>ftp_alloc(). (Sara)</li>
|
|
<li>array_udiff(). (Andrey)</li>
|
|
<li>array_udiff_assoc(). (Andrey)</li>
|
|
<li>array_udiff_uassoc(). (Andrey)</li>
|
|
<li>array_diff_uassoc(). (Andrey)</li>
|
|
<li>convert_uuencode(). (Ilia)</li>
|
|
<li>convert_uudecode(). (Ilia)</li>
|
|
<li>substr_compare(). (Ilia)</li>
|
|
<li>pcntl_wait(). (GeorgeS)</li>
|
|
</ul>
|
|
<li>Added "resume_pos" context option to "ftp://" wrapper. (Sara)</li>
|
|
<li>Added optional parameter to OCIWriteTemporaryLob() to specify
|
|
the type of LOB (Patch by Novicky Marek <novicky@aarongroup.cz>).
|
|
(Thies)</li>
|
|
<li>Added reflection API. (Andrei, George, Timm)</li>
|
|
<li>Changed length parameter in fgetcsv() to be optional. (Moriyoshi)</li>
|
|
<li>Fixed IPv6 support in MacOSX Panther. (Dan, Marko)</li>
|
|
<li>Fixed fgetcsv() to correctly handle international (non-ascii)
|
|
characters. (Moriyoshi)</li>
|
|
<li>Fixed support for <![CDATA[]]> fields within XML documents
|
|
in ext/xml. (Sterling)</li>
|
|
<li>Fixed visibility of __construct and __clone. (Marcus)</li>
|
|
<li>Fixed bug #26003 (fgetcsv() not binary-safe on null bytes).
|
|
(Moriyoshi)</li>
|
|
<li>Fixed bug #25756 (SimpleXML's validate_schema_file() broken).
|
|
(Moriyoshi)</li>
|
|
<li>Fixed bug #25581 (getimagesize() returns incorrect values on
|
|
bitmap (os2) files). (Marcus)</li>
|
|
<li>Fixed bug #25494 (array_merge*() allows non-arrays as argument).
|
|
(Jay)</li>
|
|
<li>Fixed bug #24766 (strange result array from unpack()). (Moriyoshi)</li>
|
|
<li>Fixed bug #24729 ($obj = new $className; causes crash when
|
|
$className is not set). (Marcus)</li>
|
|
<li>Fixed bug #24565 (cannot read array elements received via
|
|
$_REQUEST). (Zeev)</li>
|
|
<li>Fixed bug #24445 (get_parent_class() returns different values).
|
|
(Sterling, Stanislav)</li>
|
|
<li>Fixed bug #24403 (preg_replace() problem: Using $this when not
|
|
in object context). (Zeev)</li>
|
|
<li>Fixed bug #24399 (PEAR DB isError crash [instanceof_function
|
|
fault?]). (Sterling, Marcus)</li>
|
|
<li>Fixed bug #24396 (foreach ($k=>$v), the key $k is missing). (Zeev)</li>
|
|
<li>Fixed bug #24279 (__get() crash when no value is returned). (Ilia)</li>
|
|
<li>Fixed bug #22367 (undefined variable has a value). (Zeev)</li>
|
|
<li>Fixed bug #19859 (allow fast_call_user_function to support __call).
|
|
(Stanislav)</li>
|
|
<li>Fixed bug #17997 (Warning when switch() and reference are combined).
|
|
(Zeev)</li>
|
|
<li>Fixed bug #17988 (strtotime failed to parse postgresql timestamp).
|
|
(Derick)</li>
|
|
</ul>
|
|
|
|
<hr />
|
|
|
|
<a name="5.0.0b1"></a>
|
|
<h3>Version 5.0.0 Beta 1</h3>
|
|
<b>29-Jun-2003</b>
|
|
<ul>
|
|
<li>Switch to using Zend Engine 2, which includes numerous engine level improvements.
|
|
A full list is available at <a href="http://www.php.net/zend-engine-2.php">http://www.php.net/zend-engine-2.php</a>.
|
|
</li>
|
|
<li>The SQLite (<a href="http://www.hwaci.com/sw/sqlite/">http://www.hwaci.com/sw/sqlite/</a>) extension is now bundled and
|
|
enabled by default. (Wez, Marcus, Tal)</li>
|
|
<li>Improved the speed of internal functions that use callbacks by 40% due to a
|
|
new internal fast_call_user_function() function. (Sterling)</li>
|
|
<li>Completely Overhauled XML support (Rob, Sterling, Chregu, Marcus)
|
|
<ul>
|
|
<li>Brand new Simplexml extension</li>
|
|
<li>New DOM extension</li>
|
|
<li>New XSL extension</li>
|
|
<li>Moved the old DOM-XML and XSLT extensions to PECL</li>
|
|
<li>ext/xml can now use both libxml2 and expat to parse XML</li>
|
|
<li>Removed bundled expat</li>
|
|
</ul>
|
|
</li>
|
|
<li>Removed the bundled MySQL client library. (Sterling)</li>
|
|
<li>New php.ini options:
|
|
<ul>
|
|
<li>"session.hash_function" and "session.hash_bits_per_character". (Sascha)</li>
|
|
<li>"mail.force_extra_paramaters". (Derick)</li>
|
|
<li>"register_long_arrays". (Zeev)</li>
|
|
</ul>
|
|
</li>
|
|
<li>Improved the streams support: (Wez, Sara, Ilia)
|
|
<ul>
|
|
<li>Improved performance of readfile(), fpassthru() and some internal streams
|
|
operations under Win32.</li>
|
|
<li>stream_socket_client() - similar to fsockopen(), but more powerful.</li>
|
|
<li>stream_socket_server() - Creates a server socket.</li>
|
|
<li>stream_socket_accept() - Accept a client connection.</li>
|
|
<li>stream_socket_get_name() - Get local or remote name of socket.</li>
|
|
<li>stream_copy_to_stream()</li>
|
|
<li>stream_get_line() - Reads either the specified number of bytes or until
|
|
the ending string is found.</li>
|
|
<li>Added context property to userspace streams object.</li>
|
|
<li>Added generic crypto interface for streams (supports dynamic loading of
|
|
OpenSSL)</li>
|
|
<li>Added lightweight streaming input abstraction to the Zend Engine scanners
|
|
to provide uniform support for include()'ing data from PHP streams across
|
|
all platforms.</li>
|
|
<li>Added 'string.base64' stream filter.</li>
|
|
<li>Renamed stream_register_wrapper() to stream_wrapper_register().</li>
|
|
<li>Added "ftp://" wrapper support to opendir(), stat() and unlink().</li>
|
|
<li>Added context options 'method', 'header' and 'content' for "http://" fopen
|
|
wrapper.</li>
|
|
</ul>
|
|
</li>
|
|
<li>Improved the GD extension: (Pierre-Alain Joye, Ilia)
|
|
<ul>
|
|
<li>imagefilter() - Apply different filters to image. (Only available
|
|
with bundled GD library)</li>
|
|
<li>Antialiased drawing support:
|
|
<ul>
|
|
<li>imageantialias() - (de)active antialias</li>
|
|
<li>imageline() and imagepolygon() antialias support</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
<li>Changed the length parameter in fgetss() to be optional. (Moriyoshi)</li>
|
|
<li>Changed ini parser to allow for handling of quoted multi-line values. (Ilia)</li>
|
|
<li>Changed get_extension_funcs() to return list of the built-in Zend Engine
|
|
functions if "zend" is specified as the module name. (Ilia)</li>
|
|
<li>Changed array_search() to accept also objects as a needle. (Moriyoshi)</li>
|
|
<li>Changed ext/mcrypt to require libmcrypt version 2.5.6 or greater. (Derick)</li>
|
|
<li>Changed uniqid() parameters to be optional and allow any prefix length. (Marcus)</li>
|
|
<li>Added new iconv functions. (Moriyoshi)
|
|
<ul>
|
|
<li>iconv_strlen()</li>
|
|
<li>iconv_substr()</li>
|
|
<li>iconv_strpos()</li>
|
|
<li>iconv_strrpos()</li>
|
|
<li>iconv_mime_decode()</li>
|
|
<li>iconv_mime_encode()</li>
|
|
</ul>
|
|
</li>
|
|
<li>Added misc. new functions:
|
|
<ul>
|
|
<li>ldap_sasl_bind(). (peter_c60@hotmail.com, Jani)</li>
|
|
<li>imap_getacl(). (Dan, Holger Burbach)</li>
|
|
<li>file_put_contents(). (Sterling)</li>
|
|
<li>proc_nice() - Changes priority of the current process. (Ilia)</li>
|
|
<li>pcntl_getpriority() and pcntl_setpriority(). (Ilia)</li>
|
|
<li>idate(), date_sunrise() and date_sunset(). (Moshe Doron)</li>
|
|
<li>strpbrk() - Searches a string for a list of characters. (Ilia)</li>
|
|
<li>get_headers() - Returns headers sent by the server of the specified URL. (Ilia)</li>
|
|
<li>str_split() - Breaks down a string into an array of elements based on length. (Ilia)</li>
|
|
<li>array_walk_recursive(). (Ilia)</li>
|
|
<li>array_combine(). (Andrey)</li>
|
|
</ul>
|
|
</li>
|
|
<li>Added optional parameter to get_browser() to make it return an array. (Jay)</li>
|
|
<li>Added optional parameter to openssl_sign() to specify the hashing algorithm.(scott@planetscott.ca, Derick)</li>
|
|
<li>Added optional parameter to sha1(), sha1_file(), md5() and md5_file() which
|
|
makes them return the digest as binary data. (Michael Bretterklieber, Derick)</li>
|
|
<li>Added optional parameter to mkdir() to make directory creation recursive. (Ilia)</li>
|
|
<li>Added optional parameter to file() which makes the result array not contain
|
|
the line endings and to skip empty lines. (Ilia)</li>
|
|
<li>Added new range() functionality:
|
|
<ul>
|
|
<li>Support for float modifier. (Ilia)</li>
|
|
<li>Detection of numeric values inside strings passed as high & low. (Ilia)</li>
|
|
<li>Proper handle the situations where high == low. (Ilia)</li>
|
|
<li>Added an optional step parameter. (Jon)</li>
|
|
</ul>
|
|
</li>
|
|
<li>Added encoding detection feature for expat XML parser. (Adam Dickmeiss, Moriyoshi)</li>
|
|
<li>Added missing multibyte (unicode) support and numeric entity support to
|
|
html_entity_decode(). (Moriyoshi)</li>
|
|
<li>Added IPv6 support to ext/sockets. (Sara)</li>
|
|
<li>Added input filter support. See README.input_filter for more info. (Rasmus)</li>
|
|
<li>Added a replace count for str_[i]replace(), see bug #8218. (Sara)</li>
|
|
<li>Fixed is_executable() to be available also on Windows. (Shane)</li>
|
|
<li>Fixed dirname() and strip_tags() to be binary-safe. (Moriyoshi)</li>
|
|
<li>Fixed bug #24098 (crash in pathinfo()). (Ilia)</li>
|
|
<li>Fixed bug #21985 and #22064 (various mb_send_mail() issues). (Moriyoshi)</li>
|
|
<li>Fixed bug #21600 (Assign by reference function call changes variable
|
|
contents). (Zeev)</li>
|
|
</ul>
|
|
|
|
<?php site_footer(); ?>
|