ID:               38876
 Updated by:       [EMAIL PROTECTED]
 Reported By:      itunes66 at gmail dot com
-Status:           Open
+Status:           Bogus
 Bug Type:         Feature/Change Request
 Operating System: Linux
 PHP Version:      5.1.6
 New Comment:

It's simply the return value of the function.. .it's in the manual so
please read it once more.


Previous Comments:
------------------------------------------------------------------------

[2006-09-19 17:53:48] itunes66 at gmail dot com

i do not see where it returns the complete number of results 
matched, could you point this out to me

------------------------------------------------------------------------

[2006-09-19 07:14:47] [EMAIL PROTECTED]

It already does this, see the documentation at:
http://uk.php.net/preg_match_all

------------------------------------------------------------------------

[2006-09-19 03:09:31] itunes66 at gmail dot com

Description:
------------
if possible add a constant to make preg_match_all return a 
number of how many matches there were e.g. PREG_COUNT, 
PREG_COUNT_MATCHES, or something like that it would be very 
useful and alot eaisier than running a while loop over the 
code and incrementing variables in the loop

Reproduce code:
---------------
none

Actual result:
--------------
none


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=38876&edit=1

Reply via email to