note 103938 added to arrayiterator.seek
| From: | php at mattjanssen dot com | Date: | Thu, 12 May 2011 15:53:54 +0000 |
| Subject: | note 103938 added to arrayiterator.seek | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-179660@lists.php.net to get a copy of this message | ||
If you call ->seek() on a position that doesn't exist, you'll get the following error:
PHP Fatal error: Uncaught exception 'OutOfBoundsException' with message 'Seek
position 10 is out of range' in script.php:1
----
Server IP: 69.147.83.197
Probable Submitter: 75.72.80.156
----
Manual Page -- http://www.php.net/manual/en/arrayiterator.seek.php
Edit -- https://master.php.net/note/edit/103938
Del: integrated -- https://master.php.net/note/delete/103938/integrated
Del: useless -- https://master.php.net/note/delete/103938/useless
Del: bad code -- https://master.php.net/note/delete/103938/bad+code
Del: spam -- https://master.php.net/note/delete/103938/spam
Del: non-english -- https://master.php.net/note/delete/103938/non-english
Del: in docs -- https://master.php.net/note/delete/103938/in+docs
Del: other reasons-- https://master.php.net/note/delete/103938
Reject -- https://master.php.net/note/reject/103938
Search -- https://master.php.net/manage/user-notes.php