php-src/NEWS

245 lines
12 KiB
Plaintext
Raw Normal View History

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