php-src/NEWS

605 lines
32 KiB
Plaintext
Raw Normal View History

2003-03-25 03:04:44 +08:00
PHP NEWS
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
2004-07-16 15:17:51 +08:00
?? ??? 2004, PHP 5.1.0
2004-12-30 08:59:28 +08:00
- Changed stream_filter_(ap|pre)pend() to return resource. (Sara)
- Removed garbage manager in Zend Engine which results in more aggressive
freeing of data. (Dmitry, Andi)
2005-01-08 20:16:31 +08:00
- Improved support for embedded server in mysqli. (Georg)
2004-10-06 02:40:06 +08:00
- Improved performance of:
. general execution/compilation. (Andi, Thies, Sterling, Dmitry, Marcus)
2004-12-30 08:59:28 +08:00
. switch() statement. (Dmitry)
2004-10-06 02:40:06 +08:00
. several array functions. (Marcus)
2004-10-06 02:58:26 +08:00
. virtual path handling by adding a realpath() cache. (Andi)
. variable fetches. (Andi)
. magic method invocations. (Marcus)
2005-01-08 20:16:31 +08:00
- Added new classes in mysqli: mysqli_driver, mysqli_warning, mysqli_exception,
and mysqli_sql_exception. (Georg)
2004-12-30 08:59:28 +08:00
- Added possibility to access INI variables from within .ini file. (Andrei)
- Added constructors for mysqli_stmt and mysqli_result classes. (Georg)
- Added variable $_SERVER['REQUEST_TIME'] containing request start time. (Ilia)
- Added optional float parameter to gettimeofday(). (Ilia)
2004-12-07 16:46:14 +08:00
- Added apache_reset_timeout() Apache1 function. (Rasmus)
- Added sqlite_fetch_column_types() 3rd argument for arrays. (Ilia)
2004-12-30 08:59:28 +08:00
- Added optional offset parameter to stream_get_contents() and
2004-12-07 16:46:14 +08:00
file_get_contents(). (Ilia)
- Added SAPI hook to get the current request time. (Rasmus)
2004-08-09 23:56:51 +08:00
- Added new functions:
. array_diff_key() (Andrey)
. array_diff_ukey() (Andrey)
. array_intersect_key() (Christiano Duarte)
. array_intersect_ukey() (Christiano Duarte)
2004-08-09 23:56:51 +08:00
. stream_context_get_default() (Wez)
. stream_socket_enable_crypto() (Wez)
. stream_wrapper_unregister() (Sara)
. stream_wrapper_restore() (Sara)
. stream_filter_remove() (Sara)
2004-10-07 05:31:00 +08:00
. DomDocumentFragment::appendXML() (Christian)
. SimpleXMLElement::registerXPathNamespace() (Christian)
. mysqli::client_info property (Georg)
. inet_pton() (Sara)
. inet_ntop() (Sara)
2004-09-28 06:13:36 +08:00
. fputcsv() (David Sklar)
. posix_access() (Magnus)
2004-10-07 05:31:00 +08:00
- Added DomDocument::$recover property for parsing not well-formed
XML Documents. (Christian)
- Added Cursor support for MySQL 5.0.x in mysqli (Georg)
- Added proxy support to ftp wrapper via http. (Sara)
2004-07-21 12:38:47 +08:00
- Added MDTM support to ftp_url_stat. (Sara)
2004-08-09 23:56:51 +08:00
- Added zlib stream filter support. (Sara)
2004-07-20 13:26:33 +08:00
- Added bz2 stream filter support. (Sara)
- Added HTTP/1.1 and chunked encoding support to http:// wrapper. (Sara)
2004-12-07 16:46:14 +08:00
- Added support of parameter=>value arrays to
xsl_xsltprocessor_set_parameter(). (Tony)
2004-12-30 08:59:28 +08:00
- Fixed extension initialization to respect dependancies between extensions.
(Wez)
2004-11-27 18:16:13 +08:00
- Fixed a problem with SPL iterators aggregating the innner iterator. (Marcus)
2004-08-23 17:01:08 +08:00
- Fixed bug with raw_post_data not getting set. (Brian)
2004-10-07 05:31:00 +08:00
- Fixed bug in mysql::client_version(). (Georg)
2004-07-16 15:16:53 +08:00
- Fixed ZTS destruction. (Marcus)
2005-01-12 05:10:47 +08:00
- Fixed bug #31478 (segfault with empty() / isset()). (Moriyoshi)
2004-08-19 15:45:24 +08:00
- Fixed bug #29728 (Reflection API Feature: Default parameter value). (Marcus)
- Fixed bug #29522 (accessing properties without connection). (Georg)
- Fixed bug #29335 (fetch functions now use MYSQLI_BOTH as default). (Georg)
- Fixed bug #29311 (calling parent constructor in mysqli). (Georg)
2004-12-07 16:46:14 +08:00
- Fixed bug #29256 (SOAP HTTP Error when envelop size is more than 24345
bytes). (Dmitry, Wez)
2004-08-19 15:45:24 +08:00
- Fixed bug #29236 (memory error when wsdl-cache is enabled). (Dmitry)
- Fixed bug #29109 (SoapFault exception: [WSDL] Out of memory). (Dmitry)
- Fixed bug #29061 (soap extension segfaults). (Dmitry)
- Fixed bug #28985 (__getTypes() returning nothing on complex WSDL). (Dmitry)
- Fixed bug #28969 (Wrong data encoding of special characters). (Dmitry)
2004-07-14 03:56:49 +08:00
2004-07-14 03:05:31 +08:00
13 Jul 2004, PHP 5.0.0
2004-08-10 13:42:21 +08:00
- Rewritten UNIX and Windows install help files. (Documentation Team)
- Updated PCRE to provide better error handling in certain cases. (Andrei)
2004-06-10 21:39:30 +08:00
- Changed doc comments to require a single white space after '/**'. (Marcus)
2004-07-06 03:36:10 +08:00
- Fixed bug #29019 (Database not closing). (Marcus)
- Fixed bug #29008 (array_combine() does not handle non-numeric/string keys).
(Ilia)
- Fixed bug #28999 (fixed behaviour of exec() to work as it did in 4.X). (Ilia)
2004-06-27 06:08:19 +08:00
- Fixed bug #28895 (ReflectionClass::isAbstract always returns false). (Marcus)
2004-06-22 05:09:13 +08:00
- Fixed bug #28868 (Internal filter registry not thread safe). (Sara)
2004-06-20 17:39:09 +08:00
- Fixed bug #28851 (call_user_func_array has typo in error message). (Marcus)
2004-06-21 00:49:49 +08:00
- Fixed bug #28831 (ArrayObject::offsetGet() does the work of offsetUnset()).
(Marcus)
- Fixed bug #28822 (ArrayObject::offsetExists() works inverted). (Marcus)
2004-06-16 04:40:58 +08:00
- Fixed bug #28789 (ReflectionProperty getValue() fails on public static
members). (Marcus)
2004-06-15 19:51:09 +08:00
- Fixed bug #28771 (Segfault when using xslt and clone). (Rob)
2004-07-12 05:41:33 +08:00
- Fixed bug #28751 (SoapServer does not call _autoload()). (Dmitry)
- Fixed bug #28739 (array_*diff() and array_*intersect() not clearing the fci
cache before work). (Andrey)
2004-06-13 18:13:12 +08:00
- Fixed bug #28721 (appendChild() and insertBefore() unset DOMText).(Rob)
- Fixed bug #28702 (SOAP does not parse WSDL service address correctly). (Dmitry)
2004-06-10 19:29:15 +08:00
- Fixed bug #28699 (Reflection api bugs). (Marcus)
2004-06-10 03:26:55 +08:00
- Fixed bug #28694 (ReflectionExtension::getFunctions() crashes PHP). (Marcus)
2004-07-01 03:51:28 +08:00
- Fixed bug #28512 (Allocate enough space to store MSSQL data). (Frank)
2004-07-04 00:14:46 +08:00
- Fixed bug #28325 (Circular references not properly serialised). (Moriyoshi)
2004-06-26 15:46:08 +08:00
- Fixed strip_tags() to correctly handle '\0' characters. (Stefan)
2004-06-26 13:41:14 +08:00
2004-06-07 22:23:45 +08:00
7 Jun 2004, PHP 5 Release Candidate 3
2004-05-25 00:41:41 +08:00
- Moved the PDFLib extension to PECL. (Wez)
2004-06-07 15:05:33 +08:00
- Added MySQL 4.1.2-alpha and 4.1.3-beta support to MySQLI extension. (Georg)
2004-05-23 23:26:55 +08:00
- Added support for dumping private/protected properties to var_dump().
(Andrey)
2004-05-09 22:22:02 +08:00
- Added count() support for COM arrays. (Wez)
2004-06-07 15:05:33 +08:00
- Added Firebird/InterBase UDF source that allows PHP functions to be called
from SQL (Ard)
2004-06-09 04:25:49 +08:00
- Removed Firebird/Interbase function ibase_timefmt() (Ard)
2004-06-01 19:54:00 +08:00
- Changed user error handler mechanism to relay to built-in error handler if it
returns false. (Andrei)
2004-05-27 20:28:41 +08:00
- Changed class type hints for function parameters to not allow the passing of
NULL values. (Andi)
2004-05-09 22:22:02 +08:00
- Changed tidy_node to tidyNode and removed tidy_exception. (John)
- Fixed ip2long() to return FALSE if an IP address passed to this function
is not valid. (Derick)
2004-05-27 20:28:41 +08:00
- Fixed memory leak in memory manager. (Andi)
- Fixed problem with exceptions returning from include(). (Dmitry)
2004-06-05 22:59:32 +08:00
- Fixed bug #28641 (Instance of Interface). (Marcus)
2004-06-06 02:43:31 +08:00
- Fixed bug #28430 (Extending mysqli class). (Georg)
2004-05-10 02:26:40 +08:00
- Fixed bug #28311 (Transparency detection code is off by 1).
(Ilia, pikeman at pikeman dot sytes dot net)
- Fixed bug #28304 (Missing bounds check inside imagefilter()). (Ilia)
- Fixed bug #28300 (Userspace stream/filter names forced to lowercase). (Sara)
- Fixed bug #28287 (stream_*_register() not calling __autoload()). (Sara)
2004-05-10 02:26:40 +08:00
- Fixed bug #28267 (php_image_filter_contrast calls gdImageBrightness). (Ilia)
2004-05-21 23:09:34 +08:00
- Fixed bug #28239 (No results returned on SOAP call, no error given). (Dmitry)
2004-06-06 02:43:31 +08:00
- Fixed bug #28205 (num_rows property for statement object). (Georg)
2004-04-29 18:19:16 +08:00
- Fixed bug #28161 (COM: Array style properties could not be accessed). (Wez)
2004-04-25 19:19:57 +08:00
- Fixed bug #28125 (ArrayObject leaks when accessing elements). (Marcus)
2004-06-06 02:43:31 +08:00
- Fixed bug #28100 (NULL parameter support for mysqli_ssl_set). (Georg)
2004-04-25 19:19:57 +08:00
- Fixed bug #28099 (ArrayObject doesn't implement ArrayAccess). (Marcus)
- Fixed bug #27929 (SPL: change visibility of ArrayIterator::__construct).
(Marcus)
2004-05-24 00:24:21 +08:00
- Fixed bug #27640 (memory leak of registered_zend_ini_directives). (Dmitry)
2004-04-25 19:19:57 +08:00
- Fixed bug #27063 (SPL: ArrayObject does not handle PPP correctly). (Marcus)
2004-04-25 18:13:08 +08:00
2004-04-25 16:32:50 +08:00
25 Apr 2004, PHP 5 Release Candidate 2
2004-04-25 17:15:57 +08:00
- Implementing an interface/abstract method with the wrong prototype is now
a fatal error. (Zeev)
2004-04-06 17:53:31 +08:00
- Reimplemented zend.ze1_compatibility_mode to have better PHP 4 compliance.
2004-03-26 02:04:08 +08:00
(Dmitry, Andi)
2004-04-25 08:41:34 +08:00
- Under CLI, fclose() on php://stdin, php://stdout and php://stderr will now
close the real stream. Please update your CLI scripts to use STDIN, STDOUT
and STDERR constants instead of fopen()/fclose(). (Wez)
2004-04-21 16:57:16 +08:00
- Moved yaz extension to PECL. (Wez)
2004-04-19 23:15:49 +08:00
- Added pty support to proc_open(). (Wez)
2004-04-15 10:37:42 +08:00
- Added possibility to check in which extension an internal class was defined
in using reflection API. (Marcus)
2004-04-21 02:29:16 +08:00
- Changed tidy error handling to no longer use exceptions and
renamed the "error_buf" property to errorBuffer. (John)
2004-04-15 20:25:57 +08:00
- Changed class and method names to use studlyCaps convention. (Marcus)
2004-04-09 00:19:58 +08:00
- Changed language parser to throw errors when a non-empty signature is used in
a destructor definition. (Marcus)
2004-04-06 17:53:31 +08:00
- Changed HTTP file uploads not to throw E_WARNINGs and E_NOTICEs. The error
value in the $_FILES global should be used for error handling. (Derick)
2004-03-26 02:04:08 +08:00
- Changed __construct() to always take precedence over old style constructor.
(Dmitry)
2004-04-21 15:23:40 +08:00
- Fixed handling of return values from storred procedures in mssql_execute()
with multiple result sets returned. (Frank)
2004-04-22 07:02:56 +08:00
- Fixed bug #28096 (stream_socket_accept() doesn't work with ssl). (Wez)
2004-04-21 15:23:40 +08:00
- Fixed bug #28007 (compile mssql extension with old versions of FreeTDS
fails). (Frank)
2004-04-15 07:41:22 +08:00
- Fixed bug #27997 (SPL: Crash with getInnerIterator()). (Marcus)
2004-04-23 21:28:05 +08:00
- Fixed bug #27974 (COM doesn't pass array parameters). (Wez)
2004-04-24 05:51:39 +08:00
- Fixed bug #27928 (sqlite incorrectly handles invalid filenames). (Ilia)
- Fixed bug $27923 (in some cases using foreach() to iterate over values
led to a false error message about the key being a reference). (Adam)
- Fixed bug #27865 (STDIN, STDOUT, STDERR are dup()d under CLI). (Wez)
2004-04-08 15:56:50 +08:00
- Fixed bug #27821 (xml_parse() segfaults when xml_set_object() is called from
class method). (Andi, Rob)
2004-04-06 17:53:31 +08:00
- Fixed bug #27742 (WDSL SOAP Parsing Schema bug). (Dmitry)
- Fixed bug #27722 (Segfault on schema without targetNamespace). (Dmitry)
- Fixed bug #27719 (mktime issues on and around DST changeover). (Rasmus)
- Fixed bug #27681 (soap extension fails without HAVE_TM_GMTOFF). (Dmitry)
- Fixed bug #27641 (Object cloning in ze1_compatibility_mode was reimplemented)
(Dmitry, Andi)
- Fixed bug #27628 (Simplify the process of making a POST request via stream
context). (Ilia)
- Fixed bug #27619 (filters not applied to pre-buffered stream data). (Sara)
2004-04-09 04:38:17 +08:00
- Fixed bug #27519 (Reflection_Function constructor crashes with non-existant
function's name). (Marcus)
2004-03-19 01:01:46 +08:00
- Fixed bug #27469 (serialize() objects of incomplete class). (Dmitry)
- Fixed bug #27457 (handling of numeric indexes in strtr()). (Dmitry)
2004-04-14 01:28:23 +08:00
- Fixed bug #27397 (debug_backtrace() not showing function arguments). (Zeev)
2004-04-20 22:15:57 +08:00
- Fixed bug #27283 (The last catch statement was sometimes skipped). (Andi)
2004-04-09 22:43:20 +08:00
- Fixed bug #26441 (When __set() returned a value it corrupted it). (Andi)
- Fixed bug #19749 (shouldn't mmap() files larger than memory_limit). (Wez)
2004-03-19 02:25:22 +08:00
2004-03-18 22:12:27 +08:00
18 March 2004, PHP 5 Release Candidate 1
- Fixed numerous bugs with the just-in-time auto-global initialization, that
could cause $_SERVER, $argv/$argc and other variables not to work properly.
(Zeev)
- Fixed data corruption with constant assignments to object properties. (Zeev)
- Changed __toString() to be called automatically only with print and echo
statements. (Andi)
- Replaced the exec_finished hook by the zend_post_deactive hook for
extensions. The new hook will be run after the symbol table and destructors
are run. (Derick)
2004-03-17 00:44:51 +08:00
- Fixed possible crash when internal get_method() is not defined. (Andi)
- Fixed calling methods using call_user_func() in conjunction with
the array("Class","Method") syntax to use the scope of the PHP user function.
2004-03-16 22:52:22 +08:00
(Dmitry)
2004-03-16 02:22:01 +08:00
- Fixed php-cgi to not ignore command-line switches when run in a web context.
2004-03-17 00:44:51 +08:00
This fixes our test cases allowing INI with GET sections to work. (Rasmus)
- Fixed getopt() so it works without $_SERVER. (Rasmus, bfrance)
- Added support for PHP 4 style object comparisons which is enabled in
ze1_compatiblity_mode. (Andi)
- Added support for PHP 4 style object conversion to long, double, and boolean
values which is enabled in ze1_compatibility_mode. (Andi, Stas)
2004-03-15 13:53:51 +08:00
- Allow object oriented extensions to overload comparison functions and other
operations. Solves problems using SimpleXML values. (Andi, Zeev)
- Fixed crash when accessing a class constant with a value which in turn is
also a constant. (Dmitry)
- Fixed object's truth value conversion. It is always true unless
ze1_compatibility_mode is on in which it behaves like in PHP 4. (Stas)
2004-03-15 07:22:51 +08:00
- Improved out of memory handling in new memory manager. (Stas)
2004-03-15 05:23:48 +08:00
- Fixed crash when an object references itself during destructor call. (Andi)
- Fixed crash in foreach() when iterating over object properties or a method's
return values. (Andi)
- Fixed crash when an exception is thrown in a destructor. Such exceptions are
now ignored as destruction happens out of context at no definite time. (Andi)
- Fixed crashes in exception handling. (Dmitry, Andi)
- Changed prototype checks so that they aren't done on constructors. (Andi)
- Changed prototype checks to output an E_STRICT message instead of
an E_COMPILE_ERROR. (Andi)
- Changed Iterator::has_more() to Iterator::valid(). (Marcus)
2004-02-29 04:58:48 +08:00
- Upgraded bundled oniguruma library to version 2.2.2. (Rui, Moriyoshi)
- Added mb_list_encoding() to return an array with all mbstring supported
encodings. (Derick)
2004-03-11 23:08:46 +08:00
- Added support for more ISO8601 datetime formats in strtotime(). (Moriyoshi)
2004-03-01 18:46:14 +08:00
. Timezone specifier (ex. "20040301T02:00:00+19:00")
. Week specifier (ex. "1997W021")
2004-02-26 03:42:56 +08:00
- Renamed php.ini option "zend2.implicit_clone" to
2004-02-26 04:23:15 +08:00
"zend.ze1_compatibility_mode" as it doesn't only affect implicit cloning.
2004-02-26 03:42:56 +08:00
(Andi, Zeev)
2004-02-25 20:45:07 +08:00
- Methods that override parent methods are now subject to prototype checking,
2004-02-26 03:42:56 +08:00
and have to be compatible with the method they're overriding - this check is
disabled in compatibility mode. (Andi, Zeev)
- Fixed crash in php_ini_scanned_files() when no additional INI files were
actually parsed. (Jon)
- Fixed bug in gdImageFilledRectangle in the bundled GD library, that required
x1 < x2 and y1 < y2 for coordinates. (Derick)
2004-02-26 03:42:56 +08:00
- Fixed crash with foreach() and temporary objects($obj->method()->a ...) where
method returns a non-referenced object. (Andi, Zeev)
2004-02-16 01:00:42 +08:00
- Fixed problem preventing startup errors from being displayed. (Marcus)
- Fixed start-up problem if both SPL and SimpleXML were enabled. The double
initialization of apache 1.3 was causing problems here. (Marcus, Derick)
2004-03-17 05:47:27 +08:00
- Fixed bug #27606 (Expression must be a modifiable lvalue compiler error).
(Derick)
- Fixed bug #27597 (pg_fetch_array not returning false). (Marcus)
- Fixed bug #27586 (ArrayObject::getIterator crashes with [] assignment).
(Marcus)
2004-03-11 23:08:46 +08:00
- Fixed bug #27537 (Objects pointing to each other segfaults). (Dmitry)
2004-03-15 05:27:21 +08:00
- Fixed bug #27535 (Problem with object freeing mechanism). (Dmitry)
- Fixed bug #27504 (Visibility bugs in call_user_function()). (Dmitry)
- Fixed bug #27338 (memory leak inside tsrm_virtual_cwd.c on win32). (Ilia)
- Fixed bug #27291 (get_browser matches browscap.ini patterns incorrectly).
(Jay)
2004-02-29 13:22:57 +08:00
- Fixed bug #27287 (wddx segfaults during deserialization). (Moriyoshi)
2004-03-01 03:07:56 +08:00
- Fixed bug #27263 (session extension crashes when unserializing referenced
values / objects). (Moriyoshi)
2004-02-15 00:25:20 +08:00
- Fixed bug #27237 (Working with simplexml crashes apache2). (Rob)
2004-02-16 08:34:35 +08:00
- Fixed bug #27227 (Mixed case class names causes Fatal Error in Constructor
call). (Marcus)
2004-03-15 07:01:21 +08:00
- Fixed bug #27125 (strval() doesn't work for objects with __toString()).
(Marcus)
2004-03-15 05:27:21 +08:00
- Fixed bug #27123 (Fix crash caused by bug in get_object_vars()). (Andi)
2004-02-29 05:08:29 +08:00
- Fixed bug #26677 (mbstring compile errors with IRIX compiler).
(K.Kosako <kosako at sofnec dot co dot jp>, Rui, Moriyoshi)
2004-03-18 22:14:26 +08:00
- Fixed bug #26206 (register_long_arrays breaks superglobals). (Zeev)
- Fixed bug #25724 (argv and argc not defined). (Zeev)
2004-02-13 00:26:59 +08:00
2004-02-12 16:46:02 +08:00
12 Feb 2004, PHP 5 Beta 4
2004-02-12 20:37:13 +08:00
- Changed exceptions so that they must now inherit from the built-in Exception
class. This allows for a general catch(Exception $e) statement to catch all
exceptions. (Andi, Zeev)
2004-02-12 22:34:25 +08:00
- Added SPL extension. (Marcus, Derick)
2004-02-12 05:17:35 +08:00
- Added checks for invalid characters in a cookie name and cookie data
into set[raw]cookie(). (Brian)
2004-02-10 17:37:11 +08:00
- Added support for ++ and += (and similar) to SimpleXML. (Andi, Zeev)
- Added infrastructure for ++ and += (and similar) to object overloading
modules. (Andi, Zeev)
2004-02-12 22:34:25 +08:00
- Added error message when trying to re-assign to $this variable. (Zeev, Andi)
- Added support for an interface to extend another interface. (Zeev)
- Added new pspell functions: (Brian)
. pspell_config_dict_dir()
. pspell_config_data_dir()
- Added new Interbase functions: (Ard)
. ibase_service_attach() and ibase_service_detach().
. ibase_backup() and ibase_restore().
. ibase_maintain_db(), ibase_db_info() and ibase_server_info().
- Added context option "http"/"request_fulluri" to send entire URI in request
which is required format for some proxies. (Sara)
- Added optional third parameter 'strict' to array_keys(). (Andrey)
- Added stream_lock() method to userspace streams interface. (Hartmut, Wez)
- Added xsltprocessor->registerPHPFunctions(). (Christian)
2004-02-05 05:29:28 +08:00
- Readded support for using classes before they are declared according to
the behavior in PHP 4. This won't work with classes who are using PHP 5
features such as interfaces. (Zeev, Andi)
2004-02-12 22:34:25 +08:00
- Completely overhauled SimpleXML extension. (Marcus, Rob, Sterling)
- Upgraded bundled SQLite library to version 2.8.11. (Ilia, Wez)
2004-02-05 05:29:28 +08:00
- Improved destructor implementation to always call destructors on clean
shutdown. An order of destruction is not guaranteed. (Zeev, Andi)
- Redesigned exception support. This fixes many bugs in the previous design
such as nested try's and problems with overloaded extensions. (Zeev, Andi)
- Redesigned clone by adding a clone keyword (clone $obj) and copying all
properties before __clone() is called. Also allows calling parent __clone
function by using parent::__clone(). (Zeev, Andi)
2004-02-12 22:34:25 +08:00
- Fixed interfaces to check for function return-by-reference equality when
inheriting and implementing interfaces. (Andi, Zeev)
2004-02-12 05:17:35 +08:00
- Fixed foreach() to respect property visibility. (Marcus)
- Fixed problem with parse error in include() file not stopping PHP's
execution. (Ilia)
- Fixed var_export() to show public, protected and private modifiers properly.
(Derick)
2004-01-02 10:34:53 +08:00
- Fixed problems with longlong values in mysqli. (Georg)
2003-12-31 09:27:35 +08:00
- Fixed class name case preserving of user defined classes. (Marcus)
2004-02-05 10:17:33 +08:00
- Fixed bug #27145 (Unmangle private/protected property names before printing
2004-02-06 05:11:26 +08:00
them inside error messages). (Ilia)
- Fixed bug #27103 (preg_split('//u') incorrectly splits UTF-8 strings into
octets). (Moriyoshi)
- Fixed bug #27042 (SPL: SeekableIterator seek() broken). (Marcus)
2004-01-25 19:54:28 +08:00
- Fixed bug #27008 (Every class method can be called as static). (Marcus)
- Fixed bug #26938 (exec() has problems reading long lines).
(Ilia, runekl[at]opoint[dot]com
2004-01-19 10:43:25 +08:00
- Fixed bug #26947 (ext/dom: Crash when using DomDocument::getElementById()).
(Christian)
2004-02-10 17:37:11 +08:00
- Fixed bug #26911 (crash in sqlite extension when fetching data from empty
queries). (Ilia)
- Fixed bug #26844 (ext/mime_magic: magic file validation broken). (Jani)
- Fixed bug #26819 (http_build_query() crashes on NULL output). (Ilia)
2004-02-10 17:37:11 +08:00
- Fixed bug #26817 (http_build_query() does not handle private & protected
object properties correctly). (Ilia)
2004-01-08 07:53:48 +08:00
- Fixed bug #26815 (foreach of (DOM) childnodes crashes when Xinclude is used).
(Rob)
2004-01-16 19:18:37 +08:00
- Fixed bug #26796 (SQLite causes crashes with other extensions *connect()
calls). (Marcus)
2004-01-02 11:27:43 +08:00
- Fixed bug #26762 (unserialize() produces lowercase classnames). (Marcus)
2003-12-30 00:45:59 +08:00
- Fixed bug #26743 (getElementsByTagName doesn't work properly). (Rob)
2003-12-29 20:39:07 +08:00
- Fixed bug #26736 (__autoload not invoked for parent classes). (Marcus)
2003-12-31 09:27:35 +08:00
- Fixed bug #26723 (domNode::appendChild() changes child node namespace). (Rob)
- Fixed bug #26697 (calling class_exists() on a nonexistent class in __autoload
results in segfault). (Marcus)
2004-01-20 08:26:23 +08:00
- Fixed bug #26696 (string index in a switch() crashes with multiple matches).
(Andi)
2003-12-23 06:33:45 +08:00
- Fixed bug #26695 (Reflection API does not recognize mixed-case class hints).
(Marcus)
- Fixed bug #26690 (make xsltProcessor->transformToUri use streams wrappers).
(Ilia)
2003-12-31 09:27:35 +08:00
- Fixed bug #26680 (Added version check in mysqli_report_index). (Georg)
- Fixed bug #26675 (Segfault on ArrayAccess use). (Marcus)
- Fixed bug #26640 (__autoload() not invoked by Reflection classes). (Jani)
2004-01-05 22:31:48 +08:00
- Fixed bug #26543 (call_user_func() broken for self, parent). (Stanislav)
2004-02-10 17:37:11 +08:00
- Fixed bug #26077 (memory leak when new() result is not assigned and no
2004-01-11 22:06:16 +08:00
constructor is defined). (Stanislav)
2003-12-28 07:01:04 +08:00
- Fixed bug #26065 (Crash when nesting classes). (Marcus)
2004-01-11 22:06:37 +08:00
- Fixed bug #25816 (disallow arrays in class constants). (Stanislav)
2003-12-31 20:21:02 +08:00
- Fixed bug #25329 (sqlite_create_function with method and reference to $this).
2004-02-10 17:37:11 +08:00
(Marcus)
2003-12-31 09:27:35 +08:00
- Fixed bug #25038 (call_user_func() issues a warning if function throws an
exception). (Marcus)
2004-01-05 22:31:48 +08:00
- Fixed bug #24608 (__set not triggered when overloading with array).
(Stanislav)
2004-01-14 02:06:31 +08:00
- Fixed bug #24243 (enabling browscap causes segfault). (Wez)
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)
2004-02-10 17:37:11 +08:00
- Fixed bug #26591 ("__autoload threw an exception" during an uncaught).
2003-12-12 14:34:06 +08:00
(Marcus)
2003-12-08 00:59:32 +08:00
- Fixed bug #26534 (stream_get_meta_data() -> Access Violation). (Wez)
2004-02-10 17:37:11 +08:00
- 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)
2004-02-10 17:37:11 +08:00
- Fixed bug #26001 (serialize crashes when accessing an overloaded object that
2003-11-29 02:17:13 +08:00
has no properties (NULL hashtable)). (Wez)
2004-02-10 17:37:11 +08:00
- Fixed bug #25664 (COM crashes when calling a Delphi implementations of
2003-11-29 02:17:13 +08:00
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()
2004-02-10 17:37:11 +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()
2004-02-10 17:37:11 +08:00
. 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)
2004-02-10 17:37:11 +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)
2004-02-10 17:37:11 +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)
2004-02-10 17:37:11 +08:00
- Fixed bug #24399 (PEAR DB isError crash [instanceof_function fault?]).
2003-07-21 05:57:50 +08:00
(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)
2004-02-10 17:37:11 +08:00
- Fixed bug #19859 (allow fast_call_user_function to support __call).
2003-07-21 05:57:50 +08:00
(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
2004-02-10 17:37:11 +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)
2004-02-10 17:37:11 +08:00
- Improved the speed of internal functions that use callbacks by 40% due to a
2003-06-30 06:48:46 +08:00
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.
2004-02-10 17:37:11 +08:00
. 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()
2004-02-10 17:37:11 +08:00
. 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)
2004-02-10 17:37:11 +08:00
- Changed get_extension_funcs() to return list of the built-in Zend Engine
2003-02-10 07:09:23 +08:00
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)
2004-02-10 17:37:11 +08:00
. 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)
2004-02-10 17:37:11 +08:00
- 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)
2004-02-10 17:37:11 +08:00
- Fixed bug #21600 (Assign by reference function call changes variable
contents). (Zeev)