BUG: php8.0.0中getClass()被弃用

浏览:5352 发布日期:2020/12/15 分类:ThinkPHP6专区 关键字: php8 getClass
首先说明:在php7.4.13+nginx1.18.0下运行正常

服务器:php8.0.0+nginx1.18.0

今天(2020/12/15)新Composer的6.0.*同时Composer了think-multi-app
配置文件app.php中app_map设置了应用映射
以上操作设置在php7.4.13中运行正常,只是切换到php8.0.0后出现以下中断提示,应该是在PHP8后被弃用Deprecated: Method ReflectionParameter::getClass() is deprecated in /mnt/e/wwwroot/wmstudio/vendor/topthink/framework/src/think/Container.php on line 443
最佳答案
评论( 相关
后面还有条评论,点击查看>>