PHP

5.0.0RC2

Released on 25 Apr 2004
Project description.
PHP is a popular general-purpose scripting language that is especially suited to web development
PHP 5.0.0RC2 Changelog
  • 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 #27974 (COM doesn't pass array parameters). (Wez)
  • 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)
  • Fixed bug #27821 (xml_parse() segfaults when xml_set_object() is called from class method). (Andi, Rob)
  • 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)
  • Fixed bug #27519 (Reflection_Function constructor crashes with non-existant function's name). (Marcus)
  • Fixed bug #27469 (serialize() objects of incomplete class). (Dmitry)
  • 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)