Bug #15626 Updated: Max result in ereg

From: Date: Tue, 19 Feb 2002 18:02:24 +0000
Subject: Bug #15626 Updated: Max result in ereg
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-599@lists.php.net to get a copy of this message
ID: 15626 Updated by: jan@php.net Reported By: xbouli@hotmail.com -Status: Open +Status: Bogus Bug Type: Regexps related Operating System: Win 95 PHP Version: 4.0.6 New Comment: This is not a bug. Please double-check the documentation available at http://www.php.net/manual/ and the instructions on how to report a bug at http://bugs.php.net/how-to-report.php Previous Comments: ------------------------------------------------------------------------ [2002-02-19 12:54:56] xbouli@hotmail.com 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 this bug report at http://bugs.php.net/?id=15626&edit=1

« previous php.bugs (#599) next »