Re: [PHP4BETA] @foreach = parse error

From: Date: Wed, 17 May 2000 12:40:57 +0000
Subject: Re: [PHP4BETA] @foreach = parse error
References: 1  Groups: php.version4 
Request: Send a blank email to php-version4+get-15120@lists.php.net to get a copy of this message
w>> I prepended an @ to foreach to avoid getting a warning if no array is w>> passed, but it results in a parse error... Foreach is not function, so @-syntax is not ought to work there. Try using error_reporting to supress messages instead. -- Stanislav Malyshev stas@zend.com +972-3-6139665

« previous php.version4 (#15120) next »