From f3f0b1dda28507eff9b9b8a8e2f6071fb1210462 Mon Sep 17 00:00:00 2001 From: Nuno Lopes Date: Tue, 10 Feb 2004 18:39:07 +0000 Subject: [PATCH] new directives some links still not completed.... git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@151007 c90b9560-bf6c-de11-be94-00142212c4b1 --- appendices/migration5.xml | 53 +++++++++++++++++++++++++++++++++------ 1 file changed, 46 insertions(+), 7 deletions(-) diff --git a/appendices/migration5.xml b/appendices/migration5.xml index 28fad4f62c..953f945f9f 100755 --- a/appendices/migration5.xml +++ b/appendices/migration5.xml @@ -1,5 +1,5 @@ - + Migrating from PHP 4 to PHP 5 @@ -57,12 +57,14 @@ recongnized as T_DOC_COMMENT. - $_SERVER should be populated with argc and argv if variables_order - includes "S". If you have specifically configured your system to not - create $_SERVER, then of course it shouldn't be there. The change was to - always make argc and argv available in the CLI version regardless of the - variables_order setting. As in, the CLI version will now always populate - the global $argc and $argv variables. + $_SERVER should be populated with argc and argv if variables_order includes "S". If + you have specifically configured your system to not create $_SERVER, + then of course it shouldn't be there. The change was to always make argc + and argv available in the CLI version regardless of the variables_order setting. As in, + the CLI version will now always populate the global $argc and $argv + variables. Classes must be declared before used. @@ -84,6 +86,10 @@ that php-win doesn't output anything and thus provides no console (no "dos box" appears on the screen). This behavior is similar to php-gtk. + + In PHP 5, the CLI version will always populate the global $argv and $argc + variables. +
@@ -301,6 +307,10 @@ Action application/x-httpd-php "/php/php-cgi.exe" ftp_alloc - Allocates space for a file to be uploaded + + get_declared_interfaces - Returns an array of all + declared interfaces + get_headers - Fetches all the headers sent by the server in response to a HTTP request @@ -383,6 +393,35 @@ Action application/x-httpd-php "/php/php-cgi.exe"
+ +
+ New Directives + + There were some new &php.ini; directives introduced in PHP 5. Here is a + list of them: + + + + mail.force_extra_paramaters - Force the addition of the specified + parameters to be passed as extra parameters to the sendmail binary. These + parameters will always replace the value of the 5th parameter to + mail, even in safe mode + + + register_long_arrays - + allow/disallow PHP to register the deprecated long $HTTP_*_VARS + + + session.hash_function - select a hash function (MD5 or SHA-1) + + + session.hash_bits_per_character - define how many bits are stored in + each character when converting the binary hash data to something + readable (from 4 to 6) + + +
+