Doc #62774 [Opn->Nab]: split is deprecated since 5.3, okay. what to use instead? suggestion missing.
| From: | krakjoe@php.net | Date: | Thu, 15 Nov 2012 09:58:11 +0000 |
| Subject: | Doc #62774 [Opn->Nab]: split is deprecated since 5.3, okay. what to use instead? suggestion missing. | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-9141@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=62774&edit=1
ID: 62774
Updated by: krakjoe@php.net
Reported by: aseleznyov at parallels dot com
Summary: split is deprecated since 5.3, okay. what to use
instead? suggestion missing.
-Status: Open
+Status: Not a bug
Type: Documentation Problem
Package: Documentation problem
PHP Version: Irrelevant
Block user comment: N
Private report: N
New Comment:
Sorry, but your problem does not imply a bug in PHP itself. For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system
is not the
appropriate forum for asking support questions. Due to the volume
of reports we can not explain in detail here why your report is not
a bug. The support channels will be able to provide an explanation
for you.
Thank you for your interest in PHP.
"See Also" is the established way of conveying this information.
Previous Comments:
------------------------------------------------------------------------
[2012-08-08 08:28:40] aseleznyov at parallels dot com
Yes, suggestion should be within the Big Red Box.
Without it here, reader is forced to read through the whole description of already deprecated
function, and this seems nonsense.
Probably, just "Use preg_split()[link] or explode()[link] instead." at the end warning
message.
------------------------------------------------------------------------
[2012-08-08 08:07:33] salathe@php.net
I encourage you to keep reading the page. Further down, we have several notes
suggesting to use the PCRE extension and in particular preg_split(). The page
also mentions "the list of differences" (between POSIX and PCRE regex), which
contains a table of suggested replacements for the POSIX regex functions.
Is that enough to find the information that you're wanting, or are you really
just trying to push for "hey, use preg_split()!" within the Big Red Box?
------------------------------------------------------------------------
[2012-08-08 07:22:51] aseleznyov at parallels dot com
Description:
------------
---
From manual page: http://www.php.net/function.split#refsect1-function.split-description
---
Test script:
---------------
suggestion is missing, what to use instead of deprecated split() function.
Expected result:
----------------
suggestion is added next to deprecation warning.
Actual result:
--------------
suggestion is missing.
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=62774&edit=1