-
Notifications
You must be signed in to change notification settings - Fork 0
/
strings.php
414 lines (409 loc) · 14.2 KB
/
strings.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
<!DOCTYPE html>
<html>
<body>
<?php
// Downloaded from https://github.com/KuKapoor02
// Visit https://www.ourcoaching.com/
$ourcoaching_1= 3123;
?>
<table class="w3-table-all notranslate">
<tr>
<th style="width:30%">Function</th>
<th style="width:70%">Description</th>
</tr>
<tr>
<td><a href="func_string_addcslashes.asp">addcslashes()</a></td>
<td>Returns a string with backslashes in front of the specified characters</td>
</tr>
<tr>
<td><a href="func_string_addslashes.asp">addslashes()</a></td>
<td>Returns a string with backslashes in front of predefined characters</td>
</tr>
<tr>
<td><a href="func_string_bin2hex.asp">bin2hex()</a></td>
<td>Converts a string of ASCII characters to hexadecimal values</td>
</tr>
<tr>
<td><a href="func_string_chop.asp">chop()</a></td>
<td>Removes whitespace or other characters from the right end of a string</td>
</tr>
<tr>
<td><a href="func_string_chr.asp">chr()</a></td>
<td>Returns a character from a specified ASCII value</td>
</tr>
<tr>
<td><a href="func_string_chunk_split.asp">chunk_split()</a></td>
<td>Splits a string into a series of smaller parts</td>
</tr>
<tr>
<td><a href="func_string_convert_cyr_string.asp">convert_cyr_string()</a></td>
<td>Converts a string from one Cyrillic character-set to another</td>
</tr>
<tr>
<td><a href="func_string_convert_uudecode.asp">convert_uudecode()</a></td>
<td>Decodes a uuencoded string</td>
</tr>
<tr>
<td><a href="func_string_convert_uuencode.asp">convert_uuencode()</a></td>
<td>Encodes a string using the uuencode algorithm</td>
</tr>
<tr>
<td><a href="func_string_count_chars.asp">count_chars()</a></td>
<td>Returns information about characters used in a string</td>
</tr>
<tr>
<td><a href="func_string_crc32.asp">crc32()</a></td>
<td>Calculates a 32-bit CRC for a string</td>
</tr>
<tr>
<td><a href="func_string_crypt.asp">crypt()</a></td>
<td>One-way string hashing</td>
</tr>
<tr>
<td><a href="func_string_echo.asp">echo()</a></td>
<td>Outputs one or more strings</td>
</tr>
<tr>
<td><a href="func_string_explode.asp">explode()</a></td>
<td>Breaks a string into an array</td>
</tr>
<tr>
<td><a href="func_string_fprintf.asp">fprintf()</a></td>
<td>Writes a formatted string to a specified output stream</td>
</tr>
<tr>
<td><a href="func_string_get_html_translation_table.asp">get_html_translation_table()</a></td>
<td>Returns the translation table used by htmlspecialchars() and htmlentities()</td>
</tr>
<tr>
<td style="height: 31px"><a href="func_string_hebrev.asp">hebrev()</a></td>
<td style="height: 31px">Converts Hebrew text to visual text</td>
</tr>
<tr>
<td><a href="func_string_hebrevc.asp">hebrevc()</a></td>
<td>Converts Hebrew text to visual text and new lines (\n) into <br></td>
</tr>
<tr>
<td><a href="func_string_hex2bin.asp">hex2bin()</a></td>
<td>Converts a string of hexadecimal values to ASCII characters</td>
</tr>
<tr>
<td><a href="func_string_html_entity_decode.asp">html_entity_decode()</a></td>
<td>Converts HTML entities to characters</td>
</tr>
<tr>
<td><a href="func_string_htmlentities.asp">htmlentities()</a></td>
<td>Converts characters to HTML entities</td>
</tr>
<tr>
<td><a href="func_string_htmlspecialchars_decode.asp">htmlspecialchars_decode()</a></td>
<td>Converts some predefined HTML entities to characters</td>
</tr>
<tr>
<td><a href="func_string_htmlspecialchars.asp">htmlspecialchars()</a></td>
<td>Converts some predefined characters to HTML entities</td>
</tr>
<tr>
<td><a href="func_string_implode.asp">implode()</a></td>
<td>Returns a string from the elements of an array</td>
</tr>
<tr>
<td><a href="func_string_join.asp">join()</a></td>
<td>Alias of <a href="func_string_implode.asp">implode()</a></td>
</tr>
<tr>
<td><a href="func_string_lcfirst.asp">lcfirst()</a></td>
<td>Converts the first character of a string to lowercase</td>
</tr>
<tr>
<td><a href="func_string_levenshtein.asp">levenshtein()</a></td>
<td>Returns the Levenshtein distance between two strings</td>
</tr>
<tr>
<td><a href="func_string_localeconv.asp">localeconv()</a></td>
<td>Returns locale numeric and monetary formatting information</td>
</tr>
<tr>
<td><a href="func_string_ltrim.asp">ltrim()</a></td>
<td>Removes whitespace or other characters from the left side of a string</td>
</tr>
<tr>
<td><a href="func_string_md5.asp">md5()</a></td>
<td>Calculates the MD5 hash of a string</td>
</tr>
<tr>
<td><a href="func_string_md5_file.asp">md5_file()</a></td>
<td>Calculates the MD5 hash of a file</td>
</tr>
<tr>
<td><a href="func_string_metaphone.asp">metaphone()</a></td>
<td>Calculates the metaphone key of a string</td>
</tr>
<tr>
<td><a href="func_string_money_format.asp">money_format()</a></td>
<td>Returns a string formatted as a currency string</td>
</tr>
<tr>
<td><a href="func_string_nl_langinfo.asp">nl_langinfo()</a></td>
<td>Returns specific local information</td>
</tr>
<tr>
<td><a href="func_string_nl2br.asp">nl2br()</a></td>
<td>Inserts HTML line breaks in front
of each newline in a string</td>
</tr>
<tr>
<td><a href="func_string_number_format.asp">number_format()</a></td>
<td>Formats a number with grouped thousands</td>
</tr>
<tr>
<td><a href="func_string_ord.asp">ord()</a></td>
<td>Returns the ASCII value of the first character of a string</td>
</tr>
<tr>
<td><a href="func_string_parse_str.asp">parse_str()</a></td>
<td>Parses a query string into variables</td>
</tr>
<tr>
<td><a href="func_string_print.asp">print()</a></td>
<td>Outputs one or more strings</td>
</tr>
<tr>
<td><a href="func_string_printf.asp">printf()</a></td>
<td>Outputs a formatted string</td>
</tr>
<tr>
<td><a href="func_string_quoted_printable_decode.asp">quoted_printable_decode()</a></td>
<td>Converts a quoted-printable string to an 8-bit string</td>
</tr>
<tr>
<td><a href="func_string_quoted_printable_encode.asp">quoted_printable_encode()</a></td>
<td>Converts an 8-bit string to a quoted printable string</td>
</tr>
<tr>
<td><a href="func_string_quotemeta.asp">quotemeta()</a></td>
<td>Quotes meta characters</td>
</tr>
<tr>
<td><a href="func_string_rtrim.asp">rtrim()</a></td>
<td>Removes whitespace or other characters from the right side of a string</td>
</tr>
<tr>
<td><a href="func_string_setlocale.asp">setlocale()</a></td>
<td>Sets locale information</td>
</tr>
<tr>
<td><a href="func_string_sha1.asp">sha1()</a></td>
<td>Calculates the SHA-1 hash of a string</td>
</tr>
<tr>
<td><a href="func_string_sha1_file.asp">sha1_file()</a></td>
<td>Calculates the SHA-1 hash of a file</td>
</tr>
<tr>
<td><a href="func_string_similar_text.asp">similar_text()</a></td>
<td>Calculates the similarity between two strings</td>
</tr>
<tr>
<td><a href="func_string_soundex.asp">soundex()</a></td>
<td>Calculates the soundex key of a string</td>
</tr>
<tr>
<td><a href="func_string_sprintf.asp">sprintf()</a></td>
<td>Writes a formatted string to a variable</td>
</tr>
<tr>
<td><a href="func_string_sscanf.asp">sscanf()</a></td>
<td>Parses input from a string according to a format</td>
</tr>
<tr>
<td><a href="func_string_str_getcsv.asp">str_getcsv()</a></td>
<td>Parses a CSV string into an array</td>
</tr>
<tr>
<td><a href="func_string_str_ireplace.asp">str_ireplace()</a></td>
<td>Replaces some characters in a string (case-insensitive)</td>
</tr>
<tr>
<td><a href="func_string_str_pad.asp">str_pad()</a></td>
<td>Pads a string to a new length</td>
</tr>
<tr>
<td><a href="func_string_str_repeat.asp">str_repeat()</a></td>
<td>Repeats a string a specified number of times</td>
</tr>
<tr>
<td><a href="func_string_str_replace.asp">str_replace()</a></td>
<td>Replaces some characters in a string (case-sensitive)</td>
</tr>
<tr>
<td><a href="func_string_str_rot13.asp">str_rot13()</a></td>
<td>Performs the ROT13 encoding on a string</td>
</tr>
<tr>
<td><a href="func_string_str_shuffle.asp">str_shuffle()</a></td>
<td>Randomly shuffles all characters in a string</td>
</tr>
<tr>
<td><a href="func_string_str_split.asp">str_split()</a></td>
<td>Splits a string into an array</td>
</tr>
<tr>
<td><a href="func_string_str_word_count.asp">str_word_count()</a></td>
<td>Count the number of words in a string</td>
</tr>
<tr>
<td><a href="func_string_strcasecmp.asp">strcasecmp()</a></td>
<td>Compares two strings (case-insensitive)</td>
</tr>
<tr>
<td><a href="func_string_strchr.asp">strchr()</a></td>
<td>Finds the first occurrence of a string inside another string (alias of strstr())</td>
</tr>
<tr>
<td><a href="func_string_strcmp.asp">strcmp()</a></td>
<td>Compares two strings (case-sensitive)</td>
</tr>
<tr>
<td><a href="func_string_strcoll.asp">strcoll()</a></td>
<td>Compares two strings (locale based string comparison)</td>
</tr>
<tr>
<td><a href="func_string_strcspn.asp">strcspn()</a></td>
<td>Returns the number of characters found in a string before any part of some specified characters are found</td>
</tr>
<tr>
<td><a href="func_string_strip_tags.asp">strip_tags()</a></td>
<td>Strips HTML and PHP tags from a string</td>
</tr>
<tr>
<td><a href="func_string_stripcslashes.asp">stripcslashes()</a></td>
<td>Unquotes a string quoted with addcslashes()</td>
</tr>
<tr>
<td><a href="func_string_stripslashes.asp">stripslashes()</a></td>
<td>Unquotes a string quoted with addslashes()</td>
</tr>
<tr>
<td><a href="func_string_stripos.asp">stripos()</a></td>
<td>Returns the position of the first occurrence of a string inside another string (case-insensitive)</td>
</tr>
<tr>
<td><a href="func_string_stristr.asp">stristr()</a></td>
<td>Finds the first occurrence of a string inside another string (case-insensitive)</td>
</tr>
<tr>
<td><a href="func_string_strlen.asp">strlen()</a></td>
<td>Returns the length of a string</td>
</tr>
<tr>
<td><a href="func_string_strnatcasecmp.asp">strnatcasecmp()</a></td>
<td>Compares two strings using a "natural order" algorithm (case-insensitive)</td>
</tr>
<tr>
<td><a href="func_string_strnatcmp.asp">strnatcmp()</a></td>
<td>Compares two strings using a "natural order" algorithm (case-sensitive)</td>
</tr>
<tr>
<td><a href="func_string_strncasecmp.asp">strncasecmp()</a></td>
<td>String comparison of the first n characters (case-insensitive)</td>
</tr>
<tr>
<td><a href="func_string_strncmp.asp">strncmp()</a></td>
<td>String comparison of the first n characters (case-sensitive)</td>
</tr>
<tr>
<td><a href="func_string_strpbrk.asp">strpbrk()</a></td>
<td>Searches a string for any of a set of characters</td>
</tr>
<tr>
<td><a href="func_string_strpos.asp">strpos()</a></td>
<td>Returns the position of the first occurrence of a string inside another string (case-sensitive)</td>
</tr>
<tr>
<td><a href="func_string_strrchr.asp">strrchr()</a></td>
<td>Finds the last occurrence of a string inside another string</td>
</tr>
<tr>
<td><a href="func_string_strrev.asp">strrev()</a></td>
<td>Reverses a string</td>
</tr>
<tr>
<td><a href="func_string_strripos.asp">strripos()</a></td>
<td>Finds the position of the last occurrence of a string inside another string (case-insensitive)</td>
</tr>
<tr>
<td><a href="func_string_strrpos.asp">strrpos()</a></td>
<td>Finds the position of the last occurrence of a string inside another string (case-sensitive)</td>
</tr>
<tr>
<td><a href="func_string_strspn.asp">strspn()</a></td>
<td>Returns the number of characters found in a string that contains only characters from a specified charlist</td>
</tr>
<tr>
<td><a href="func_string_strstr.asp">strstr()</a></td>
<td>Finds the first occurrence of a string inside another string (case-sensitive)</td>
</tr>
<tr>
<td><a href="func_string_strtok.asp">strtok()</a></td>
<td>Splits a string into smaller strings</td>
</tr>
<tr>
<td><a href="func_string_strtolower.asp">strtolower()</a></td>
<td>Converts a string to lowercase letters</td>
</tr>
<tr>
<td><a href="func_string_strtoupper.asp">strtoupper()</a></td>
<td>Converts a string to uppercase letters</td>
</tr>
<tr>
<td><a href="func_string_strtr.asp">strtr()</a></td>
<td>Translates certain characters in a string</td>
</tr>
<tr>
<td><a href="func_string_substr.asp">substr()</a></td>
<td>Returns a part of a string</td>
</tr>
<tr>
<td><a href="func_string_substr_compare.asp">substr_compare()</a></td>
<td>Compares two strings from a specified start position (binary safe and optionally case-sensitive)</td>
</tr>
<tr>
<td><a href="func_string_substr_count.asp">substr_count()</a></td>
<td>Counts the number of times a substring occurs in a string</td>
</tr>
<tr>
<td><a href="func_string_substr_replace.asp">substr_replace()</a></td>
<td>Replaces a part of a string with another string</td>
</tr>
<tr>
<td><a href="func_string_trim.asp">trim()</a></td>
<td>Removes whitespace or other characters from both sides of a string</td>
</tr>
<tr>
<td><a href="func_string_ucfirst.asp">ucfirst()</a></td>
<td>Converts the first character of a string to uppercase</td>
</tr>
<tr>
<td><a href="func_string_ucwords.asp">ucwords()</a></td>
<td>Converts the first character of each word in a string to uppercase</td>
</tr>
<tr>
<td><a href="func_string_vfprintf.asp">vfprintf()</a></td>
<td>Writes a formatted string to a specified output stream</td>
</tr>
<tr>
<td><a href="func_string_vprintf.asp">vprintf()</a></td>
<td>Outputs a formatted string</td>
</tr>
<tr>
<td><a href="func_string_vsprintf.asp">vsprintf()</a></td>
<td>Writes a formatted string to a variable</td>
</tr>
<tr>
<td><a href="func_string_wordwrap.asp">wordwrap()</a></td>
<td>Wraps a string to a given number of characters</td>
</tr>
</table>
</body>
</html>