/** * Destructor. */ public function __destruct() { $this->node = NULL; parent::__destruct(); }
/** * Destructor. */ public function __destruct() { $this->graph = NULL; parent::__destruct(); }
public function __destruct() { $this->tree = NULL; $this->stack = NULL; parent::__destruct(); }
/** * Destructor. */ public function __destruct() { $this->hashTable = NULL; parent::__destruct(); }
/** * Destructor. */ public function __destruct() { $this->set = NULL; $this->element = NULL; parent::__destruct(); }
/** * Destructor. */ public function __destruct() { $this->vertex = NULL; $this->edgeIterator = NULL; parent::__destruct(); }
/** * Destructor. */ public function __destruct() { parent::__destruct(); $this->queue = NULL; $this->position = NULL; }
/** * Returns the next object to be enumerated by this iterator. * Returns NULL when there are no more objects. * * @return mixed The next object to be enumerated. */ public function succ() { $result = NULL; if ($this->valid()) { $result = $this->current(); $this->next(); } return $result; } /** * Main program. * * @param array $args Command-line arguments. * @return integer Zero on success; non-zero on failure. */ public static function main($args) { printf("AbstractIterator main program.\n"); $status = 0; return $status; } } if (realpath($argv[0]) == realpath(__FILE__)) { exit(AbstractIterator::main(array_slice($argv, 1))); }