original_string: function delExpect($error_code)
      {
          $deleted = false;
          if ((is_array($error_code) && (0 != count($error_code)))) {
              // $error_code is a non-empty array here; we walk through it trying
              // to unset all values
              foreach ($error_code as $key => $error) {
                  $deleted =  $this->_checkDelExpect($error) ? true : false;
              }
  
              return $deleted ? true : PEAR::raiseError("The expected error you submitted does not exist"); // IMPROVE ME
          } elseif (!empty($error_code)) {
              // $error_code comes alone, trying to unset it
              if ($this->_checkDelExpect($error_code)) {
                  return true;
              }
  
              return PEAR::raiseError("The expected error you submitted does not exist"); // IMPROVE ME
          }
  
          // $error_code is empty
          return PEAR::raiseError("The expected error you submitted is empty"); // IMPROVE ME
      }
code: function delExpect($error_code)
      {
          $deleted = false;
          if ((is_array($error_code) && (0 != count($error_code)))) {
              // $error_code is a non-empty array here; we walk through it trying
              // to unset all values
              foreach ($error_code as $key => $error) {
                  $deleted =  $this->_checkDelExpect($error) ? true : false;
              }
  
              return $deleted ? true : PEAR::raiseError("The expected error you submitted does not exist"); // IMPROVE ME
          } elseif (!empty($error_code)) {
              // $error_code comes alone, trying to unset it
              if ($this->_checkDelExpect($error_code)) {
                  return true;
              }
  
              return PEAR::raiseError("The expected error you submitted does not exist"); // IMPROVE ME
          }
  
          // $error_code is empty
          return PEAR::raiseError("The expected error you submitted is empty"); // IMPROVE ME
      }
code_tokens: function delExpect ( $ error_code ) { $ deleted = false ; if ( ( is_array ( $ error_code ) && ( 0 != count ( $ error_code ) ) ) ) { // $error_code is a non-empty array here; we walk through it trying // to unset all values foreach ( $ error_code as $ key => $ error ) { $ deleted = $ this -> _checkDelExpect ( $ error ) ? true : false ; } return $ deleted ? true : PEAR :: raiseError ( "The expected error you submitted does not exist" ) ; // IMPROVE ME } elseif ( ! empty ( $ error_code ) ) { // $error_code comes alone, trying to unset it if ( $ this -> _checkDelExpect ( $ error_code ) ) { return true ; } return PEAR :: raiseError ( "The expected error you submitted does not exist" ) ; // IMPROVE ME } // $error_code is empty return PEAR :: raiseError ( "The expected error you submitted is empty" ) ; // IMPROVE ME }
docstring: This method deletes all occurences of the specified element from
  the expected error codes stack.
  
  @param  mixed $error_code error code that should be deleted
  @return mixed list of error codes that were deleted or error
  @access public
  @since PHP 4.3.0
docstring_tokens: This method deletes all occurences of the specified element from the expected error codes stack .