PHP 5 disable strict standards error
To disable the strict standards error in PHP 5, you can add the following line at the top of your PHP script:
error_reporting(E_ALL & ~E_STRICT);
This will turn off the strict standards error, but it will still display other error messages.
Alternatively, you can use the following line to turn off all error messages:
error_reporting(0);
This is not recommended, however, as it can hide important error messages that can help you debug your code.
It's generally better to fix the code that is causing the strict standards error, rather than just turning off the error message. This will ensure that your code is more compatible with future versions of PHP and avoids potential issues.