Doc #74056 [Fbk->Csd]: Return of preg_match_all can be integer
| From: | vasilvestre at laposte dot net | Date: | Wed, 08 Feb 2017 14:28:18 +0000 |
| Subject: | Doc #74056 [Fbk->Csd]: Return of preg_match_all can be integer | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-14425@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
User updated by: vasilvestre at laposte dot net
Reported by: vasilvestre at laposte dot net
Summary: Return of preg_match_all can be integer
-Status: Feedback
+Status: Closed
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:
my bad.. wrong doc lol
Previous Comments:
------------------------------------------------------------------------
[2017-02-07 13:38:37] requinix@php.net
That's right, it does return an integer.
What bug are you trying to report?
------------------------------------------------------------------------
[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