摘要:
<?phpclass sample implements Iterator { private $_items = array (0, 1, 2, 3 ); public function __construct() { ; //void } public function rewind() { reset ( $this->_items ); } public function current() { return current ( $this->_items ); } public functio... 阅读全文