|
|
|
|
|
by Zarel
5183 days ago
|
|
> I've written PHP for about 3 years and I've never once used the @ to suppress errors. Is it so wrong to use @? I've always used (@$_REQUEST['foo'] === 'bar') as a shorter way of writing (isset($_REQUEST['foo']) && $_REQUEST['foo'] === 'bar') - I'm curious if there's a problem with that approach. |
|
You'd probably be better off creating a function to do what you want succinctly rather than using the suppression operator.