From 1572155523cd98c31eb00b46d525b8bc590d6f06 Mon Sep 17 00:00:00 2001 From: Hannes Magnusson Date: Wed, 24 Jun 2009 21:20:25 +0000 Subject: [PATCH] Sync with php-src git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@282734 c90b9560-bf6c-de11-be94-00142212c4b1 --- appendices/migration53.xml | 204 ++++++++++++++++++++++++++++++++++++- 1 file changed, 200 insertions(+), 4 deletions(-) diff --git a/appendices/migration53.xml b/appendices/migration53.xml index 8387507f75..16b5865776 100644 --- a/appendices/migration53.xml +++ b/appendices/migration53.xml @@ -1,5 +1,5 @@ - + Migrating from PHP 5.2.x to PHP 5.3.x @@ -64,6 +64,12 @@ cache by default. + + + realpath is no longer system dependent and works the + same on all platforms. + + call_user_func and family now propagates $this @@ -117,6 +123,12 @@ should always be public and can no longer be static. Method signatures are enforced. + + + The __call + magic method now gets invoked on private/protected method access. + + The following keywords are now reserved and may not be used @@ -205,6 +217,12 @@ now have a shorthand operator ?:. + + + The HTTP stream wrapper now considers all status codes from 200 to 399 to + be successful. + + @@ -360,6 +378,9 @@
Changes in SAPI modules + + A new SAPI is now available called litespeed. + FastCGI is now always enabled and can not be disabled. See sapi/cgi/CHANGES for more details. @@ -469,6 +490,21 @@ magic_quotes_runtime + + + session_register + + + + + session_unregister + + + + + session_is_registered + + set_socket_blocking @@ -562,13 +598,33 @@ strstr and stristr - Added before_needle. + + - And fopen got a new mode option + - fopen got a new mode option (n), which passes will pass O_NONBLOCK to the underlaying syscall() call. + + + The dl function is now disabled by default, + and only available under the cli, cgi and the embed SAPIs. + + + + + Changed opendir, dir and + scandir to use default context when no context + argument is passed. + + + + + mail now supports logging of mail sent. + + json: @@ -578,6 +634,8 @@ json_encode - Added options. + + json_decode - Added depth. @@ -585,6 +643,29 @@ + Stream: + + + + stream_select, + stream_set_blocking, + stream_set_timeout and + stream_set_write_buffer now work with user-space + stream wrappers. + + + + + sybase_ct: + + + + sybase_connect + - Added new. + + + + New parameters to methods in PHP 5.3.0. @@ -675,7 +756,7 @@ gethostname - - Gets the standard host name for the local machine. + - Gets the current host name for the local machine. @@ -722,6 +803,24 @@ - Tells whether the stream supports locking. + + + stream_context_get_params + - Retrieve parameters from context. + + + + + streamWrapper::stream_cast + - Retrieve the underlaying resource. + + + + + streamWrapper::stream_set_option + - Change stream options + + Date/Time: @@ -922,6 +1021,12 @@ - Check whether a message queue exists. + + + shm_has_var + - Checks whether a specific exists. + +
@@ -955,6 +1060,11 @@ dechunk + + + The bz2.decompress filter now supports concatenation + + @@ -1031,6 +1141,16 @@ + DOM: + + + + DOMNode::getLineNo + - Get line number of parsed node. + + + + PDO_FIREBIRD: @@ -1087,6 +1207,22 @@ + SPL: + + + + SplObjectStorage::addAll + - Add all elements from another SplObjectStorage object. + + + + + SplObjectStorage::removeAll + - Remove all elements from another SplObjectStorage object. + + + + XSL: @@ -1104,6 +1240,12 @@ The following are new extensions added (by default) as of PHP 5.3.0:
+ + + Enchant + - Abstraction layer ontop of spell libraries + + Fileinfo @@ -1191,6 +1333,15 @@ instead, which still is in the PHP Core. + + + mhash + - Discontinued, use hash + instead. hash has full mhash + compatibility so all existing applications using the old functions still + work. + + @@ -1228,10 +1379,28 @@ - The TZ environment variable is no longer used to guess the timezone + + + cURL + - cURL now supports SSH + + + + + Network + - now contains an extra "entries" indice, containing the TXT elements + + Hash - - The SHA-224 hash algorithm is now supported. + - The SHA-224 and salsa hash algorithms are now supported. + + + + + mbstring + - Now supports CP850 encoding. @@ -1260,6 +1429,12 @@ unless "/tmp" is explicitly added to the list of allowed paths. + + + SOAP + Now supports sending user supplied HTTP headers. + + @@ -1407,6 +1582,11 @@ INI_SCANNER_RAW + + + PHP_MAXPATHLEN + + PHP_WINDOWS_NT_DOMAIN_CONTROLLER @@ -1545,6 +1725,15 @@ + libxml: + + + + LIBXML_LOADED_VERSION + + + + PCRE: @@ -1918,10 +2107,17 @@ session_start now returns &false; when the session startup fails. + + property_exists now checks the existence of a property independent of + accessibility (like method_exists). + Stream wrappers can now be used by include_path. + The initial parameter for + array_reduce can now be of any type. + The directory functions opendir, scandir and dir now use the default