reference/strings/functions/strpbrk.xml
e095023e408c8cb6378ae16bb6870343a3946919
...
...
@@ -1,6 +1,6 @@
1
-
<?xml version='1.0' encoding="utf-8"?>
1
+
<?xml version="1.0" encoding="utf-8"?>
2
2
<!-- $Revision$ -->
3
-
<refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.strpbrk">
3
+
<refentry xml:id="function.strpbrk" xmlns="http://docbook.org/ns/docbook">
4
4
<refnamediv>
5
5
<refname>strpbrk</refname>
6
6
<refpurpose>Search a string for any of a set of characters</refpurpose>
...
...
@@ -9,13 +9,13 @@
9
9
<refsect1 role="description">
10
10
&reftitle.description;
11
11
<methodsynopsis>
12
-
<type>string</type><methodname>strpbrk</methodname>
13
-
<methodparam><type>string</type><parameter>haystack</parameter></methodparam>
14
-
<methodparam><type>string</type><parameter>char_list</parameter></methodparam>
12
+
<type class="union"><type>string</type><type>false</type></type><methodname>strpbrk</methodname>
13
+
<methodparam><type>string</type><parameter>string</parameter></methodparam>
14
+
<methodparam><type>string</type><parameter>characters</parameter></methodparam>
15
15
</methodsynopsis>
16
16
<para>
17
-
<function>strpbrk</function> searches the <parameter>haystack</parameter>
18
-
string for a <parameter>char_list</parameter>.
17
+
<function>strpbrk</function> searches the <parameter>string</parameter>
18
+
string for a <parameter>characters</parameter>.
19
19
</para>
20
20
</refsect1>
21
21

...
...
@@ -24,15 +24,15 @@
24
24
<para>
25
25
<variablelist>
26
26
<varlistentry>
27
-
<term><parameter>haystack</parameter></term>
27
+
<term><parameter>string</parameter></term>
28
28
<listitem>
29
29
<para>
30
-
The string where <parameter>char_list</parameter> is looked for.
30
+
The string where <parameter>characters</parameter> is looked for.
31
31
</para>
32
32
</listitem>
33
33
</varlistentry>
34
34
<varlistentry>
35
-
<term><parameter>char_list</parameter></term>
35
+
<term><parameter>characters</parameter></term>
36
36
<listitem>
37
37
<para>
38
38
This parameter is case sensitive.
...
...
@@ -74,8 +74,18 @@ echo strpbrk($text, 'S');
74
74
</para>
75
75
</refsect1>
76
76

77
-
</refentry>
77
+
<refsect1 role="seealso">
78
+
&reftitle.seealso;
79
+
<para>
80
+
<simplelist>
81
+
<member><function>strpos</function></member>
82
+
<member><function>strstr</function></member>
83
+
<member><function>preg_match</function></member>
84
+
</simplelist>
85
+
</para>
86
+
</refsect1>
78
87

88
+
</refentry>
79
89
<!-- Keep this comment at the end of the file
80
90
Local variables:
81
91
mode: sgml
82
92