[prev in list] [next in list] [prev in thread] [next in thread] 

List:       php-doc-cvs
Subject:    [DOC-CVS] [doc-en] master: Remove split() and ereg()
From:       Kamil Tekiela via GitHub <noreply () php ! net>
Date:       2021-06-23 18:20:40
Message-ID: UP6hXwSJftBsiUwr5MM77nAAa7DwocU6cSwLGTsgo () main ! php ! net
[Download RAW message or body]

Author: Kamil Tekiela (kamil-tekiela)
Committer: GitHub (web-flow)
Pusher: cmb69
Date: 2021-06-23T20:20:58+02:00

Commit: https://github.com/php/doc-en/commit/d335ba69a16f4013280de8e3e71d9ba19fe3cb3c
Raw diff: https://github.com/php/doc-en/commit/d335ba69a16f4013280de8e3e71d9ba19fe3cb3c.diff


Remove split() and ereg()

Closes GH-716.

Changed paths:
  M  reference/array/reference.xml
  M  reference/mbstring/overloading.xml
  M  reference/strings/functions/chunk-split.xml
  M  reference/strings/functions/quotemeta.xml
  M  reference/strings/functions/str-word-count.xml
  M  reference/strings/functions/strtok.xml


Diff:

diff --git a/reference/array/reference.xml b/reference/array/reference.xml
index 2dfc50c546..1cfdc2cd46 100644
--- a/reference/array/reference.xml
+++ b/reference/array/reference.xml
@@ -7,7 +7,7 @@
    &reftitle.seealso;
    <para>
     See also <function>is_array</function>, <function>explode</function>,
-    <function>implode</function>, <function>split</function>,
+    <function>implode</function>,
     <function>preg_split</function>, and <function>unset</function>.
    </para>
  </partintro>
diff --git a/reference/mbstring/overloading.xml b/reference/mbstring/overloading.xml
index ffce94fe9b..5d20dda36c 100644
--- a/reference/mbstring/overloading.xml
+++ b/reference/mbstring/overloading.xml
@@ -111,31 +111,6 @@
       <entry><function>substr_count</function></entry>
       <entry><function>mb_substr_count</function></entry>
      </row>
-     <row>
-      <entry>4</entry>
-      <entry><function>ereg</function></entry>
-      <entry><function>mb_ereg</function></entry>
-     </row>
-     <row>
-      <entry>4</entry>
-      <entry><function>eregi</function></entry>
-      <entry><function>mb_eregi</function></entry>
-     </row>
-     <row>
-      <entry>4</entry>
-      <entry><function>ereg_replace</function></entry>
-      <entry><function>mb_ereg_replace</function></entry>
-     </row>
-     <row>
-      <entry>4</entry>
-      <entry><function>eregi_replace</function></entry>
-      <entry><function>mb_eregi_replace</function></entry>
-     </row>
-     <row>
-      <entry>4</entry>
-      <entry><function>split</function></entry>
-      <entry><function>mb_split</function></entry>
-     </row>
     </tbody>
    </tgroup>
   </table>
diff --git a/reference/strings/functions/chunk-split.xml \
b/reference/strings/functions/chunk-split.xml index 95fd0b55db..b15ae65e81 100644
--- a/reference/strings/functions/chunk-split.xml
+++ b/reference/strings/functions/chunk-split.xml
@@ -84,7 +84,6 @@ $new_string = chunk_split(base64_encode($data));
    <simplelist>
     <member><function>str_split</function></member>
     <member><function>explode</function></member>
-    <member><function>split</function></member>
     <member><function>wordwrap</function></member>
     <member><link xlink:href="&url.rfc;2045">RFC 2045</link></member>
    </simplelist>
diff --git a/reference/strings/functions/quotemeta.xml \
b/reference/strings/functions/quotemeta.xml index 55c6b04e27..5c44ac2559 100644
--- a/reference/strings/functions/quotemeta.xml
+++ b/reference/strings/functions/quotemeta.xml
@@ -59,7 +59,6 @@
     <member><function>nl2br</function></member>
     <member><function>stripslashes</function></member>
     <member><function>stripcslashes</function></member>
-    <member><function>ereg</function></member>
     <member><function>preg_quote</function></member>
    </simplelist>
   </para>
diff --git a/reference/strings/functions/str-word-count.xml \
b/reference/strings/functions/str-word-count.xml index c3207d9e9c..3f5cc84c0a 100644
--- a/reference/strings/functions/str-word-count.xml
+++ b/reference/strings/functions/str-word-count.xml
@@ -184,7 +184,6 @@ Array
    <simplelist>
     <member><function>explode</function></member>
     <member><function>preg_split</function></member>
-    <member><function>split</function></member>
     <member><function>count_chars</function></member>
     <member><function>substr_count</function></member>
    </simplelist>
diff --git a/reference/strings/functions/strtok.xml \
b/reference/strings/functions/strtok.xml index 95800b4422..692dd60a59 100644
--- a/reference/strings/functions/strtok.xml
+++ b/reference/strings/functions/strtok.xml
@@ -168,7 +168,6 @@ echo json_encode($parts),"\n";
   &reftitle.seealso;
   <para>
    <simplelist>
-    <member><function>split</function></member>
     <member><function>explode</function></member>
    </simplelist>
   </para>

-- 
PHP Documentation Commits Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic