升级php7一些需要注意的地方

1.升级过程涉及代码的主要处理的就是几个扩展(mysql、mssql 、mcrypt、ereg)使用到的一些废弃函数(call_user_method、call_user_method_array等)

  mysql、mssql 替代品是pdo,ereg 用 preg,mcrypt 用 openssl 替换 (mcrypt是7.2废弃的)

2.第三方类库,尽量使用composer管理

原文地址:https://www.cnblogs.com/hxphp/p/7210990.html