| 
        php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login | 
 PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits             
             [2001-03-06 07:00 UTC] stas@php.net
  | 
    |||||||||||||||||||||||||||
            
                 
                Copyright © 2001-2025 The PHP GroupAll rights reserved.  | 
        Last updated: Tue Nov 04 03:00:01 2025 UTC | 
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"); ?>