Notice: Trying to access array offset on value of type null in /dirname (php7.4.*)
执行以上代码出现报错:
Notice: Trying to access array offset on value of type null in ... ...
php版本:7.4.*
解决办法:
将代码改为:
https://www.php.net/manual/en/migration74.incompatible.php
原创
2021-02-25 17:14:08 ·
4649 阅读 ·
3 评论