< Day Day Up > |
PHP 5's new E_STRICT error setting issues a warning when you use deprecated features. Specifically, it complains when you:
All of these features work in PHP 5, but you should slowly modify your code to stop using them. Here are a few examples:
E_STRICT is not enabled by default, nor is it part of E_ALL . To enable it, set your error_reporting configuration directive to E_ALL E_STRICT . Setting E_STRICT within a PHP script using error_reporting( ) causes PHP to miss some errors because it has already parsed the file. |
< Day Day Up > |