首页 > 代码库 > PHP Strict Standards:问题解决

PHP Strict Standards:问题解决

Strict standards: Declaration of ... should be compatible with that of ... 意思就是子类(IndexAction)重写的show方法与父类(Action)中的show方法不兼容,php方法重写要求是要参数个数、方法名称与父类要一致