Doc #74056 [Csd->Nab]: Return of preg_match_all can be integer

From: Date: Wed, 08 Feb 2017 14:45:06 +0000
Subject: Doc #74056 [Csd->Nab]: Return of preg_match_all can be integer
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-14426@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: Closed +Status: Not a bug Type: Documentation Problem -Package: Documentation problem +Package: PCRE related Operating System: Ubuntu 16.04 PHP Version: 7.0.15 Block user comment: N Private report: N Previous Comments: ------------------------------------------------------------------------ [2017-02-08 14:28:17] vasilvestre at laposte dot net my bad.. wrong doc lol ------------------------------------------------------------------------ [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

« previous php.doc.bugs (#14426) next »