only thing i could think up would be if a user is dealing with huge amounts of text and only needs to have the first ten returned, returning/continuing past that would be wasteful....not confident on how often this would really happen and what the actual difference would be...
Jack -----Original Message----- From: Andrei Zmievski [mailto:[EMAIL PROTECTED]] Sent: Tuesday, December 18, 2001 12:40 PM To: [EMAIL PROTECTED] Subject: [PHP] preg_grep() and limit parameter Does anyone see a need for a limit parameter to preg_grep() that would limit the number of array entries returned? -Andrei * My wishlist: http://www.amazon.com/exec/obidos/wishlist/2Q2DIPY7BZLSH/ * -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]