|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #15597 strange cycle
Submitted: 2002-02-18 08:52 UTC Modified: 2002-02-18 09:06 UTC
Avg. Score:1.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:1 (100.0%)
From: medlam at nextra dot sk Assigned:
Status: Not a bug Package: *General Issues
PHP Version: 4.1.1 OS: Win, Free BDS, Linux + more ?
Private report: No CVE-ID: None
 [2002-02-18 08:52 UTC] medlam at nextra dot sk
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.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2002-02-18 09:06 UTC]
The bug system is not the appropriate forum for asking support
questions. For a list of a range of more appropriate places to ask
for help using PHP, please visit
PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Mon Sep 25 23:01:26 2023 UTC