PHP 4.0 Bug #1938 Updated: tests/dba.php from php3 fails with php4
| From: | Bug Database | Date: | Tue, 17 Aug 1999 12:23:50 +0000 |
| Subject: | PHP 4.0 Bug #1938 Updated: tests/dba.php from php3 fails with php4 | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-9913@lists.php.net to get a copy of this message | ||
ID: 1938
Updated by: danny
Reported By: danny.heijl@cevi.be
Status: Closed
Bug Type: DBM/DBA related
Assigned To:
Comments:
In php3 the value 0 was treated as a valid key.
This is no longer the case in php4.
The test loop variable started from 0 and was used as the key.
Changing the test loops to start from 1 fixes the problem.
Full Bug description available at: http://bugs.php.net/version4/?id=1938