3 * Automatically generated by running "php schema.php ctype".
5 * You may modify the file, but re-running schema.php against this file will
6 * standardize the format without losing your schema changes. It does lose
7 * any changes that are not part of schema. Use "note" field to comment on
8 * schema itself, and "note" fields are not used in any code generation but
9 * only staying within this file.
11 ///////////////////////////////////////////////////////////////////////////////
12 // Preamble: C++ code inserted at beginning of ext_{name}.h
19 ///////////////////////////////////////////////////////////////////////////////
23 // 'name' => name of the constant
24 // 'type' => type of the constant
25 // 'note' => additional note about this constant's schema
29 ///////////////////////////////////////////////////////////////////////////////
33 // 'name' => name of the function
34 // 'desc' => description of the function's purpose
35 // 'flags' => attributes of the function, see base.php for possible values
36 // 'opt' => optimization callback function's name for compiler
37 // 'note' => additional note about this function's schema
40 // 'type' => return type, use Reference for ref return
41 // 'desc' => description of the return value
43 // 'args' => arguments
45 // 'name' => name of the argument
46 // 'type' => type of the argument, use Reference for output parameter
47 // 'value' => default value of the argument
48 // 'desc' => description of the argument
54 'name' => "ctype_alnum",
55 'desc' => "Checks if all of the characters in the provided string, text, are alphanumeric. In the standard C locale letters are just [A-Za-z].",
56 'flags' => HasDocComment
,
59 'desc' => "Returns TRUE if every character in text is either a letter or a digit, FALSE otherwise.",
65 'desc' => "The tested string.",
68 'taint_observer' => false,
73 'name' => "ctype_alpha",
74 'desc' => "Checks if all of the characters in the provided string, text, are alphabetic. In the standard C locale letters are just [A-Za-z] and ctype_alpha() is equivalent to (ctype_upper(\$text) || ctype_lower(\$text)) if \$text is just a single character, but other languages have letters that are considered neither upper nor lower case.",
75 'flags' => HasDocComment
,
78 'desc' => "Returns TRUE if every character in text is a letter from the current locale, FALSE otherwise.",
84 'desc' => "The tested string.",
87 'taint_observer' => false,
92 'name' => "ctype_cntrl",
93 'desc' => "Checks if all of the characters in the provided string, text, are control characters. Control characters are e.g. line feed, tab, escape.",
94 'flags' => HasDocComment
,
97 'desc' => "Returns TRUE if every character in text is a control character from the current locale, FALSE otherwise.",
103 'desc' => "The tested string.",
106 'taint_observer' => false,
111 'name' => "ctype_digit",
112 'desc' => "Checks if all of the characters in the provided string, text, are numerical.",
113 'flags' => HasDocComment
,
116 'desc' => "Returns TRUE if every character in the string text is a decimal digit, FALSE otherwise.",
122 'desc' => "The tested string.",
125 'taint_observer' => false,
130 'name' => "ctype_graph",
131 'desc' => "Checks if all of the characters in the provided string, text, creates visible output.",
132 'flags' => HasDocComment
,
135 'desc' => "Returns TRUE if every character in text is printable and actually creates visible output (no white space), FALSE otherwise.",
141 'desc' => "The tested string.",
144 'taint_observer' => false,
149 'name' => "ctype_lower",
150 'desc' => "Checks if all of the characters in the provided string, text, are lowercase letters.",
151 'flags' => HasDocComment
,
154 'desc' => "Returns TRUE if every character in text is a lowercase letter in the current locale.",
160 'desc' => "The tested string.",
163 'taint_observer' => false,
168 'name' => "ctype_print",
169 'desc' => "Checks if all of the characters in the provided string, text, are printable.",
170 'flags' => HasDocComment
,
173 'desc' => "Returns TRUE if every character in text will actually create output (including blanks). Returns FALSE if text contains control characters or characters that do not have any output or control function at all.",
179 'desc' => "The tested string.",
182 'taint_observer' => false,
187 'name' => "ctype_punct",
188 'desc' => "Checks if all of the characters in the provided string, text, are punctuation character.",
189 'flags' => HasDocComment
,
192 'desc' => "Returns TRUE if every character in text is printable, but neither letter, digit or blank, FALSE otherwise.",
198 'desc' => "The tested string.",
201 'taint_observer' => false,
206 'name' => "ctype_space",
207 'desc' => "Checks if all of the characters in the provided string, text, creates whitespace.",
208 'flags' => HasDocComment
,
211 'desc' => "Returns TRUE if every character in text creates some sort of white space, FALSE otherwise. Besides the blank character this also includes tab, vertical tab, line feed, carriage return and form feed characters.",
217 'desc' => "The tested string.",
220 'taint_observer' => false,
225 'name' => "ctype_upper",
226 'desc' => "Checks if all of the characters in the provided string, text, are uppercase characters.",
227 'flags' => HasDocComment
,
230 'desc' => "Returns TRUE if every character in text is an uppercase letter in the current locale.",
236 'desc' => "The tested string.",
239 'taint_observer' => false,
244 'name' => "ctype_xdigit",
245 'desc' => "Checks if all of the characters in the provided string, text, are hexadecimal 'digits'.",
246 'flags' => HasDocComment
,
249 'desc' => "Returns TRUE if every character in text is a hexadecimal 'digit', that is a decimal digit or a character from [A-Fa-f] , FALSE otherwise.",
255 'desc' => "The tested string.",
258 'taint_observer' => false,
262 ///////////////////////////////////////////////////////////////////////////////
267 // 'name' => name of the class
268 // 'desc' => description of the class's purpose
269 // 'flags' => attributes of the class, see base.php for possible values
270 // 'note' => additional note about this class's schema
271 // 'parent' => parent class name, if any
272 // 'ifaces' => array of interfaces tihs class implements
273 // 'bases' => extra internal and special base classes this class requires
274 // 'footer' => extra C++ inserted at end of class declaration
277 // DefineConstant(..)
278 // DefineConstant(..)
280 // DefineFunction(..)
281 // DefineFunction(..)
287 // 'name' => name of the property
288 // 'type' => type of the property
289 // 'flags' => attributes of the property
290 // 'desc' => description of the property
291 // 'note' => additional note about this property's schema