From 0cdc5ae1dbf66902d990c02363bd579b8e971fa3 Mon Sep 17 00:00:00 2001 From: Adam Harvey Date: Mon, 12 Nov 2012 03:43:29 +0000 Subject: [PATCH] Update the 5.3 migration guide with the various suggestions Ferenc made a while back. Additionally, link the configuration directives consistently. Fixes doc bug #52524 (the 5.3 migration documentation lacks some details). git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328316 c90b9560-bf6c-de11-be94-00142212c4b1 --- appendices/migration53.xml | 132 ++++++++++++++++++++++--------------- 1 file changed, 80 insertions(+), 52 deletions(-) diff --git a/appendices/migration53.xml b/appendices/migration53.xml index a5a77ba977..eb84cffdbf 100644 --- a/appendices/migration53.xml +++ b/appendices/migration53.xml @@ -259,24 +259,62 @@ - Dynamic access to static methods is now possible. + Dynamic access to static methods is now possible: + + + + +]]> + + &example.outputs; + + + + + + + + Exceptions can now be nested: + + + + +]]> + + + + + + A garbage collector for circular + references has been added, and is enabled by default. - Exceptions can now be nested. - - - - - A garbage collector for circular references has been added, and is enabled - by default. - - - - - The mail function now supports logging of sent email. - (Note: This only applies to email sent through this function.) + The mail function now supports logging of sent email + via the mail.log configuration + directive. (Note: This only applies to email sent through this function.) @@ -2217,23 +2255,25 @@ - zend_extension_debug and - zend_extension_ts have been removed. Use the - zend_extension directive to load all Zend Extensions. + zend_extension_debug, + zend_extension_debug_ts + and zend_extension_ts have + been removed. Use the + zend_extension directive to + load all Zend Extensions. - zend.ze1_compatibility_mode has been removed. If this - INI directive is set to On, an E_ERROR error is - emitted at startup. + zend.ze1_compatibility_mode + has been removed. If this INI directive is set to On, an + E_ERROR error is emitted at startup. It is now possible to use the full path to load modules using the - "extension" - directive. + extension directive. @@ -2244,8 +2284,8 @@ - Runtime tightening of open_basedir restrictions is now - possible. + open_basedir restrictions may now + be tighted at runtime, and the directive is now PHP_INI_ALL. @@ -2261,27 +2301,9 @@ - A new directive, mail.add_x_header, has been added. - - - - - user_ini.filename is new - - - - - user_ini.cache_ttl is also new - - - - - exit_on_timeout is new too - - - - - open_basedir is now PHP_INI_ALL + Two new mail directives: + mail.add_x_header and + mail.log, have been added. @@ -2292,8 +2314,14 @@ user_ini.filename and - user_ini.cache_ttl for the new .htaccess-style user INI - file mechanism. + user_ini.cache_ttl have been added to control the use + of user INI files. + + + + + exit_on_timeout has been added + to force Apache 1.x children to exit if a PHP execution timeout occurs. @@ -2305,7 +2333,7 @@ - Added request_order. + Added request_order. Allows controlling which external variables will be available in $_REQUEST. @@ -2317,14 +2345,14 @@ - session.use_only_cookies is now set to - "1" (enabled) by default. + session.use_only_cookies + is now set to "1" (enabled) by default. - oci8.default_prefetch has changed from - "10" to "100". + oci8.default_prefetch + has changed from "10" to "100".