xref: /PHP-5.6/ext/ctype/ctype.xml (revision 9d468a33)
1 <reference id="ref.ctype">
2  <title>Character type functions</title>
3  <titleabbrev>ctype</titleabbrev>
4
5  <partintro>
6   <para>
7    These functions check whether a character or string
8    falls into a certain character class according to the i
9    current locale.
10   </para>
11   <para>
12    When called with an integer argument theese functions
13    behave exactly like their C counterparts.
14   </para>
15   <para>
16    When called with a string argument they will check
17    every character in the string and will only return
18    true if every character in the string matches the
19    requested criteria.
20   </para>
21   <para>
22    Passing anything else but a string or integer will
23    return false immediately.
24   </para>
25  </partintro>
26
27
28  <refentry id="function.isalnum">
29   <refnamediv>
30    <refname>isalnum</refname>
31    <refpurpose>Check for alphanumeric character(s)</refpurpose>
32   </refnamediv>
33   <refsect1>
34    <title>Description</title>
35    <funcsynopsis>
36     <funcprototype>
37      <funcdef>bool <function>isalnum</function></funcdef>
38     <paramdef>string <parameter>c</parameter></paramdef>
39     </funcprototype>
40    </funcsynopsis>
41    <para>
42     See also <function>setlocale</function>.
43    </para>
44   </refsect1>
45  </refentry>
46
47  <refentry id="function.isalpha">
48   <refnamediv>
49    <refname>isalpha</refname>
50    <refpurpose></refpurpose>
51   </refnamediv>
52   <refsect1>
53    <title>Description</title>
54    <funcsynopsis>
55     <funcprototype>
56      <funcdef>bool <function>isalpha</function></funcdef>
57     <paramdef>string <parameter>c</parameter></paramdef>
58     </funcprototype>
59    </funcsynopsis>
60    <para>
61    </para>
62   </refsect1>
63  </refentry>
64
65  <refentry id="function.iscntrl">
66   <refnamediv>
67    <refname>iscntrl</refname>
68    <refpurpose></refpurpose>
69   </refnamediv>
70   <refsect1>
71    <title>Description</title>
72    <funcsynopsis>
73     <funcprototype>
74      <funcdef>bool <function>iscntrl</function></funcdef>
75     <paramdef>string <parameter>c</parameter></paramdef>
76     </funcprototype>
77    </funcsynopsis>
78    <para>
79    </para>
80   </refsect1>
81  </refentry>
82
83  <refentry id="function.isdigit">
84   <refnamediv>
85    <refname>isdigit</refname>
86    <refpurpose></refpurpose>
87   </refnamediv>
88   <refsect1>
89    <title>Description</title>
90    <funcsynopsis>
91     <funcprototype>
92      <funcdef>bool <function>isdigit</function></funcdef>
93     <paramdef>string <parameter>c</parameter></paramdef>
94     </funcprototype>
95    </funcsynopsis>
96    <para>
97    </para>
98   </refsect1>
99  </refentry>
100
101  <refentry id="function.islower">
102   <refnamediv>
103    <refname>islower</refname>
104    <refpurpose></refpurpose>
105   </refnamediv>
106   <refsect1>
107    <title>Description</title>
108    <funcsynopsis>
109     <funcprototype>
110      <funcdef>bool <function>islower</function></funcdef>
111     <paramdef>string <parameter>c</parameter></paramdef>
112     </funcprototype>
113    </funcsynopsis>
114    <para>
115    </para>
116   </refsect1>
117  </refentry>
118
119  <refentry id="function.isgraph">
120   <refnamediv>
121    <refname>isgraph</refname>
122    <refpurpose></refpurpose>
123   </refnamediv>
124   <refsect1>
125    <title>Description</title>
126    <funcsynopsis>
127     <funcprototype>
128      <funcdef>bool <function>isgraph</function></funcdef>
129     <paramdef>string <parameter>c</parameter></paramdef>
130     </funcprototype>
131    </funcsynopsis>
132    <para>
133    </para>
134   </refsect1>
135  </refentry>
136
137  <refentry id="function.isprint">
138   <refnamediv>
139    <refname>isprint</refname>
140    <refpurpose></refpurpose>
141   </refnamediv>
142   <refsect1>
143    <title>Description</title>
144    <funcsynopsis>
145     <funcprototype>
146      <funcdef>bool <function>isprint</function></funcdef>
147     <paramdef>string <parameter>c</parameter></paramdef>
148     </funcprototype>
149    </funcsynopsis>
150    <para>
151    </para>
152   </refsect1>
153  </refentry>
154
155  <refentry id="function.ispunct">
156   <refnamediv>
157    <refname>ispunct</refname>
158    <refpurpose></refpurpose>
159   </refnamediv>
160   <refsect1>
161    <title>Description</title>
162    <funcsynopsis>
163     <funcprototype>
164      <funcdef>bool <function>ispunct</function></funcdef>
165     <paramdef>string <parameter>c</parameter></paramdef>
166     </funcprototype>
167    </funcsynopsis>
168    <para>
169    </para>
170   </refsect1>
171  </refentry>
172
173  <refentry id="function.isspace">
174   <refnamediv>
175    <refname>isspace</refname>
176    <refpurpose></refpurpose>
177   </refnamediv>
178   <refsect1>
179    <title>Description</title>
180    <funcsynopsis>
181     <funcprototype>
182      <funcdef>bool <function>isspace</function></funcdef>
183     <paramdef>string <parameter>c</parameter></paramdef>
184     </funcprototype>
185    </funcsynopsis>
186    <para>
187    </para>
188   </refsect1>
189  </refentry>
190
191  <refentry id="function.isupper">
192   <refnamediv>
193    <refname>isupper</refname>
194    <refpurpose></refpurpose>
195   </refnamediv>
196   <refsect1>
197    <title>Description</title>
198    <funcsynopsis>
199     <funcprototype>
200      <funcdef>bool <function>isupper</function></funcdef>
201     <paramdef>string <parameter>c</parameter></paramdef>
202     </funcprototype>
203    </funcsynopsis>
204    <para>
205    </para>
206   </refsect1>
207  </refentry>
208
209  <refentry id="function.isxdigit">
210   <refnamediv>
211    <refname>isxdigit</refname>
212    <refpurpose></refpurpose>
213   </refnamediv>
214   <refsect1>
215    <title>Description</title>
216    <funcsynopsis>
217     <funcprototype>
218      <funcdef>bool <function>isxdigit</function></funcdef>
219     <paramdef>string <parameter>c</parameter></paramdef>
220     </funcprototype>
221    </funcsynopsis>
222    <para>
223    </para>
224   </refsect1>
225  </refentry>
226
227 </reference>
228
229<!-- Keep this comment at the end of the file
230Local variables:
231mode: sgml
232sgml-omittag:t
233sgml-shorttag:t
234sgml-minimize-attributes:nil
235sgml-always-quote-attributes:t
236sgml-indent-step:1
237sgml-indent-data:t
238sgml-parent-document:nil
239sgml-default-dtd-file:"../../manual.ced"
240sgml-exposed-tags:nil
241sgml-local-catalogs:nil
242sgml-local-ecat-files:nil
243End:
244-->
245
246