报错:
源码:
php
54: ...
55: $index = $_GET["index"] ?? 0;
56: ...
修改:
PHP版本调整至:7.3.4
原因:
PHP 中遇到"parse error, syntax error, unexpected '?'"
这类错误通常是因为使用了 PHP 7.0 及以上版本中引入的空合并运算符(null coalesce operator)??,
但是在 PHP 7.0 以下的版本中不支持这个运算符。
