From: Tjerk Meesters Date: Wed, 19 Mar 2014 23:44:23 +0000 (+0800) Subject: Updated UPGRADING to add three changes X-Git-Tag: php-5.6.0beta1~3^2~57 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d0e3173016ce74198d010b5f6f2c243dde18797d;p=php Updated UPGRADING to add three changes --- diff --git a/UPGRADING b/UPGRADING index c7dd8ee3ff..ae73503b2f 100755 --- a/UPGRADING +++ b/UPGRADING @@ -183,6 +183,18 @@ PHP 5.6 UPGRADE NOTES CURLOPT_SAFE_UPLOAD is now turned on by default and uploads with @file do not work unless it is explicitly set to false. + curl_setopt() now supports the following nullable settings (>= 5.5.11): + . CURLOPT_CUSTOMREQUEST + . CURLOPT_FTPPORT + . CURLOPT_RANGE + . CURLOPT_FTP_ACCOUNT + . CURLOPT_RTSP_SESSION_ID + . CURLOPT_KRBLEVEL + . CURLOPT_KRB4LEVEL + +- Strings: + substr_compare() now allows $length to be zero. + - Crypt: crypt() will now raise an E_NOTICE error if the salt parameter is omitted. See: https://wiki.php.net/rfc/crypt_function_salt @@ -240,6 +252,9 @@ PHP 5.6 UPGRADE NOTES - Zip: Added ZipArchive::setPassword($password) +- SPL + Added SplFileObject::fread($length) to complement fwrite() method (>= 5.5.11) + ======================================== 6. New Classes and Interfaces ========================================