Strict Standards: Declaration of childClass::customMethod() should be compatible with that of parentClass::customMethod()
PHP 中出现此错误的可能原因有哪些?我在哪里可以找到有关“成为”意味着什么的信息兼容的?
childClass::customMethod()
具有不同的参数,或不同的访问级别(公共/私有/受保护)parentClass::customMethod()
.
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)