PHP 4.0 Bug #6118 Updated: Can not supress runtime warnings on foreach
| From: | Bug Database | Date: | Sat, 12 Aug 2000 06:40:05 +0000 |
| Subject: | PHP 4.0 Bug #6118 Updated: Can not supress runtime warnings on foreach | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-28639@lists.php.net to get a copy of this message | ||
ID: 6118
Updated by: derick
Reported By: ronen@greyzone.com
Status: Closed
Bug Type: Feature/Change Request
Assigned To:
Comments:
At the moment it seems that parse errors can not be suppressed, but I think it is not possible to do
it, and it is absolutely not useful.
From the manual:
"All PHP expressions can also be called with the "@" prefix, which turns off error
reporting for that particular expression"
But if PHP can see there is an expression (because of an parse error), there is no way to disable
warnings from that statement.
Full Bug description available at: http://bugs.php.net/?id=6118