【发布时间】:2013-11-10 17:12:12
【问题描述】:
我最近对 PHP 5.4 进行了更新,我收到有关静态和非静态代码的错误。
这是错误:
PHP Strict Standards: Non-static method VTimer::get()
should not be called statically in /home/jaco/public_html/include/function_smarty.php on line 371
这是第 371 行:
$timer = VTimer::get($options['magic']);
希望有人能帮忙。
【问题讨论】:
-
欢迎堆栈溢出。您应该选择一个用户名。我建议
Novice Hobby PHP Boy。 -
谢谢你,这对我来说是个好名字,Sergiu ;)
标签: php static non-static