,

PHP 5.1.0正式釋出,更新幅度頗大

Posted by

–

PHP 5.1.0正式釋出,更新幅度頗大

分享是一種日常的美好~

PHP官方網站公佈了PHP 5.1.0的下載,離上次5.0.5版本的PHP間隔約1個月。PHP組織方面,建議有使用PHP5的網站進行升級,本站也已經更新為PHP 5.1.0,目前的運作都還正常,但有一些小bug,雖然不能用zend的優化程式,但整體運作效率更快了些。

這次PHP 5.1.0在程式的改進和更新的內容非常非常多,光是新的物件模組就很驚人了,因為他們整個「重寫」了PHP5的物件模組。另外,很多變數、參數都做了調整與強化,需要一段時間來熟悉。

主要的更新內容為:

* Added support for class constants and static members for internal classes. (Dmitry, Michael Wallner)
* Added "new_link" parameter to mssql_connect() (Bug ). (Frank)
* Added missing safe_mode checks for image* functions and cURL. (Ilia)
* Added missing safe_mode/open_basedir checks for file uploads. (Ilia)
* Added PDO_MYSQL_ATTR_USE_BUFFERED_QUERY parameter for pdo_mysql. (Ilia)
* Added date_timezone_set() function to set the timezone that the date functions will use. (Derick)
* Added pg_fetch_all_columns() function to fetch all values of a column from a result cursor. (Ilia)
* Added support for LOCK_EX flag for file_put_contents(). (Ilia)
* Added bindto socket context option. (Ilia)
* Added offset parameter to the stream_copy_to_stream() function. (Ilia)
* Added offset & length parameters to substr_count() function. (Ilia)
* Added man pages for "phpize" and "php-config" scripts. (Jakub Vrana)
* Added support for .cc files in extensions. (Brian)
* Added PHP_INT_MAX and PHP_INT_SIZE as predefined constants. (Andrey)
* Added user opcode API that allow overloading of opcode handlers. (Dmitry)
* Added an optional remove old session parameter to session_regenerate_id(). (Ilia)
* Added array type hinting. (Dmitry)
* Added the tidy_get_opt_doc() function to return documentation for configuration options in tidy. (Patch by: nlopess@php.net)
* Added support for .cc files in extensions. (Brian)
* Added imageconvolution() function which can be used to apply a custom 3×3 matrix convolution to an image. (Pierre)
* Added optional first parameter to XsltProcessor::registerPHPFunctions to only allow certain functions to be called from XSLT. (Christian)
* Added the ability to override the autotools executables used by the buildconf script via the PHP_AUTOCONF and PHP_AUTOHEADER environmental variables. (Jon)
* Added several new functions to support the PostgreSQL v3 protocol introduced in PostgreSQL 7.4. (Christopher)
o pg_transaction_status() – in-transaction status of a database connection.
o pg_query_params() – execution of parameterized queries.
o pg_prepare() – prepare named queries.
o pg_execute() – execution of named prepared queries.
o pg_send_query_params() – async equivalent of pg_query_params().
o pg_send_prepare() – async equivalent of pg_prepare().
o pg_send_execute() – async equivalent of pg_execute().
o pg_result_error_field() – highly detailed error information, most importantly the SQLSTATE error code.
o pg_set_error_verbosity() – set verbosity of errors.
* Added optional fifth parameter "count" to preg_replace_callback() and preg_replace() to count the number of replacements made. FR . (Andrey)
* Added optional third parameter "charlist" to str_word_count() which contains characters to be considered as word part. FR . (Andrey, Ilia)
* Added interface Serializable. (Stanislav, Marcus)
* Added pg_field_type_oid() PostgreSQL function. (mauroi at digbang dot com)
* Added zend_declare_property_…() and zend_update_property_…() API functions for bool, double and binary safe strings. (Hartmut)
* Added possibility to access INI variables from within .ini file. (Andrei)
* Added variable $_SERVER[‘REQUEST_TIME’] containing request start time. (Ilia)
* Added optional float parameter to gettimeofday(). (Ilia)
* Added apache_reset_timeout() Apache1 function. (Rasmus)
* Added sqlite_fetch_column_types() 3rd argument for arrays. (Ilia)
* Added optional offset parameter to stream_get_contents() and file_get_contents(). (Ilia)
* Added optional maxlen parameter to file_get_contents(). (Ilia)
* Added SAPI hook to get the current request time. (Rasmus)
* Added new functions:
o array_diff_key() (Andrey)
o array_diff_ukey() (Andrey)
o array_intersect_key() (Christiano Duarte)
o array_intersect_ukey() (Christiano Duarte)
o array_product() (Andrey)
o DomDocumentFragment::appendXML() (Christian)
o fputcsv() (David Sklar)
o htmlspecialchars_decode() (Ilia)
o inet_pton() (Sara)
o inet_ntop() (Sara)
o mysqli::client_info property (Georg)
o posix_access() (Magnus)
o posix_mknod() (Magnus)
o SimpleXMLElement::registerXPathNamespace() (Christian)
o stream_context_get_default() (Wez)
o stream_socket_enable_crypto() (Wez)
o stream_wrapper_unregister() (Sara)
o stream_wrapper_restore() (Sara)
o stream_filter_remove() (Sara)
o time_sleep_until() (Ilia)
* 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)
* Added MDTM support to ftp_url_stat. (Sara)
* Added zlib stream filter support. (Sara)
* Added bz2 stream filter support. (Sara)
* Added max_redirects context option that specifies how many HTTP redirects to follow. (Ilia)
* Added support of parameter=>value arrays to xsl_xsltprocessor_set_parameter(). (Tony)
* Improved PHP extension loading mechanism with support for module dependencies and conflicts. (Jani, Dmitry)
* Improved interactive mode of PHP CLI (php -a). (Johannes, Marcus)
* Improved performance of:
o general execution/compilation. (Andi, Thies, Sterling, Dmitry, Marcus)
o switch() statement. (Dmitry)
o several array functions. (Marcus)
o virtual path handling by adding a realpath() cache. (Andi)
o variable fetches. (Andi)
o magic method invocations. (Marcus)
* Improved support for embedded server in mysqli. (Georg)
* Improved mysqli extension. (Georg)
o added constructor for mysqli_stmt and mysqli_result classes
o added new function mysqli_get_charset()
o added new function mysqli_set_charset()
o added new class mysqli_driver
o added new class mysqli_warning
o added new class mysqli_exception
o added new class mysqli_sql_exception
* Improved SPL extension. (Marcus)
o Moved RecursiveArrayIterator from examples into extension
o Moved RecursiveFilterIterator from examples into extension
o Added SplObjectStorage
o Made all SPL constants class constants
o Renamed CachingRecursiveIterator to RecursiveCachingIterator to follow Recursive<*>Iterator naming scheme.
o added standard hierarchy of Exception classes
o added interface Countable
o added interfaces Subject and SplObserver
o added spl_autoload*() functions
o converted several 5.0 examples into c code
o added class SplFileObject
o added possibility to use a string with class_parents() and class_implements(). (Andrey)
*
* Changed type hints to allow "null" as default value for class and array. (Marcus, Derick, Dmitry)
* Changed SQLite extension to be a shared module in Windows distribution. (Edin)
* Changed "instanceof" and "catch" operators, is_a() and is_subclass_of() functions to not call __autoload(). (Dmitry)
* Changed sha1_file() and md5_file() functions to use streams instead of low level IO. (Uwe)
* Changed abstract private methods to be not allowed anymore. (Stas)
* Changed stream_filter_(ap|pre)pend() to return resource. (Sara)
* Changed mysqli_exception and sqlite_exception to use RuntimeException as base if SPL extension is present. (Georg, Marcus)
* Upgraded bundled libraries:
o PCRE library to version 6.2. (Andrei)
o SQLite 3 library in ext/pdo_sqlite to 3.2.7. (Ilia)
o SQLite 2 library in ext/sqlite to 2.8.16. (Ilia)
* Upgraded bundled libraries in Windows distribution. (Edin)
o zlib 1.2.3
o curl 7.14.0
o openssl 0.9.8
o ming 0.3b
o libpq (PostgreSQL) 8.0.1
* Implemented feature request (Year belonging to ISO week). (Derick)
* Allowed return by reference from internal functions. (Marcus, Andi, Dmitry)
* Rewrote strtotime() with support for timezones and many new formats. Implements feature requests , , , , and . (Derick)
* Moved extensions to PECL:
o ext/cpdf (Tony, Derick)
o ext/dio (Jani, Derick)
o ext/fam (Jani, Derick)
o ext/ingres_ii (Jani, Derick)
o ext/mnogosearch (Jani, Derick)
o ext/w32api (Jani, Derick)
o ext/yp (Jani, Derick)
o ext/mcve (Jani, Derick, Pierre)
o ext/oracle (Jani, Derick)
o ext/ovrimos (Jani, Derick, Pierre)
o ext/pfpro (Jani, Derick, Pierre)
o ext/dbx (Jani, Derick)
o ext/ircg (Jani, Derick)
* Removed php_check_syntax() function which never worked properly. (Ilia)
* Removed garbage manager in Zend Engine which results in more aggressive freeing of data. (Dmitry, Andi)
* Fixed "make test" to work for phpized extensions. (Hartmut, Jani)
* Fixed Apache 2 regression with sub-request handling on non-linux systems. (Ilia, Tony)
* Fixed PDO shutdown problem (possible infinite loop running rollback on shutdown). (Wez)
* Fixed PECL bug (PDO: beginTransaction doesn’t work if you’re in auto-commit mode). (Wez)
* Fixed ZTS destruction. (Marcus)
* Fixed __get/__set to allow recursive calls for different properties. (Dmitry)
* Fixed a bug where stream_get_meta_data() did not return the "uri" element for files opened with tmpname(). (Derick)
* Fixed a problem with SPL iterators aggregating the inner iterator. (Marcus)
* Fixed an error in mysqli_fetch_fields (returned NULL instead of an array when row number > field_count). (Georg)
* Fixed bug in mysql::client_version(). (Georg)
* Fixed bug in mysqli extension with unsigned int(11) being represented as signed integer in PHP instead of string in 32bit systems. (Andrey)
* Fixed bug with $HTTP_RAW_POST_DATA not getting set. (Brian)
* Fixed crash inside stream_get_line() when length parameter equals 0. (Ilia)
* Fixed ext/mysqli to allocate less memory when fetching bound params of type (MEDIUM|LONG)BLOB/(MEDIUM|LONG)TEXT. (Andrey)
* Fixed extension initialization to respect dependencies between extensions. (Wez)
* Fixed failing queries (FALSE returned) with mysqli_query() on 64 bit systems. (Andrey)
* Fixed fgetcsv() and fputcsv() inconsistency. (Dmitry)
* Fixed inheritance check to control return by reference and pass by reference correctly (ArrayAccess can no longer support references correctly). (Marcus, Andi, Dmitry)
* Fixed initializing and argument checking for posix_mknod(). (Derick)
* Fixed memory corruption in ImageTTFText() with 64bit systems. (Andrey)
* Fixed memory corruption in pg_copy_from() in case the as_null parameter was passed. (Derick)
* Fixed memory corruption in stristr(). (Derick)
* Fixed possible GLOBALS variable override when register_globals are ON. (Ilia, Stefan)
* Fixed possible INI setting leak via virtual() in Apache 2 sapi. (Ilia)
* Fixed possible register_globals toggle via parse_str(). (Ilia, Stefan)
* Fixed potential GLOBALS overwrite via import_request_variables() and possible crash and/or memory corruption. (Ilia)
* Fixed segfaults when CURL callback functions throw exception. (Tony)
* Fixed support for shared extensions on AIX. (Dmitry)
* Fixed bug (isset(DOMNodeList->length) returns false). (Rob)
* Fixed bug (Fix for bug breaks build with older curl). (Tony)
* Fixed bug (crash on PDO::FETCH_CLASS + __set()). (Tony)
* Fixed bug (PDO prepare() crashes with invalid parameters). (Ilia)
* Fixed bug (PDO segfaults when using persistent connections). (Tony)
* Fixed bug (Multiple virtual() calls crash Apache 2 php module). (Ilia)
* Fixed bug (Error in mapping soap – java types). (Dmitry)
* Fixed bug (compile failure when ext/readline is compiled as shared). (Jani)
* Fixed bug (sqlite_query() doesn’t set error_msg when return value is being used). (Ilia)
* Fixed bug (php_mblen() crashes when compiled with thread-safety on Linux). (Patch: shulmanb at il dot ibm dot com, Jani)
* Fixed bug (Objects can lose references). (Dmitry)
* Fixed bug (call_user_func() crashes when argument_stack is nearly full). (Dmitry)
* Fixed bug (Destructor is not called). (Tony)
* Fixed bug (tokenizer extension needs T_HALT_COMPILER). (Greg)
* Fixed bug (include()/require()/*_once() produce wrong error messages about main()). (Dmitry)
* Fixed bug (__HALT_COMPILER() breaks with –enable-zend-multibyte). (Dmitry, Moriyoshi)
* Fixed bug (gettimeofday() ignores current time zone). (Derick)
* Fixed bug (SOAP Client/Server Complex Object Support). (Dmitry)
* Fixed bug (PDOStatment without related PDO object may crash). (Ilia)
* Fixed bug (SoapClient leaks memory). (Dmitry)
* Fixed bug (stream_set_blocking(true) toggles, not enables blocking). (askalski at gmail dot com, Tony)
* Fixed bug (configure does not find ldap_start_tls_s). (Jani)
* Fixed bug (phpinfo() uses improper css enclosure). (Ilia)
* Fixed bugs , (Regression in the behavior of key() and current() functions). (Ilia)
* Fixed bug (Exception thrown in error handler may cause unexpected behavior). (Dmitry)
* Fixed bug (array_product() always returns 0). (Ilia)
* Fixed bug (ZTS: Persistent resource destruct crashes when extension is compiled as shared). (Dmitry)
* Fixed bug (ImageTrueColorToPalette() crashes when ncolors is zero). (Tony)
* Fixed bug (array_walk_recursive() modifies elements outside function scope). (Dmitry)
* Fixed bug (Compile failure on MacOSX due to use of varargs.h). (Tony)
* Fixed bug (bz2 extension fails on to build on some win32 setups). (Ilia)
* Fixed bug (tidy is not binary safe). (Mike)
* Fixed bug (PHP doesn’t respect ACLs for access checks). (Wez)
* Fixed bug (Unable to get WSDL through proxy). (Dmitry)
* Fixed bug (dns_get_record() doesn’t resolve long hostnames and leaks). (Tony)
* Fixed bug (Digest authentication does not work with Apache 1). (Ilia)
* Fixed bug (mysqli::character_set_name() – undefined method). (Tony)
* Fixed bug (Fixed sqlite extension compile failure). (Ilia)
* Fixed bug (PHP5.1 overloading, Cannot access private property). (Dmitry)
* Fixed bug (Possible crash in ext/sqlite when sqlite.assoc_case is being used). (Tony, Ilia)
* Fixed bug (str_replace, array_map corrupt negative array indexes on 64-bit platforms). (Dmitry)
* Fixed bug (Segmentation Fault on foreach in object). (Dmitry)
* Fixed bug (configure fails to detect libiconv’s type). (Tony)
* Fixed bug (ibase_service_attach() segfault on AMD64). (irie at gmx dot de, Tony)
* Fixed bug (SO_RECVTIMEO and SO_SNDTIMEO socket options expect integer parameter on Windows). (Mike)
* Fixed bug (–program-suffix and –program-prefix not included in man page names). (Jani)
* Fixed bug (zlib encoders fail on widely varying binary data on windows). (Mike, Ilia)
* Fixed bug (several functions crash when invalid mysqli_link object is passed). (Tony)
* Fixed bug (mysqli::init() and others use wrong $this pointer without checks). (Tony)
* Fixed bug (FETCH_INTO in PDO crashes without a destination object). (Ilia)
* Fixed bug (Fixed crash on object instantiation failure). (Ilia)
* Fixed bug (missing SSL linking in ext/ftp when configured as shared). (Jani)
* Fixed bug (preg_match_all(), named capturing groups, variable assignment/return => crash). (Dmitry)
* Fixed bug (SOAP Client not applying correct namespace to generated values). (Dmitry)
* Fixed bug (SOAP Client not handling boolean types correctly). (Dmitry)
* Fixed bug (2 @ results in change to error_reporting() to random value) (Dmitry, Tony)
* Fixed bug (subclassing of mysqli_stmt does not work). (Georg)
* Fixed bug (token_get_all() gives wrong result). (Dmitry)
* Fixed bug (Crash in dblib when fetching non-existent error info). (Ilia)
* Fixed bug (strtotime() fails with 1-12am/pm). (Derick)
* Fixed bug (Zend Engine 1 Compatibility not copying objects correctly). (Dmitry)
* Fixed bug (PDO_DBLIB did not implement rowCount()). (Ilia)
* Fixed bug (iconv_substr() gives "Unknown error" when offset > string length). (Tony)
* Fixed bug (ftp wrapper failures caused from segmented command transfer). (Ilia)
* Fixed bug (CLI segmentation faults during cleanup). (Dmitry)
* Fixed bug (array_count_values() strips leading zeroes). (Tony)
* Fixed bug (zend.ze1_compatibility_mode = on segfault). (Dmitry)
* Fixed bug (Infinite recursion due to corrupt JPEG). (Marcus)
* Fixed bug (__call(), is_callable() and static methods). (Dmitry)
* Fixed bug (missing support for strtotime("midnight") and strtotime("noon")). (Derick)
* Fixed bug (ctype corrupts memory when validating large numbers). (Ilia)
* Fixed bug (wsdl default value has no effect). (Dmitry)
* Fixed bug (Crash in pdo_mysql on longtext fields). (Ilia)
* Fixed bug (zend_deactivate: objects_store used after zend_objects_store_destroy is called). (Dmitry)
* Fixed bug (User defined PDOStatement class can’t implement methods). (Marcus)
* Fixed bug (Segfault with SPL autoload handler). (Marcus)
* Fixed bug (crash with mod_rewrite). (Tony, Ilia)
* Fixed bug (mb_send_mail does not fetch mail.force_extra_parameters). (Marco, Ilia)
* Fixed bug (php -m exits with "error" 1). (Johannes)
* Fixed bug (Unset doesn’t separate container in CV). (Dmitry)
* Fixed bug (Possible memory corruption when unmangling properties with empty names). (Tony)
* Fixed bug (Incorrect parsing of url’s fragment (#…)). (Dmitry)
* Fixed bug (foreach + __get + __set inconsistency). (Dmitry)
* Fixed bug (Possible crash inside pspell extension). (Ilia)
* Fixed bug (parsing http://www.w3.org/2001/xml.xsd exception). (Dmitry)
* Fixed bug (Segfault when calling mysqli_close() in destructor). (Tony)
* Fixed bug (ext/soap: XSD_ANYXML functionality not exposed). (Dmitry)
* Fixed bug (Possible crash inside curl_multi_remove_handle()). (Ilia)
* Fixed bug (Fatal error: Cannot re-assign $this). (Dmitry)
* Fixed bug (php crashes when variables_order is empty). (Ilia)
* Fixed bug (Possible crash in filter code). (Ilia)
* Fixed bug (unserialize() crashes with chars above 191 dec). (Nuno)
* Fixed bug (foreach($arr as $c->d => $x) crashes). (Dmitry)
* Fixed bug (on_modify handler not called to set the default value if setting from php.ini was invalid). (Andrei)
* Fixed bug (wddx_serialize_value() crashes with long array keys). (Jani)
* Fixed bug (date() doesn’t have a modifier for ISO Week Day). (Derick)
* Fixed bug (date(‘W’) do not return leading zeros for week 1 to 9). (Derick)
* Fixed bug (ReflectionClass::isInstantiable() returns true for abstract classes). (Marcus)
* Fixed bug (CLI phpinfo showing html on _SERVER["argv"]). (Jani)
* Fixed bug (array_filter() crashes with references and objects). (Dmitry)
* Fixed bug (setAttributeNS doesn’t work with default namespace). (Rob)
* Fixed bug (Segfault with callbacks (array_map) + overloading). (Dmitry)
* Fixed bug (lib64 not handled correctly in ming extension). (Marcus)
* Fixed bug (Compiling xmlrpc as shared fails other parts). (Jani)
* Fixed bug (Segfault with autoload). (Marcus)
* Fixed bug (if($obj)/if(!$obj) inconsistency because of cast handler). (Dmitry, Alex)
* Fixed bug (ob_gzhandler does not enforce trailing <clb:Main />). (Ilia)
* Fixed bug (memory usage remains elevated after memory limit is reached). (Ilia)
* Fixed bug (+,- and . not supported as parts of scheme). (Ilia)
* Fixed bug (assigning array element by reference causes binary mess). (Dmitry)
* Fixed bug (line numbering not maintained in dom document). (Rob)
* Fixed bug (Reflection API problems in methods with boolean or null default values). (Tony)
* Fixed bug (Numeric string as array key not cast to integer in wddx_deserialize()). (Ilia)
* Fixed bug (arr[] as param to function in class gives invalid opcode). (Dmitry)
* Fixed bug (Crash in catch block when many arguments are used). (Dmitry)
* Fixed bug (date(‘U’) returns %ld not unix timestamp). (Nuno)
* Fixed bug (Buffer overflow with serialized object). (Dmitry)
* Fixed bug (pdo_mysql truncates numeric fields at 4 chars). (Ilia)
* Fixed bug (object remains object when cast to int). (Dmitry)
* Fixed bug (No information given for fatal error on passing invalid value to typed argument). (Dmitry)
* Fixed bug (extract($GLOBALS,EXTR_REFS) crashes PHP). (Dmitry)
* Fixed bug (php script as ErrorDocument causes crash in Apache 2). (Ilia)
* Fixed bug (misuse of Exception constructor doesn’t display errorfile). (Jani)
* Fixed bug (Wrong use of reflectionproperty causes a segfault). (Tony)
* Fixed bug (mssql_bind() fails on input parameters). (Frank)
* Fixed bug (duplicate cookies and magic_quotes=off may cause a crash). (Ilia)
* Fixed bug (gmdate(‘W’)/date(‘W’) sometimes returns wrong week number). (Derick)
* Fixed bug (array_map() fails to pass by reference when called recursively). (Dmitry)
* Fixed bug (number_format() output with > 1 char separators). (Jani)
* Fixed bug (input array keys being escaped when magic quotes is off). (Ilia)
* Fixed bug (spl_autoload_register class method). (Marcus)
* Fixed bug (CLI: setting extension_dir=some/path extension=foobar.so does not work). (Jani)
* Fixed bug (CLI was looking for php.ini in wrong path). (Hartmut)
* Fixed bug (strtotime() problem with "+1days" format). (Ilia)
* Fixed bug (pdo sqlite driver forgets to update affected column count on execution of prepared statments). (Ilia)
* Fixed bug (Informix ESQL version numbering schema changed). (Jani)
* Fixed bug (mime_content_type() returns text/plain for gzip and bzip files). (Derick)
* Fixed bug (throw Exception in error handler causes crash). (Dmitry)
* Fixed bug (error_reporting falls to 0 when @ was used inside try/catch block). (Tony)
* Fixed bug (cURL needs to implement CRYPTO_callback functions to prevent locking). (Mike, Ilia)
* Fixed bug (Wrong behavior of constants in class and interface extending). (Dmitry)
* Fixed bug (php_value overrides php_admin_value). (Dmitry)
* Fixed bug (mb_encode_mimeheader does not work for multibyte chars). (Rui)
* Fixed bug (ArrayAccess objects does not initialize $this). (Dmitry)
* Fixed bug (Crash setting some ini directives in httpd.conf). (Rasmus)
* Fixed bug (Added detection for partially uploaded files). (Ilia)
* Fixed bug (substr_compare() crashes with negative offset and length). (Tony)
* Fixed bug (setcookie() "expires" date format doesn’t comply with RFC). (Tony)
* Fixed bug (LDAP: RootDSE query not possible). (Jani)
* Fixed bug (strtotime() problem with "Oct17" format). (Derick)
* Fixed bug (strtotime() doesn’t understand "11 Oct" format). (Derick)
* Fixed bug (date("") crashes). (Derick)
* Fixed bug (warning with nested calls to functions returning by reference). (Dmitry)
* Fixed bug (strtotime() defaults to now even on non time string). (Derick)
* Fixed bug (Different output for strftime() and date()). (Derick)
* Fixed bug (Memory leak in xmlrpc_encode_request()). (Ilia)
* Fixed bug (crash if safe_mode is on and session.save_path is changed). (Dmitry)
* Fixed bug (Add missing support for isset()/unset() overloading to complement the property get/set methods). (Dmitry)
* Fixed bug (crash after extending MySQLi internal class). (Tony)
* Fixed bug (cURL handle is not closed on curl_close(). (Ilia)
* Fixed bug (Compile error undefined reference to ifx_checkAPI). (Jani)
* Fixed bug (strtoll not available on Tru64). (Jani, Derick)
* Fixed bug (ext/odbc: check if unixODBC header file exists). (Jani)
* Fixed bug (strtotime() related bugs). (Derick)
* Fixed bug (Comprehensive list of incorrect days returned after strtotime() / date() tests). (Derick)
* Fixed bug (double free() when exporting a ReflectionClass). (Marcus)
* Fixed bug (crash when retrieving empty LOBs). (Tony)
* Fixed bug (array_reverse() fails after *sort()), introduced by zend_hash_sort() optimizations in HEAD. (Tony)
* Fixed bug (CLI Crash when calling php:function from XSLT). (Rob)
* Fixed bug (Cannot build extensions with phpize on Macosx). (Jani)
* Fixed bug (throw 1; results in Invalid opcode 108/1/8). (Dmitry)
* Fixed bug (ReflectionParameter methods do not work correctly). (Dmitry)
* Fixed bug (php:function no longer handles returned dom objects). (Rob, Joe Orton)
* Fixed bug (nested array_walk() calls and user array compare functions broken; FCI cache). (Andrei, patch from m.bretz@metropolis-ag.de)
* Fixed bug (private method accessed by child class). (Dmitry)
* Fixed bug (iconv_strlen() works only with a parameter of < 3 in length). (Ilia)
* Fixed bug (array_splice() inconsistent when passed function instead of variable). (Dmitry)
* Fixed bug (ze1_compatibility_mode does not work as expected). (Dmitry)
* Fixed bug (Mangled error message when stream fails). (Derick)
* Fixed bug (segfault when CURL handle is closed in a callback). (Tony)
* Fixed bug (odbc_next_result does not signal SQL errors with 2-statement SQL batches). (rich at kastle dot com, Tony)
* Fixed bug ([GCC 4]: ‘zend_error_noreturn’ aliased to external symbol ‘zend_error’). (Dmitry)
* Fixed bug (relax jpeg recursive loop protection). (Ilia)
* Fixed bug (Crash when fetching some data types). (Frank)
* Fixed bug (preg_replace(): magic_quotes_sybase=On makes ‘e’ modifier misbehave). (Jani)
* Fixed bug (–enable-session=shared does not build). (Jani)
* Fixed bug (foreach enumerates private fields declared in base classes). (Dmitry)
* Fixed bug (Possible crash inside pg_fetch_array()). (Ilia)
* Fixed bug (Soap extension incorrectly detects HTTP/1.1). (Ilia)
* Fixed bug (cygwin version of setitimer doesn’t accept ITIMER_PROF). (Nuno)
* Fixed bug (crash in mssql_next result). (Frank)
* Fixed bug (shtool: insecure temporary file creation). (Jani)
* Fixed bug (method offsetSet in class extended from ArrayObject crash PHP). (Marcus)
* Fixed bug (imagecopymergegray() produces mosaic rainbow effect). (Pierre)
* Fixed bug (crash when assigning class name to global variable in __autoload). (Dmitry)
* Fixed bug (mysqli_prepare() doesn’t return an error). (Georg)
* Fixed bug (str_ireplace() incorrectly counts result string length and may cause segfault). (Tony)
* Fixed bug (Add a safemode/open_basedir check for runtime "session.save_path" change using session_save_path() function). (Rasmus)
* Fixed bug (Improved performance of bzdecompress() by several orders of magnitude). (Ilia)
* Fixed bug (crash when moving xml attribute set in dtd). (Ilia)
* Fixed bug (Don’t send extraneous entity-headers on a 304 as per RFC 2616 section 10.3.5) (Rasmus, Choitel)
* Fixed bug (socket errors cause memory leaks in php_strerror()). (jwozniak23 at poczta dot onet dot pl, Tony).
* Fixed bug ("make distclean" gives an error with VPATH build). (Jani)
* Fixed bug ("next month" was handled wrong while parsing dates). (Derick)
* Fixed bug (implemented Iterator function current() don’t throw exception). (Dmitry)
* Fixed bug (ReflectionMethod::getStaticVariables() causes apache2.0.54 seg fault). (Dmitry)
* Fixed bug (mysql_bind_result() doesn’t support MYSQL_TYPE_NULL). (Georg)
* Fixed bug (Incorrect option for mysqli default password). (Georg)
* Fixed bug (Disabling session.use_cookies doesn’t prevent reading session cookies). (Jani, Tony)
* Fixed bug (Sending structured SOAP fault kills a php). (Dmitry)
* Fixed bug (open_basedir looses trailing / in the limiter). (Adam Conrad)
* Fixed bug (http redirects URLs are not checked for control chars). (Ilia)
* Fixed bug (Cannot extend class "SQLiteDatabase"). (Marcus)
* Fixed bug (Oracle LDAP: ldap_get_entries(), invalid pointer). (Jani)
* Fixed bug (class extending DOMDocument doesn’t clone properly). (Rob)
* Fixed bug (file included with "auto_prepend_file" can be included with require_once() or include_once()). (Stas)
* Fixed bug (pg_get_notify() ignores result_type parameter). (Tony)
* Fixed bug (Crash with singleton and __destruct when zend.ze1_compatibility_mode = On). (Dmitry)
* Fixed bug (Invalid opcode). (Dmitry)
* Fixed bug (parse_url() does not handle scheme-only urls properly). (Ilia)
* Fixed bug (temporary files not using plain file wrapper). (Ilia)
* Fixed bug (Missing T1LIB support on Windows). (Edin)
* Fixed bug (General cookie overrides more specific cookie). (Ilia)
* Fixed bugs , (ext/odbc: Problems with 64bit systems). (Jani)
* Fixed bug (crash: calling the corresponding global var during the destruct). (Dmitry)
* Fixed bug (SOAP doesn’t support one-way operations). (Dmitry)
* Fixed bug (GMP functions break when second parameter is 0). (Stas)
* Fixed bug (incorrect determination of default value (COM)). (Wez)
* Fixed bug (Cannot access safearray properties in VB6 objects). (Wez)
* Fixed bug (Segfault in replaceChild() when DocumentFragment has no children). (Rob)
* Fixed bug (Undefined constant SQLITE_NOTADB). (Ilia)
* Fixed bug (segmentation fault when the stream with a wrapper is not closed). (Tony, Dmitry)
* Fixed bug (pg_affected_rows() was defined when it was not available). (Derick)
* Fixed bug (Require/include file in destructor causes segfault). (Marcus)
* Fixed bug (ext/mssql: Error on module shutdown when called from activescript). (Frank)
* Fixed bug (exception in iterator causes crash). (Dmitry)
* Fixed bug (Assignment by reference causes crash when field access is overloaded (__get)). (Dmitry)
* Fixed bug (Using register_shutdown_function() with invalid callback can crash PHP). (Jani)
* Fixed bug (Segfault in replaceChild() using fragment when previousSibling is NULL). (Rob)
* Fixed bug (ext/snmp: use of snmp_shutdown() causes snmpapp.conf access errors). (Jani, ric at arizona dot edu)
* Fixed bug (html_entity_decode() converts single quotes even if ENT_NOQUOTES is given). (Ilia)
* Fixed bug (Segfault/Memory Leak by getClass (etc) in __destruct). (Dmitry)
* Fixed bug (ext/mysql: Unsatisfied symbol: ntohs with HP-UX). (Jani)
* Fixed bug (possible crash inside imap_mail_compose() function). (Ilia)
* Fixed bug (Possible crash inside imap_mail_compose, with charsets). (Ilia)
* Fixed bug (Apache2: errors sent to error_log do not include timestamps). (Jani)
* Fixed bug (configure looks for incorrect db2 library). (Tony)
* Fixed bug (mmap loads only the 1st 2000000 bytes on Win32). (Ilia)
* Fixed bug (proc_get_status() returns the incorrect process status). (Ilia)
* Fixed bug (chunk_split() does not append endstr if chunklen is longer then the original string). (Ilia)
* Fixed bug (File upload error – unable to create a temporary file). (Uwe Schindler)
* Fixed bug (wrong setting property to unset value). (Dmitry)
* Fixed bug (method_exists() always return TRUE if __call method exists). (Dmitry)
* Fixed bug (The @ warning error suppression operator is broken). (Dmitry)
* Fixed bug (Interfaces are not allowed ‘static’ access modifier). (Dmitry)
* Fixed bug (mysqli::fetch() returns bad data – 64bit problem). (Andrey)
* Fixed bug (get_class_methods() output has changed between 5.0.2 and 5.0.3). (Dmitry)
* Fixed bug (Segfault in mysqli_fetch_array on 64-bit). (Georg)
* Fixed bug (xml_parser_free() in a function assigned to the xml parser gives a segfault). (Rob)
* Fixed bug (xmlrpc_encode() segfaults with recursive references). (Tony)
* Fixed bug (Userspace stream wrapper crashes PHP). (Tony, Dmitry)
* Fixed bug (copying a file into itself leads to data loss). (Ilia)
* Fixed bug (SOAP client does not auto-handle base64 encoding). (Ilia)
* Fixed bug ($_POST is not populated in multi-threaded environment). (Moriyoshi)
* Fixed bug (segfault when assigning object to itself with zend.ze1_compatibility_mode=On). (Dmitry)
* Fixed bug (Crash caused by range(”, ‘z’)). (Derick)
* Fixed bug (ext/mysqli bind_result causes fatal error: memory limit). (Andrey)
* Fixed bug (Memory leak in mssql_fetch_batch). (fmk)
* Fixed bug (crash when mssql_bind() is called more than once). (Frank)
* Fixed bug (ftp_login fails on some SSL servers). (frantisek at augusztin dot com)
* Fixed bug (ISAPI: Custom 5xx error does not return correct HTTP response message). (Jani)
* Fixed bug (Crash with zend.ze1_compatibility_mode=On). (Dmitry)
* Fixed bug (multi_query works exactly every other time – multi query d/e flag global and not per connection). (Andrey)
* Fixed bug (another crash when echoing a COM object). (Wez)
* Fixed bug (php_std_date() uses short day names in non-y2k_compliance mode). (mike at php dot net)
* Fixed bug (object reference being dropped. $this getting lost). (Stas, Dmitry)
* Fixed bug (Wrong deserialization from session when using WDDX serializer). (Dmitry)
* Fixed bug (segfault with empty() / isset()). (Moriyoshi)
* Fixed bug (False warning in unpack() when working with *). (Ilia)
* Fixed bug (broken non-blocking flock()). (ian at snork dot net)
* Fixed bug (Older GCC versions do not provide portable va_copy()). (Jani)
* Fixed bug (escape on curly inconsistent). (Dmitry)
* Fixed bug (PHP_EVAL_LIBLINE configure macro does not handle -pthread). (Jani)
* Fixed bug (Side effects caused by fix of bug ). (Dmitry)
* Fixed bug (memory leaks and corruption because of incorrect refcounting). (Dmitry)
* Fixed bug (array_splice on $GLOBALS crashes). (Dmitry)
* Fixed bug (safe_mode & open_basedir checks only check first include_path value). (Ilia)
* Fixed bug (php:function(string, nodeset) with xsl:key crashes PHP). (Rob)
* Fixed bug (Wrong line number in ReflectionClass getStartLine()). (Dmitry)
* Fixed bug (Conflict between __get/__set and ++ operator). (Dmitry)
* Fixed bug (array_count_values() modifying input array). (Tony)
* Fixed bug (debug_backtrace() reports incorrect class in overridden methods). (Dmitry)
* Fixed bug (static member conflict with $this->member silently ignored). (Dmitry)
* Fixed bug (Better support for LDAP SASL bind). (Jani)
* Fixed bug (magic methods (__sleep/__wakeup/__toString) call __call if object is overloaded). (Dmitry)
* Fixed bug (Segmentation fault on exception in method). (Stas, Dmitry)
* Fixed bug (cannot initialize class variable from class constant). (Dmitry)
* Fixed bug (Output buffers flushed before calling __destruct() functions). (Jani)
* Fixed bug (Interface not existing says Class not found). (Dmitry)
* Fixed bug (Strange behavior of default arguments). (Dmitry)
* Fixed bug (Assignment operators yield wrong result with __get/__set). (Dmitry)
* Fixed bug (zend.ze1_compatibility_mode isn’t fully compatible with array_push()). (Dmitry)
* Fixed bug (Catching exception in constructor causes lose of $this). (Dmitry)
* Fixed bug (Problem with array in static properties). (Dmitry)
* Fixed bug (Enhancement for error message for abstract classes). (Marcus)
* Fixed bug (gmmktime does not return the current time). (Derick)
* Fixed bug (Passing array or non array of objects). (Dmitry)
* Fixed bug (Crash on shutdown after odbc_pconnect()). (Edin)
* Fixed bug (PHP does not explicitly set mime type & charset). (Ilia)
* Fixed bug (memory leaks when set_error_handler() is used inside error handler). (Tony)
* Fixed bug (variables_order behavior). (Dmitry)
* Fixed bug (Function defined in switch, crashes). (Dmitry)
* Fixed bug (Backtrace argument list out of sync). (Dmitry)
* Fixed bug (Reflection API Feature: Default parameter value). (Marcus)
* Fixed bug (default value of protected member overrides default value of private and other private variable problems in inherited classes). (Stas)
* Fixed bug (headers_list() returns empty array). (Tony)
* Fixed bug (crash when echoing a COM object). (M.Sisolak, Wez)
* Fixed bug (accessing properties without connection). (Georg)
* Fixed bug (var_export() producing invalid code). (Derick)
* Fixed bug (unencoded spaces get ignored after certain tags). (Ilia)
* Fixed bug (fetch functions now use MYSQLI_BOTH as default). (Georg)
* Fixed bug (win32 mail() provides incorrect Date: header). (Jani)
* Fixed bug (calling parent constructor in mysqli). (Georg)
* Fixed bug (__autoload() not called with Reflection->getClass()). (Dmitry)
* Fixed bug (SOAP HTTP Error when envelop size is more than 24345 bytes). (Dmitry, Wez)
* Fixed bug (array_diff with $GLOBALS argument fails). (Dmitry)
* Fixed bug (memory error when wsdl-cache is enabled). (Dmitry)
* Fixed bug (Function: is_callable – no support for private and protected classes). (Dmitry)
* Fixed bug (SoapFault exception: [WSDL] Out of memory). (Dmitry)
* Fixed bug (Function declaration in method doesn’t work). (Dmitry)
* Fixed bug (soap extension segfaults). (Dmitry)
* Fixed bug (Incorrect behavior of member vars(non string ones)-numeric mem vars and others). (Dmitry)
* Fixed bug (__getTypes() returning nothing on complex WSDL). (Dmitry)
* Fixed bug (Wrong data encoding of special characters). (Dmitry)
* Fixed bug (SIGSEGV in interactive mode (php -a)). (kameshj at fastmail dot fm)
* Fixed bug (Need to use -[m]ieee option for Alpha CPUs). (Jani)
* Fixed bug (SAPI::known_post_content_types is not thread safe). (Moriyoshi)
* Fixed bug (debug_backtrace is intermittently passing args). (Dmitry)
* Fixed bug (glob wont error if dir is not readable). (Hartmut)
* Fixed bug (static array with some constant keys will be incorrectly ordered). (Dmitry)
* Fixed bug (xml default_handlers not being called). (Rob)
* Fixed bug (list() array key assignment causes HUGE memory leak). (Dmitry)
* Fixed bug (Bad references accentuated by clone). (Dmitry)
* Fixed bug (Wrong results from Reflection-API getDocComment() when called via STDIN). (Dmitry)
* Fixed bug (In error handler, modifying 5th arg (errcontext) may result in seg fault). (Dmitry)
* Fixed bug (array_multisort() doesn’t work in a function if array is global or reference). (Dmitry)
* Fixed bug (returning reference to uninitialized variable). (Dmitry)
* Fixed bug (ext/sesssion: catch bailouts of write handler during RSHUTDOWN). (Jani, Xuefer at 21cn dot com)
* Fixed bug (boolean ini options may be incorrectly displayed as Off when they are On). (Tony)
* Fixed bugs , , , , , , , , , , (strtotime() related bugs). (Derick)

分享是一種日常的美好~

延伸閱讀

新網站新氣象,會想到緞帶教堂的美好
一直很喜歡的緞帶教堂 Ribbon Chapel

歡迎追蹤我們

2005 年 11 月
一 二 三 四 五 六 日
 123456
78910111213
14151617181920
21222324252627
282930