Fixed bug #27929 (SPL: change visibility of ArrayIterator::__construct). (Marcus)
Fixed bug #27640 (memory leak of registered_zend_ini_directives). (Dmitry)
Fixed bug #27063 (SPL: ArrayObject does not handle PPP correctly). (Marcus) 25 Apr 2004, PHP 5 Release Candidate 2
Implementing an interface/abstract method with the wrong prototype is now a fatal error. (Zeev)
Reimplemented zend.ze1_compatibility_mode to have better PHP 4 compliance. (Dmitry, Andi)
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)
Moved yaz extension to PECL. (Wez)
Added pty support to proc_open(). (Wez)
Added possibility to check in which extension an internal class was defined in using reflection API. (Marcus)
Changed tidy error handling to no longer use exceptions and renamed the "error_buf" property to errorBuffer. (John)
Changed class and method names to use studlyCaps convention. (Marcus)
Changed language parser to throw errors when a non-empty signature is used in a destructor definition. (Marcus)
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)
Changed __construct() to always take precedence over old style constructor. (Dmitry)
Fixed handling of return values from storred procedures in mssql_execute() with multiple result sets returned. (Frank)
Fixed bug #28096 (stream_socket_accept() doesn't work with ssl). (Wez)
Fixed bug #28007 (compile mssql extension with old versions of FreeTDS fails). (Frank)
Fixed bug #27997 (SPL: Crash with getInnerIterator()). (Marcus)
Fixed bug #27457 (handling of numeric indexes in strtr()). (Dmitry)
Fixed bug #27397 (debug_backtrace() not showing function arguments). (Zeev)
Fixed bug #27283 (The last catch statement was sometimes skipped). (Andi)
Fixed bug #26441 (When __set() returned a value it corrupted it). (Andi)
Fixed bug #19749 (shouldn't mmap() files larger than memory_limit). (Wez) 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)
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. (Dmitry)
Fixed php-cgi to not ignore command-line switches when run in a web context. 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)
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)
Improved out of memory handling in new memory manager. (Stas)
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)
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)
Added support for more ISO8601 datetime formats in strtotime(). (Moriyoshi)
Renamed php.ini option "zend2.implicit_clone" to "zend.ze1_compatibility_mode" as it doesn't only affect implicit cloning. (Andi, Zeev)
Methods that override parent methods are now subject to prototype checking, 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)
Fixed crash with foreach() and temporary objects($obj->method()->a ...) where method returns a non-referenced object. (Andi, Zeev)
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)
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)
Fixed bug #27537 (Objects pointing to each other segfaults). (Dmitry)
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 #25724 (argv and argc not defined). (Zeev) 12 Feb 2004, PHP 5 Beta 4
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)
Added SPL extension. (Marcus, Derick)
Added checks for invalid characters in a cookie name and cookie data into set[raw]cookie(). (Brian)
Added support for ++ and += (and similar) to SimpleXML. (Andi, Zeev)
Added infrastructure for ++ and += (and similar) to object overloading modules. (Andi, Zeev)
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)
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)
Upgraded bundled SQLite library to version 2.8.11. (Ilia, Wez)
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)
Fixed interfaces to check for function return-by-reference equality when inheriting and implementing interfaces. (Andi, Zeev)
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)
Fixed problems with longlong values in mysqli. (Georg)
Fixed class name case preserving of user defined classes. (Marcus)
Fixed bug #27145 (Unmangle private/protected property names before printing them inside error messages). (Ilia)
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)
"register_long_arrays". (Zeev)
Improved the speed of internal functions that use callbacks by 40% due to a new internal fast_call_user_function() function. (Sterling)
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)
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)
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
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 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 new iconv functions. (Moriyoshi)
iconv_strlen()
iconv_substr()
iconv_strpos()
iconv_strrpos()
iconv_mime_decode()
iconv_mime_encode()
Added misc. new functions:
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)
array_combine(). (Andrey)
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 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)
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)
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)
If you don't want to use our tool or have already tried what follows is a list of three simple tests you can perform to determine your PHP version.We have listed them in order of complexity, starting with the easiest.