medz / OvO

OvO is a Dart-first schema declaration and validation library.

Home Page:https://pub.dev/packages/ovo

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PHP7环境开启伪静态情况下出错

jia-dai opened this issue · comments

涉及文件:src/library/route/PwRoute.php
242行:
if ($route[$k] === $router->$methods[$k]() && $flag === $flags[$k]) {
改为:

	    $method = $methods[$k];
            if ($route[$k] === $router->$method() && $flag === $flags[$k]) {

以上问题仅在PHP7环境出现。供参考。

好的~感谢~