From: [EMAIL PROTECTED] Operating system: Linux PHP version: 4.0.4pl1 PHP Bug Type: Scripting Engine problem Bug description: @unset() causes parse error The following code causes an error message: Parse error: parse error in /home/cri/public_html/unsettest.php on line 14 <?php error_reporting(15); class someClass { var $someVar = array(); function add($name, $val) { $this->someVar[$name] = $val; } function del($name) { return @unset($this->someVar[$name]); } } $someObj = new someClass; $someObj->add("bike", "blue"); $someObj->del("bike"); ?> -- Edit Bug report at: http://bugs.php.net/?id=9561&edit=1 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]