#38876 [Bgs->Csd]: i do not see the flag for this

From: Date: Tue, 19 Sep 2006 18:15:15 +0000
Subject: #38876 [Bgs->Csd]: i do not see the flag for this
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-102439@lists.php.net to get a copy of this message
 ID:               38876
 User updated by:  itunes66 at gmail dot com
 Reported By:      itunes66 at gmail dot com
-Status:           Bogus
+Status:           Closed
 Bug Type:         Feature/Change Request
 Operating System: Linux
 PHP Version:      5.1.6
 New Comment:

oh, i see its kinda out of place i think the text "Returns the 
number of full pattern matches (which might be zero), or FALSE 
if an error occurred." should be in bold or a note or 
itacilised to make it more noticable :), thank you


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

[2006-09-19 17:59:19] derick@php.net

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

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

[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] derick@php.net

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


Thread (6 messages)

« previous php.bugs (#102439) next »