Bug #15597: strange cycle
| From: | medlam at nextra dot sk | Date: | Mon, 18 Feb 2002 13:52:59 +0000 |
| Subject: | Bug #15597: strange cycle | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-497@lists.php.net to get a copy of this message | ||
From: medlam@nextra.sk
Operating system: Win, Free BDS, Linux + more ?
PHP version: 4.1.1
PHP Bug Type: *General Issues
Bug description: strange cycle
Why this:
for ( $j = "a"; $j <= "z"; $j++ ){
echo $j.", ";
}
is outputing this:
a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v, w, x, y,
z, aa, ab, ac, ad, ae, af, ag, ah, ai, aj, ak, al, am, an, ao, ap, aq, ar,
as, at, au, av, aw, ax, ay, az, ba, bb, bc, bd, be, bf, bg, bh, bi, bj,
bk, bl, bm, bn, ........ (etc. to the end) yw, yx, yy, yz,
but if you change "z" letter for "y" all works great.
--
Edit bug report at http://bugs.php.net/?id=15597&edit=1
--
Fixed in CVS: http://bugs.php.net/fix.php?id=15597&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=15597&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=15597&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=15597&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=15597&r=support
Expected behavior: http://bugs.php.net/fix.php?id=15597&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=15597&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=15597&r=submittedtwice