mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-15 16:38:54 +00:00
fix #36272: remove 2nd example, as it has nothing to do with str_split()
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@206676 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
321ea24215
commit
5f10a42677
1 changed files with 1 additions and 21 deletions
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.3 $ -->
|
||||
<!-- $Revision: 1.4 $ -->
|
||||
<refentry id="function.str-split">
|
||||
<refnamediv>
|
||||
<refname>str_split</refname>
|
||||
|
@ -77,26 +77,6 @@ Array
|
|||
</screen>
|
||||
</example>
|
||||
</para>
|
||||
<para>
|
||||
<example>
|
||||
<title>Examples related to <function>str_split</function></title>
|
||||
<programlisting role="php">
|
||||
<![CDATA[
|
||||
<?php
|
||||
|
||||
$str = "Hello Friend";
|
||||
|
||||
echo $str{0}; // H
|
||||
echo $str{8}; // i
|
||||
|
||||
// Creates: array('H','e','l','l','o',' ','F','r','i','e','n','d')
|
||||
$arr1 = preg_split('//', $str, -1, PREG_SPLIT_NO_EMPTY);
|
||||
|
||||
?>
|
||||
]]>
|
||||
</programlisting>
|
||||
</example>
|
||||
</para>
|
||||
<para>
|
||||
See also <function>chunk_split</function>,
|
||||
<function>preg_split</function>,
|
||||
|
|
Loading…
Reference in a new issue