函数的变化
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.
Mcrypt
- 
    
     mcrypt_create_iv() 的 source现在默认值是MCRYPT_DEV_URANDOM,而非MCRYPT_DEV_RANDOM。
OpenSSL
- 
    
     如果 SSL 上下文选项已经提供 crypto_type选项, stream_socket_enable_crypto() 可以忽略crypto_type参数。
PostgreSQL
- pg_insert()、pg_select()、 pg_update()、pg_delete() 不再是实验性质的。
- 如果数据库连接 socket 流设置为非阻塞(non-blocking)模式, pg_send_execute()、 pg_send_prepare()、pg_send_query() 、pg_send_query_params() 不再会阻塞查询直到写入完成。
Reflection
- ReflectionClass::newInstanceWithoutConstructor() 现在允许非 Final 的内部类实例化。
XMLReader
- 
    
     和 XMLReader::getAttribute() 一样,未找到属性的情况下,
     XMLReader::getAttributeNs() 和
     XMLReader::getAttributeNo() 会返回 NULL。