Bug #15626: Max result in ereg

From: Date: Tue, 19 Feb 2002 17:54:57 +0000
Subject: Bug #15626: Max result in ereg
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-598@lists.php.net to get a copy of this message
From: xbouli@hotmail.com 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

« previous php.bugs (#598) next »