From:             [EMAIL PROTECTED]
Operating system: Win 95
PHP version:      4.0.6
PHP Bug Type:     Regexps related
Bug description:  Max result in ereg

When i try this code , i can't get more than the 9th result.

<?

$string = "abcdefghijklmnopqrstuvwxyz";

ereg ("^(.)(.)(.)(.)(.)(.)(.)(.)(.)(.)(.)(.)(.)(.)(.)(.)(.)(.)(.)(.).*$",
$string, $buffer) ;
print $string."<BR>";
$i=1;
while ($i<20){ 
        print "$i : $buffer[$i]<br>";
        $i++;
}

?>

Thanks.
-- 
Edit bug report at http://bugs.php.net/?id=15626&edit=1
-- 
Fixed in CVS:        http://bugs.php.net/fix.php?id=15626&r=fixedcvs
Fixed in release:    http://bugs.php.net/fix.php?id=15626&r=alreadyfixed
Need backtrace:      http://bugs.php.net/fix.php?id=15626&r=needtrace
Try newer version:   http://bugs.php.net/fix.php?id=15626&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=15626&r=support
Expected behavior:   http://bugs.php.net/fix.php?id=15626&r=notwrong
Not enough info:     http://bugs.php.net/fix.php?id=15626&r=notenoughinfo
Submitted twice:     http://bugs.php.net/fix.php?id=15626&r=submittedtwice

Reply via email to