<a target="_blank"></a>
使用classname::class可以获得”完全限定类名”(fully qualified class name)
password hashing api的函数:password_get_info(), password_hash(),password_needs_rehash(),password_verify()
php core还新增了array_column(),boolval(),json_last_error_msg(),cli_get_process_title()等函数。
此外还新增一些有用的扩展函数/方法:
mysqli
mysqli_begin_transaction()
mysqli_release_savepoint()
mysqli_savepoint()
intl
intldateformatter::formatobject()
intldateformatter::getcalendarobject()
intldateformatter::gettimezone()
intldateformatter::settimezone()
curl
对比datetime与datetimeimmutable的一个简单例子:
不再支持windows xp和 windows server 2003
扩展mysql过期,需使用mysqli或pdo_mysql
preg_replace /e 修饰符过期
删除logo guids
intl扩展的一些方法/函数过期
intldateformatter::settimezoneid()和datefmt_set_timezone_id()现在已经过期.可以分别使用intldateformatter::settimezone()和datefmt_set_timezone().
mcrypt扩展的一些函数过期
mcrypt_cbc(),mcrypt_cfb(),mcrypt_ecb(),mcrypt_ofb()等函数过期
<b>原文发布时间为:2013-07-05</b>
<b></b>
<b>本文来自云栖社区合作伙伴“linux中国”</b>