![]() |
Can I turn off warnings in PHP5 on a per script basis?
Anyone know how to do this?
|
Warnings always give important information. Even notices sometimes too. However, to supress a warning for a specific function call, prepend the function name with @.
|
Hmm, but if you want turn it for completely in that single script, don't you just slot in:
error_reporting(0); at the top of the file? |
I tried the error_reporting just after <?php but it doesn't seem to be suppressing the warnings.
|
All times are GMT. The time now is 04:13 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|