Error suppression operator (@)

From: Date: Tue, 03 May 2005 16:57:44 +0000
Subject: Error suppression operator (@)
Groups: php.general 
Request: Send a blank email to php-general+get-214377@lists.php.net to get a copy of this message
I would like to know, whether using @ is a good practice. For example, I have an array of unknown length $array. Is it all right write something like this: @list($first, $second) = $array; or is it better to do length check?

« previous php.general (#214377) next »