; error_reporting = E_ALL | E_STRICT
error_reporting = E_ALL | E_STRICT & ~E_NOTICE
ใช้ open tag php แบบ <? ได้
; short_open_tag = Off
short_open_tag = On
Error message Strict standards: Non-static method should not be called statically in php
; display_errors = On
display_errors = Off
อ้างอิง
- http://www.mininoz.com/%E0%B9%81%E0%B8%81%E0%B9%89%E0%B8%9B%E0%B8%B1%E0%B8%8D%E0%B8%AB%E0%B8%B2-php-error-notice-undefined-variable
- http://stackoverflow.com/questions/4684454/error-message-strict-standards-non-static-method-should-not-be-called-staticall
- http://forums.devshed.com/php-development-5/non-static-method-db-connect-should-not-be-called-statically-462291.html
- http://juuier.blogspot.com/2011/11/strict-standards-non-static-method.html
No comments:
Post a Comment