#27384 [Opn->Csd]: unpack() misbehaves with 1 char string
| From: | derick@php.net | Date: | Tue, 02 Mar 2004 20:44:36 +0000 |
| Subject: | #27384 [Opn->Csd]: unpack() misbehaves with 1 char string | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-55808@lists.php.net to get a copy of this message | ||
ID: 27384
Updated by: derick@php.net
Reported By: hayk at mail dot ru
-Status: Open
+Status: Closed
Bug Type: Strings related
Operating System: *
PHP Version: 4.3.4
Previous Comments:
------------------------------------------------------------------------
[2004-03-02 15:40:12] hayk at mail dot ru
Why array indexes begins from 1, but not from 0?
------------------------------------------------------------------------
[2004-03-02 15:40:10] hayk at mail dot ru
Why array indexes begins from 1, but not from 0?
------------------------------------------------------------------------
[2004-02-25 15:43:47] hayk at mail dot ru
By the way, array indexes usually begin from 0, not from 1.
------------------------------------------------------------------------
[2004-02-25 07:29:18] sniper@php.net
And fix was merged to the stable branch too..
------------------------------------------------------------------------
[2004-02-24 16:42:55] gschlossnagle@php.net
This bug has been fixed in CVS.
Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
Thank you for the report, and for helping us make PHP better.
I see what you're saying now. This has been fixed in
HEAD.
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/27384
--
Edit this bug report at http://bugs.php.net/?id=27384&edit=1