函數(shù)的變化
PHP 內(nèi)核
-
如果省略
salt
參數(shù),crypt() 會(huì)產(chǎn)生
E_NOTICE
錯(cuò)誤。
-
substr_compare() 的
length
參數(shù)現(xiàn)在接受 0
的值。
-
unserialize() will now fail if passed serialised data
that has been manipulated to attempt to instantiate an object without
calling its constructor.
-
只有設(shè)置
CURLOPT_SAFE_UPLOAD
為 false
的情況下,
才接受 @file
語(yǔ)法上傳文件。
最好使用 CURLFile 代替。