mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
Added note to split (TODO: add to spliti and other split/explode like
functions) git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@56251 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
80ef80a0d1
commit
e8e836ca34
1 changed files with 12 additions and 1 deletions
|
@ -1,5 +1,5 @@
|
|||
<?xml encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.25 $ -->
|
||||
<!-- $Revision: 1.26 $ -->
|
||||
<reference id="ref.regex">
|
||||
<title>Regular Expression Functions (POSIX Extended)</title>
|
||||
<titleabbrev>Regexps</titleabbrev>
|
||||
|
@ -325,6 +325,16 @@ $passwd_list = split (":", $passwd_line, 5);
|
|||
</programlisting>
|
||||
</example>
|
||||
</para>
|
||||
<tip>
|
||||
<simpara>
|
||||
If there are <replaceable>n</replaceable> occurences of
|
||||
<parameter>pattern</parameter>, the returned array will contain
|
||||
<literal><replaceable>n</replaceable>+1</literal> items. For example, if
|
||||
there is no occurence of <parameter>pattern</parameter>, an array with
|
||||
only one element will be returned. Of course, this is also true if
|
||||
<parameter>string</parameter> is emply.
|
||||
</simpara>
|
||||
</tip>
|
||||
<para>
|
||||
To parse a date which may be delimited with slashes, dots, or
|
||||
hyphens:
|
||||
|
@ -467,4 +477,5 @@ sgml-exposed-tags:nil
|
|||
sgml-local-catalogs:nil
|
||||
sgml-local-ecat-files:nil
|
||||
End:
|
||||
vi: et:ts=1:sw=1:textwidth=78:syntax=sgml
|
||||
-->
|
||||
|
|
Loading…
Reference in a new issue