Bug #3153 Updated: while loop in consequtive calls to a function fails
| From: | Bug Database | Date: | Sun, 09 Jan 2000 05:07:55 +0000 |
| Subject: | Bug #3153 Updated: while loop in consequtive calls to a function fails | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-14439@lists.php.net to get a copy of this message | ||
ID: 3153
Updated by: rasmus
Reported By: bojanland@home.com
Status: Closed
Bug Type: Misbehaving function
Assigned To:
Comments:
That would be because the $pageinfo array has not been reset between calls. Since $pageinfo is a
global array the internal array pointer is not reset between calls.
Just add a reset($pageinfo) call before that loop to fix it.
Full Bug description available at: http://bugs.php.net/?id=3153