Skip to content

Files

Latest commit

 

History

History
20 lines (13 loc) · 408 Bytes

Generic.PHP.NoSilencedErrors.md

File metadata and controls

20 lines (13 loc) · 408 Bytes

Pattern: Silencing of error

Issue: -

Description

Throws an error or warning when any code prefixed with an asperand is encountered.

Example

if (@in_array($array, $needle))
{
	doSomething();
}

Further Reading