The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Can I turn off warnings in PHP5 on a per script basis?
Anyone know how to do this?
|
#2
|
|||
|
|||
Warnings always give important information. Even notices sometimes too. However, to supress a warning for a specific function call, prepend the function name with @.
|
#3
|
|||
|
|||
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? |
#4
|
|||
|
|||
I tried the error_reporting just after <?php but it doesn't seem to be suppressing the warnings.
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|