Doc #65468 [Com]: preg_split - missing return value for bad way in doc

From: Date: Mon, 19 Aug 2013 10:43:36 +0000
Subject: Doc #65468 [Com]: preg_split - missing return value for bad way in doc
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-10182@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=65468&edit=1 ID: 65468 Comment by: gabri dot ns at gmail dot com Reported by: igordegraf at gmail dot com Summary: preg_split - missing return value for bad way in doc Status: Closed Type: Documentation Problem Package: Documentation problem PHP Version: 5.5.2 Assigned To: krakjoe Block user comment: N Private report: N New Comment: if this things fixed, then other function should be fixed to, like str_split, explode, preg_split, etc. Previous Comments: ------------------------------------------------------------------------ [2013-08-19 05:17:32] krakjoe@php.net This bug has been fixed in the documentation's XML sources. Since the online and downloadable versions of the documentation need some time to get updated, we would like to ask you to be a bit patient. Thank you for the report, and for helping us make our documentation better. ------------------------------------------------------------------------ [2013-08-19 05:17:27] krakjoe@php.net Automatic comment from SVN on behalf of krakjoe Revision: http://svn.php.net/viewvc/?view=revision&revision=331152 Log: add tip for #65468 ------------------------------------------------------------------------ [2013-08-17 18:45:33] igordegraf at gmail dot com Description: ------------ --- From manual page: http://www.php.net/function.preg-split#refsect1-function.preg- split-returnvalues --- if func cant find pattern in string what value should be in output. developher shold be warned. Function returned array with single element that contains original string. ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=65468&edit=1

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