note 113499 added to class.seekableiterator

From: Date: Sun, 20 Oct 2013 00:43:10 +0000
Subject: note 113499 added to class.seekableiterator
Groups: php.notes 
Request: Send a blank email to php-notes+get-196591@lists.php.net to get a copy of this message
The code above is missing a closing parenthesis. <?php if (!isset($this->array[$position]) { throw new OutOfBoundsException("invalid seek position ($position)"); } ?> should be <?php if (!isset($this->array[$position])) { // close here throw new OutOfBoundsException("invalid seek position ($position)"); } ?> ---- Server IP: 69.147.83.199 Probable Submitter: 108.81.230.39 ---- Manual Page -- http://php.net/manual/en/class.seekableiterator.php Edit -- https://master.php.net/note/edit/113499 Del: integrated -- https://master.php.net/note/delete/113499/integrated Del: useless -- https://master.php.net/note/delete/113499/useless Del: bad code -- https://master.php.net/note/delete/113499/bad+code Del: spam -- https://master.php.net/note/delete/113499/spam Del: non-english -- https://master.php.net/note/delete/113499/non-english Del: in docs -- https://master.php.net/note/delete/113499/in+docs Del: other reasons-- https://master.php.net/note/delete/113499 Reject -- https://master.php.net/note/reject/113499 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#196591) next »