略微加速

PHP官方手册 - 互联网笔记

PHP - Manual: 函数的变化

2026-10-03

函数的变化

PHP 内核

  • 如果省略 salt 参数,crypt() 会产生 E_NOTICE错误。
  • substr_compare() 的 length 参数现在接受 0 的值。
  • unserialize() will now fail if passed serialised data that has been manipulated to attempt to instantiate an object without calling its constructor.

cURL

Mcrypt

OpenSSL

PostgreSQL

Reflection

XMLReader

+添加备注

用户贡献的备注

此页面尚无用户贡献的备注。

官方地址:https://www.php.net/manual/en/migration56.changed-functions.php

北京半月雨文化科技有限公司.版权所有 京ICP备12026184号-3