Doc #74056 [Opn->Fbk]: Return of preg_match_all can be integer
| From: | requinix@php.net | Date: | Tue, 07 Feb 2017 13:38:38 +0000 |
| Subject: | Doc #74056 [Opn->Fbk]: Return of preg_match_all can be integer | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-14422@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=74056&edit=1
ID: 74056
Updated by: requinix@php.net
Reported by: vasilvestre at laposte dot net
Summary: Return of preg_match_all can be integer
-Status: Open
+Status: Feedback
Type: Documentation Problem
Package: Documentation problem
Operating System: Ubuntu 16.04
PHP Version: 7.0.15
Block user comment: N
Private report: N
New Comment:
That's right, it does return an integer.
What bug are you trying to report?
Previous Comments:
------------------------------------------------------------------------
[2017-02-07 13:35:10] vasilvestre at laposte dot net
Description:
------------
---
From manual page: http://www.php.net/function.preg-match-all
---
If you try the test script, you will see that preg_match_all return integer.
Test script:
---------------
echo preg_match_all("/[A-Za-z]/","I am");
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=74056&edit=1