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 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356
|
<?php
// Start of mbstring v.
/**
* Perform case folding on a string
* @link http://www.php.net/manual/en/function.mb-convert-case.php
* @param str string <p>
* The string being converted.
* </p>
* @param mode int <p>
* The mode of the conversion. It can be one of
* MB_CASE_UPPER,
* MB_CASE_LOWER, or
* MB_CASE_TITLE.
* </p>
* @param encoding string[optional] &mbstring.encoding.parameter;
* @return string A case folded version of string converted in the
* way specified by mode.
*/
function mb_convert_case ($str, $mode, $encoding = null) {}
/**
* Make a string uppercase
* @link http://www.php.net/manual/en/function.mb-strtoupper.php
* @param str string <p>
* The string being uppercased.
* </p>
* @param encoding string[optional] &mbstring.encoding.parameter;
* @return string str with all alphabetic characters converted to uppercase.
*/
function mb_strtoupper ($str, $encoding = null) {}
/**
* Make a string lowercase
* @link http://www.php.net/manual/en/function.mb-strtolower.php
* @param str string <p>
* The string being lowercased.
* </p>
* @param encoding string[optional] &mbstring.encoding.parameter;
* @return string str with all alphabetic characters converted to lowercase.
*/
function mb_strtolower ($str, $encoding = null) {}
/**
* Set/Get current language
* @link http://www.php.net/manual/en/function.mb-language.php
* @param language string[optional] <p>
* Used for encoding
* e-mail messages. Valid languages are "Japanese",
* "ja","English","en" and "uni"
* (UTF-8). mb_send_mail uses this setting to
* encode e-mail.
* </p>
* <p>
* Language and its setting is ISO-2022-JP/Base64 for
* Japanese, UTF-8/Base64 for uni, ISO-8859-1/quoted printable for
* English.
* </p>
* @return mixed If language is set and
* language is valid, it returns
* true. Otherwise, it returns false.
* When language is omitted, it returns the language
* name as a string. If no language is set previously, it then returns
* false.
*/
function mb_language ($language = null) {}
/**
* Set/Get internal character encoding
* @link http://www.php.net/manual/en/function.mb-internal-encoding.php
* @param encoding string[optional] <p>
* encoding is the character encoding name
* used for the HTTP input character encoding conversion, HTTP output
* character encoding conversion, and the default character encoding
* for string functions defined by the mbstring module.
* You should notice that the internal encoding is totally different from the one for multibyte regex.
* </p>
* @return mixed If encoding is set, then
* Returns true on success, false on failure.
* In this case, the character encoding for multibyte regex is NOT changed.
* If encoding is omitted, then
* the current character encoding name is returned.
*/
function mb_internal_encoding ($encoding = null) {}
/**
* Detect HTTP input character encoding
* @link http://www.php.net/manual/en/function.mb-http-input.php
* @param type string[optional] <p>
* Input string specifies the input type.
* "G" for GET, "P" for POST, "C" for COOKIE, "S" for string, "L" for list, and
* "I" for the whole list (will return array).
* If type is omitted, it returns the last input type processed.
* </p>
* @return mixed The character encoding name, as per the type.
* If mb_http_input does not process specified
* HTTP input, it returns false.
*/
function mb_http_input ($type = null) {}
/**
* Set/Get HTTP output character encoding
* @link http://www.php.net/manual/en/function.mb-http-output.php
* @param encoding string[optional] <p>
* If encoding is set,
* mb_http_output sets the HTTP output character
* encoding to encoding.
* </p>
* <p>
* If encoding is omitted,
* mb_http_output returns the current HTTP output
* character encoding.
* </p>
* @return mixed If encoding is omitted,
* mb_http_output returns the current HTTP output
* character encoding. Otherwise,
* Returns true on success, false on failure.
*/
function mb_http_output ($encoding = null) {}
/**
* Set/Get character encoding detection order
* @link http://www.php.net/manual/en/function.mb-detect-order.php
* @param encoding_list mixed[optional] <p>
* encoding_list is an array or
* comma separated list of character encoding. See supported encodings.
* </p>
* <p>
* If encoding_list is omitted, it returns
* the current character encoding detection order as array.
* </p>
* <p>
* This setting affects mb_detect_encoding and
* mb_send_mail.
* </p>
* <p>
* mbstring currently implements the following
* encoding detection filters. If there is an invalid byte sequence
* for the following encodings, encoding detection will fail.
* </p>
*
* UTF-8, UTF-7,
* ASCII,
* EUC-JP,SJIS,
* eucJP-win, SJIS-win,
* JIS, ISO-2022-JP
*
* <p>
* For ISO-8859-*, mbstring
* always detects as ISO-8859-*.
* </p>
* <p>
* For UTF-16, UTF-32,
* UCS2 and UCS4, encoding
* detection will fail always.
* </p>
* @return mixed Returns true on success, false on failure.
*/
function mb_detect_order ($encoding_list = null) {}
/**
* Set/Get substitution character
* @link http://www.php.net/manual/en/function.mb-substitute-character.php
* @param substrchar mixed[optional] <p>
* Specify the Unicode value as an integer,
* or as one of the following strings:
*
*
*
* "none": no output
* @return mixed If substchar is set, it returns true for success,
* otherwise returns false.
* If substchar is not set, it returns the current
* setting.
*/
function mb_substitute_character ($substrchar = null) {}
/**
* Parse GET/POST/COOKIE data and set global variable
* @link http://www.php.net/manual/en/function.mb-parse-str.php
* @param encoded_string string <p>
* The URL encoded data.
* </p>
* @param result array[optional] <p>
* An array containing decoded and character encoded converted values.
* </p>
* @return bool Returns true on success, false on failure.
*/
function mb_parse_str ($encoded_string, array &$result = null) {}
/**
* Callback function converts character encoding in output buffer
* @link http://www.php.net/manual/en/function.mb-output-handler.php
* @param contents string <p>
* The contents of the output buffer.
* </p>
* @param status int <p>
* The status of the output buffer.
* </p>
* @return string The converted string.
*/
function mb_output_handler ($contents, $status) {}
/**
* Get MIME charset string
* @link http://www.php.net/manual/en/function.mb-preferred-mime-name.php
* @param encoding string <p>
* The encoding being checked.
* </p>
* @return string The MIME charset string for character encoding
* encoding.
*/
function mb_preferred_mime_name ($encoding) {}
/**
* Get string length
* @link http://www.php.net/manual/en/function.mb-strlen.php
* @param str string <p>
* The string being checked for length.
* </p>
* @param encoding string[optional] &mbstring.encoding.parameter;
* @return mixed the number of characters in
* string str having character encoding
* encoding. A multi-byte character is
* counted as 1.
* </p>
* <p>
* Returns false if the given encoding is invalid.
*/
function mb_strlen ($str, $encoding = null) {}
/**
* Find position of first occurrence of string in a string
* @link http://www.php.net/manual/en/function.mb-strpos.php
* @param haystack string <p>
* The string being checked.
* </p>
* @param needle string <p>
* The string to find in haystack. In contrast
* with strpos, numeric values are not applied
* as the ordinal value of a character.
* </p>
* @param offset int[optional] <p>
* The search offset. If it is not specified, 0 is used.
* </p>
* @param encoding string[optional] &mbstring.encoding.parameter;
* @return int the numeric position of
* the first occurrence of needle in the
* haystack string. If
* needle is not found, it returns false.
*/
function mb_strpos ($haystack, $needle, $offset = null, $encoding = null) {}
/**
* Find position of last occurrence of a string in a string
* @link http://www.php.net/manual/en/function.mb-strrpos.php
* @param haystack string <p>
* The string being checked, for the last occurrence
* of needle
* </p>
* @param needle string <p>
* The string to find in haystack.
* </p>
* @param offset int[optional] May be specified to begin searching an arbitrary number of characters into
* the string. Negative values will stop searching at an arbitrary point
* prior to the end of the string.
* @param encoding string[optional] &mbstring.encoding.parameter;
* @return int the numeric position of
* the last occurrence of needle in the
* haystack string. If
* needle is not found, it returns false.
*/
function mb_strrpos ($haystack, $needle, $offset = null, $encoding = null) {}
/**
* Finds position of first occurrence of a string within another, case insensitive
* @link http://www.php.net/manual/en/function.mb-stripos.php
* @param haystack string <p>
* The string from which to get the position of the first occurrence
* of needle
* </p>
* @param needle string <p>
* The string to find in haystack
* </p>
* @param offset int[optional] <p>
* The position in haystack
* to start searching
* </p>
* @param encoding string[optional] <p>
* Character encoding name to use.
* If it is omitted, internal character encoding is used.
* </p>
* @return int Return the numeric position of the first occurrence of
* needle in the haystack
* string, or false if needle is not found.
*/
function mb_stripos ($haystack, $needle, $offset = null, $encoding = null) {}
/**
* Finds position of last occurrence of a string within another, case insensitive
* @link http://www.php.net/manual/en/function.mb-strripos.php
* @param haystack string <p>
* The string from which to get the position of the last occurrence
* of needle
* </p>
* @param needle string <p>
* The string to find in haystack
* </p>
* @param offset int[optional] <p>
* The position in haystack
* to start searching
* </p>
* @param encoding string[optional] <p>
* Character encoding name to use.
* If it is omitted, internal character encoding is used.
* </p>
* @return int Return the numeric position of
* the last occurrence of needle in the
* haystack string, or false
* if needle is not found.
*/
function mb_strripos ($haystack, $needle, $offset = null, $encoding = null) {}
/**
* Finds first occurrence of a string within another
* @link http://www.php.net/manual/en/function.mb-strstr.php
* @param haystack string <p>
* The string from which to get the first occurrence
* of needle
* </p>
* @param needle string <p>
* The string to find in haystack
* </p>
* @param before_needle bool[optional] <p>
* Determines which portion of haystack
* this function returns.
* If set to true, it returns all of haystack
* from the beginning to the first occurrence of needle (excluding needle).
* If set to false, it returns all of haystack
* from the first occurrence of needle to the end (including needle).
* </p>
* @param encoding string[optional] <p>
* Character encoding name to use.
* If it is omitted, internal character encoding is used.
* </p>
* @return string the portion of haystack,
* or false if needle is not found.
*/
function mb_strstr ($haystack, $needle, $before_needle = null, $encoding = null) {}
/**
* Finds the last occurrence of a character in a string within another
* @link http://www.php.net/manual/en/function.mb-strrchr.php
* @param haystack string <p>
* The string from which to get the last occurrence
* of needle
* </p>
* @param needle string <p>
* The string to find in haystack
* </p>
* @param part bool[optional] <p>
* Determines which portion of haystack
* this function returns.
* If set to true, it returns all of haystack
* from the beginning to the last occurrence of needle.
* If set to false, it returns all of haystack
* from the last occurrence of needle to the end,
* </p>
* @param encoding string[optional] <p>
* Character encoding name to use.
* If it is omitted, internal character encoding is used.
* </p>
* @return string the portion of haystack.
* or false if needle is not found.
*/
function mb_strrchr ($haystack, $needle, $part = null, $encoding = null) {}
/**
* Finds first occurrence of a string within another, case insensitive
* @link http://www.php.net/manual/en/function.mb-stristr.php
* @param haystack string <p>
* The string from which to get the first occurrence
* of needle
* </p>
* @param needle string <p>
* The string to find in haystack
* </p>
* @param before_needle bool[optional] <p>
* Determines which portion of haystack
* this function returns.
* If set to true, it returns all of haystack
* from the beginning to the first occurrence of needle (excluding needle).
* If set to false, it returns all of haystack
* from the first occurrence of needle to the end (including needle).
* </p>
* @param encoding string[optional] <p>
* Character encoding name to use.
* If it is omitted, internal character encoding is used.
* </p>
* @return string the portion of haystack,
* or false if needle is not found.
*/
function mb_stristr ($haystack, $needle, $before_needle = null, $encoding = null) {}
/**
* Finds the last occurrence of a character in a string within another, case insensitive
* @link http://www.php.net/manual/en/function.mb-strrichr.php
* @param haystack string <p>
* The string from which to get the last occurrence
* of needle
* </p>
* @param needle string <p>
* The string to find in haystack
* </p>
* @param part bool[optional] <p>
* Determines which portion of haystack
* this function returns.
* If set to true, it returns all of haystack
* from the beginning to the last occurrence of needle.
* If set to false, it returns all of haystack
* from the last occurrence of needle to the end,
* </p>
* @param encoding string[optional] <p>
* Character encoding name to use.
* If it is omitted, internal character encoding is used.
* </p>
* @return string the portion of haystack.
* or false if needle is not found.
*/
function mb_strrichr ($haystack, $needle, $part = null, $encoding = null) {}
/**
* Count the number of substring occurrences
* @link http://www.php.net/manual/en/function.mb-substr-count.php
* @param haystack string <p>
* The string being checked.
* </p>
* @param needle string <p>
* The string being found.
* </p>
* @param encoding string[optional] &mbstring.encoding.parameter;
* @return int The number of times the
* needle substring occurs in the
* haystack string.
*/
function mb_substr_count ($haystack, $needle, $encoding = null) {}
/**
* Get part of string
* @link http://www.php.net/manual/en/function.mb-substr.php
* @param str string <p>
* The string to extract the substring from.
* </p>
* @param start int <p>
* Position of first character to use from str.
* </p>
* @param length int[optional] <p>
* Maximum number of characters to use from str. If
* omitted or NULL is passed, extract all characters to
* the end of the string.
* </p>
* @param encoding string[optional] &mbstring.encoding.parameter;
* @return string mb_substr returns the portion of
* str specified by the
* start and
* length parameters.
*/
function mb_substr ($str, $start, $length = null, $encoding = null) {}
/**
* Get part of string
* @link http://www.php.net/manual/en/function.mb-strcut.php
* @param str string <p>
* The string being cut.
* </p>
* @param start int <p>
* Starting position in bytes.
* </p>
* @param length int[optional] <p>
* Length in bytes. If omitted or NULL
* is passed, extract all bytes to the end of the string.
* </p>
* @param encoding string[optional] &mbstring.encoding.parameter;
* @return string mb_strcut returns the portion of
* str specified by the
* start and
* length parameters.
*/
function mb_strcut ($str, $start, $length = null, $encoding = null) {}
/**
* Return width of string
* @link http://www.php.net/manual/en/function.mb-strwidth.php
* @param str string <p>
* The string being decoded.
* </p>
* @param encoding string[optional] &mbstring.encoding.parameter;
* @return int The width of string str.
*/
function mb_strwidth ($str, $encoding = null) {}
/**
* Get truncated string with specified width
* @link http://www.php.net/manual/en/function.mb-strimwidth.php
* @param str string <p>
* The string being decoded.
* </p>
* @param start int <p>
* The start position offset. Number of
* characters from the beginning of string. (First character is 0)
* </p>
* @param width int <p>
* The width of the desired trim.
* </p>
* @param trimmarker string[optional] <p>
* A string that is added to the end of string
* when string is truncated.
* </p>
* @param encoding string[optional] &mbstring.encoding.parameter;
* @return string The truncated string. If trimmarker is set,
* trimmarker is appended to the return value.
*/
function mb_strimwidth ($str, $start, $width, $trimmarker = null, $encoding = null) {}
/**
* Convert character encoding
* @link http://www.php.net/manual/en/function.mb-convert-encoding.php
* @param str string <p>
* The string being encoded.
* </p>
* @param to_encoding string <p>
* The type of encoding that str is being converted to.
* </p>
* @param from_encoding mixed[optional] <p>
* Is specified by character code names before conversion. It is either
* an array, or a comma separated enumerated list.
* If from_encoding is not specified, the internal
* encoding will be used.
*
* </p>
* <p>
* See supported
* encodings.
* </p>
* @return string The encoded string.
*/
function mb_convert_encoding ($str, $to_encoding, $from_encoding = null) {}
/**
* Detect character encoding
* @link http://www.php.net/manual/en/function.mb-detect-encoding.php
* @param str string <p>
* The string being detected.
* </p>
* @param encoding_list mixed[optional] <p>
* encoding_list is list of character
* encoding. Encoding order may be specified by array or comma
* separated list string.
* </p>
* <p>
* If encoding_list is omitted,
* detect_order is used.
* </p>
* @param strict bool[optional] <p>
* strict specifies whether to use
* the strict encoding detection or not.
* Default is false.
* </p>
* @return string The detected character encoding or false if the encoding cannot be
* detected from the given string.
*/
function mb_detect_encoding ($str, $encoding_list = null, $strict = null) {}
/**
* Returns an array of all supported encodings
* @link http://www.php.net/manual/en/function.mb-list-encodings.php
* @return array a numerically indexed array.
*/
function mb_list_encodings () {}
/**
* Get aliases of a known encoding type
* @link http://www.php.net/manual/en/function.mb-encoding-aliases.php
* @param encoding string <p>
* The encoding type being checked, for aliases.
* </p>
* @return array a numerically indexed array of encoding aliases on success,
* &return.falseforfailure;
*/
function mb_encoding_aliases ($encoding) {}
/**
* Convert "kana" one from another ("zen-kaku", "han-kaku" and more)
* @link http://www.php.net/manual/en/function.mb-convert-kana.php
* @param str string <p>
* The string being converted.
* </p>
* @param option string[optional] <p>
* The conversion option.
* </p>
* <p>
* Specify with a combination of following options.
* <table>
* Applicable Conversion Options
*
*
* <tr valign="top">
* <td>Option</td>
* <td>Meaning</td>
* </tr>
*
*
* <tr valign="top">
* <td>r</td>
* <td>
* Convert "zen-kaku" alphabets to "han-kaku"
* </td>
* </tr>
* <tr valign="top">
* <td>R</td>
* <td>
* Convert "han-kaku" alphabets to "zen-kaku"
* </td>
* </tr>
* <tr valign="top">
* <td>n</td>
* <td>
* Convert "zen-kaku" numbers to "han-kaku"
* </td>
* </tr>
* <tr valign="top">
* <td>N</td>
* <td>
* Convert "han-kaku" numbers to "zen-kaku"
* </td>
* </tr>
* <tr valign="top">
* <td>a</td>
* <td>
* Convert "zen-kaku" alphabets and numbers to "han-kaku"
* </td>
* </tr>
* <tr valign="top">
* <td>A</td>
* <td>
* Convert "han-kaku" alphabets and numbers to "zen-kaku"
* (Characters included in "a", "A" options are
* U+0021 - U+007E excluding U+0022, U+0027, U+005C, U+007E)
* </td>
* </tr>
* <tr valign="top">
* <td>s</td>
* <td>
* Convert "zen-kaku" space to "han-kaku" (U+3000 -> U+0020)
* </td>
* </tr>
* <tr valign="top">
* <td>S</td>
* <td>
* Convert "han-kaku" space to "zen-kaku" (U+0020 -> U+3000)
* </td>
* </tr>
* <tr valign="top">
* <td>k</td>
* <td>
* Convert "zen-kaku kata-kana" to "han-kaku kata-kana"
* </td>
* </tr>
* <tr valign="top">
* <td>K</td>
* <td>
* Convert "han-kaku kata-kana" to "zen-kaku kata-kana"
* </td>
* </tr>
* <tr valign="top">
* <td>h</td>
* <td>
* Convert "zen-kaku hira-gana" to "han-kaku kata-kana"
* </td>
* </tr>
* <tr valign="top">
* <td>H</td>
* <td>
* Convert "han-kaku kata-kana" to "zen-kaku hira-gana"
* </td>
* </tr>
* <tr valign="top">
* <td>c</td>
* <td>
* Convert "zen-kaku kata-kana" to "zen-kaku hira-gana"
* </td>
* </tr>
* <tr valign="top">
* <td>C</td>
* <td>
* Convert "zen-kaku hira-gana" to "zen-kaku kata-kana"
* </td>
* </tr>
* <tr valign="top">
* <td>V</td>
* <td>
* Collapse voiced sound notation and convert them into a character. Use with "K","H"
* </td>
* </tr>
*
*
* </table>
* </p>
* @param encoding string[optional] &mbstring.encoding.parameter;
* @return string The converted string.
*/
function mb_convert_kana ($str, $option = null, $encoding = null) {}
/**
* Encode string for MIME header
* @link http://www.php.net/manual/en/function.mb-encode-mimeheader.php
* @param str string <p>
* The string being encoded.
* </p>
* @param charset string[optional] <p>
* charset specifies the name of the character set
* in which str is represented in. The default value
* is determined by the current NLS setting (mbstring.language).
* mb_internal_encoding should be set to same encoding.
* </p>
* @param transfer_encoding string[optional] <p>
* transfer_encoding specifies the scheme of MIME
* encoding. It should be either "B" (Base64) or
* "Q" (Quoted-Printable). Falls back to
* "B" if not given.
* </p>
* @param linefeed string[optional] <p>
* linefeed specifies the EOL (end-of-line) marker
* with which mb_encode_mimeheader performs
* line-folding (a RFC term,
* the act of breaking a line longer than a certain length into multiple
* lines. The length is currently hard-coded to 74 characters).
* Falls back to "\r\n" (CRLF) if not given.
* </p>
* @param indent int[optional] <p>
* Indentation of the first line (number of characters in the header
* before str).
* </p>
* @return string A converted version of the string represented in ASCII.
*/
function mb_encode_mimeheader ($str, $charset = null, $transfer_encoding = null, $linefeed = null, $indent = null) {}
/**
* Decode string in MIME header field
* @link http://www.php.net/manual/en/function.mb-decode-mimeheader.php
* @param str string <p>
* The string being decoded.
* </p>
* @return string The decoded string in internal character encoding.
*/
function mb_decode_mimeheader ($str) {}
/**
* Convert character code in variable(s)
* @link http://www.php.net/manual/en/function.mb-convert-variables.php
* @param to_encoding string <p>
* The encoding that the string is being converted to.
* </p>
* @param from_encoding mixed <p>
* from_encoding is specified as an array
* or comma separated string, it tries to detect encoding from
* from-coding. When from_encoding
* is omitted, detect_order is used.
* </p>
* @param vars mixed <p>
* vars is the reference to the
* variable being converted. String, Array and Object are accepted.
* mb_convert_variables assumes all parameters
* have the same encoding.
* </p>
* @param _ mixed[optional]
* @return string The character encoding before conversion for success,
* or false for failure.
*/
function mb_convert_variables ($to_encoding, $from_encoding, &$vars, &$_ = null) {}
/**
* Encode character to HTML numeric string reference
* @link http://www.php.net/manual/en/function.mb-encode-numericentity.php
* @param str string <p>
* The string being encoded.
* </p>
* @param convmap array <p>
* convmap is array specifies code area to
* convert.
* </p>
* @param encoding string[optional] &mbstring.encoding.parameter;
* @param is_hex bool[optional] <p>
* </p>
* @return string The converted string.
*/
function mb_encode_numericentity ($str, array $convmap, $encoding = null, $is_hex = null) {}
/**
* Decode HTML numeric string reference to character
* @link http://www.php.net/manual/en/function.mb-decode-numericentity.php
* @param str string <p>
* The string being decoded.
* </p>
* @param convmap array <p>
* convmap is an array that specifies
* the code area to convert.
* </p>
* @param encoding string[optional] &mbstring.encoding.parameter;
* @return string The converted string.
*/
function mb_decode_numericentity ($str, array $convmap, $encoding = null) {}
/**
* Send encoded mail
* @link http://www.php.net/manual/en/function.mb-send-mail.php
* @param to string <p>
* The mail addresses being sent to. Multiple
* recipients may be specified by putting a comma between each
* address in to.
* This parameter is not automatically encoded.
* </p>
* @param subject string <p>
* The subject of the mail.
* </p>
* @param message string <p>
* The message of the mail.
* </p>
* @param additional_headers string[optional] <p>
* String to be inserted at the end of the email header.
* </p>
* <p>
* This is typically used to add extra headers (From, Cc, and Bcc).
* Multiple extra headers should be separated with a CRLF (\r\n).
* Validate parameter not to be injected unwanted headers by attackers.
* </p>
*
* <p>
* When sending mail, the mail must contain
* a From header. This can be set with the
* additional_headers parameter, or a default
* can be set in &php.ini;.
* </p>
* <p>
* Failing to do this will result in an error
* message similar to Warning: mail(): "sendmail_from" not
* set in php.ini or custom "From:" header missing.
* The From header sets also
* Return-Path under Windows.
* </p>
*
*
* <p>
* If messages are not received, try using a LF (\n) only.
* Some Unix mail transfer agents (most notably
* qmail) replace LF by CRLF
* automatically (which leads to doubling CR if CRLF is used).
* This should be a last resort, as it does not comply with
* RFC 2822.
* </p>
* @param additional_parameter string[optional] <p>
* additional_parameter is a MTA command line
* parameter. It is useful when setting the correct Return-Path
* header when using sendmail.
* </p>
* <p>
* This parameter is escaped by escapeshellcmd internally
* to prevent command execution. escapeshellcmd prevents
* command execution, but allows to add addtional parameters. For security reason,
* this parameter should be validated.
* </p>
* <p>
* Since escapeshellcmd is applied automatically, some characters
* that are allowed as email addresses by internet RFCs cannot be used. Programs
* that are required to use these characters mail cannot be used.
* </p>
* <p>
* The user that the webserver runs as should be added as a trusted user to the
* sendmail configuration to prevent a 'X-Warning' header from being added
* to the message when the envelope sender (-f) is set using this method.
* For sendmail users, this file is /etc/mail/trusted-users.
* </p>
* @return bool Returns true on success, false on failure.
*/
function mb_send_mail ($to, $subject, $message, $additional_headers = null, $additional_parameter = null) {}
/**
* Get internal settings of mbstring
* @link http://www.php.net/manual/en/function.mb-get-info.php
* @param type string[optional] <p>
* If type isn't specified or is specified to
* "all", an array having the elements "internal_encoding",
* "http_output", "http_input", "func_overload", "mail_charset",
* "mail_header_encoding", "mail_body_encoding" will be returned.
* </p>
* <p>
* If type is specified as "http_output",
* "http_input", "internal_encoding", "func_overload",
* the specified setting parameter will be returned.
* </p>
* @return mixed An array of type information if type
* is not specified, otherwise a specific type.
*/
function mb_get_info ($type = null) {}
/**
* Check if the string is valid for the specified encoding
* @link http://www.php.net/manual/en/function.mb-check-encoding.php
* @param var string[optional] <p>
* The byte stream to check. If it is omitted, this function checks
* all the input from the beginning of the request.
* </p>
* @param encoding string[optional] <p>
* The expected encoding.
* </p>
* @return bool Returns true on success, false on failure.
*/
function mb_check_encoding ($var = null, $encoding = null) {}
/**
* Set/Get character encoding for multibyte regex
* @link http://www.php.net/manual/en/function.mb-regex-encoding.php
* @param encoding string[optional] &mbstring.encoding.parameter;
* @return mixed
*/
function mb_regex_encoding ($encoding = null) {}
/**
* Set/Get the default options for mbregex functions
* @link http://www.php.net/manual/en/function.mb-regex-set-options.php
* @param options string[optional] <p>
* The options to set. This is a string where each
* character is an option. To set a mode, the mode
* character must be the last one set, however there
* can only be set one mode but multiple options.
* </p>
* <table>
* Regex options
*
*
* <tr valign="top">
* <td>Option</td>
* <td>Meaning</td>
* </tr>
*
*
* <tr valign="top">
* <td>i</td>
* <td>Ambiguity match on</td>
* </tr>
* <tr valign="top">
* <td>x</td>
* <td>Enables extended pattern form</td>
* </tr>
* <tr valign="top">
* <td>m</td>
* <td>'.' matches with newlines</td>
* </tr>
* <tr valign="top">
* <td>s</td>
* <td>'^' -> '\A', '$' -> '\Z'</td>
* </tr>
* <tr valign="top">
* <td>p</td>
* <td>Same as both the m and s options</td>
* </tr>
* <tr valign="top">
* <td>l</td>
* <td>Finds longest matches</td>
* </tr>
* <tr valign="top">
* <td>n</td>
* <td>Ignores empty matches</td>
* </tr>
* <tr valign="top">
* <td>e</td>
* <td>eval resulting code</td>
* </tr>
*
*
* </table>
* <table>
* Regex syntax modes
*
*
* <tr valign="top">
* <td>Mode</td>
* <td>Meaning</td>
* </tr>
*
*
* <tr valign="top">
* <td>j</td>
* <td>Java (Sun java.util.regex)</td>
* </tr>
* <tr valign="top">
* <td>u</td>
* <td>GNU regex</td>
* </tr>
* <tr valign="top">
* <td>g</td>
* <td>grep</td>
* </tr>
* <tr valign="top">
* <td>c</td>
* <td>Emacs</td>
* </tr>
* <tr valign="top">
* <td>r</td>
* <td>Ruby</td>
* </tr>
* <tr valign="top">
* <td>z</td>
* <td>Perl</td>
* </tr>
* <tr valign="top">
* <td>b</td>
* <td>POSIX Basic regex</td>
* </tr>
* <tr valign="top">
* <td>d</td>
* <td>POSIX Extended regex</td>
* </tr>
*
*
* </table>
* @return string The previous options. If options is omitted,
* it returns the string that describes the current options.
*/
function mb_regex_set_options ($options = null) {}
/**
* Regular expression match with multibyte support
* @link http://www.php.net/manual/en/function.mb-ereg.php
* @param pattern string <p>
* The search pattern.
* </p>
* @param string string <p>
* The search string.
* </p>
* @param regs array[optional] <p>
* Contains a substring of the matched string.
* </p>
* @return int
*/
function mb_ereg ($pattern, $string, array $regs = null) {}
/**
* Regular expression match ignoring case with multibyte support
* @link http://www.php.net/manual/en/function.mb-eregi.php
* @param pattern string <p>
* The regular expression pattern.
* </p>
* @param string string <p>
* The string being searched.
* </p>
* @param regs array[optional] <p>
* Contains a substring of the matched string.
* </p>
* @return int
*/
function mb_eregi ($pattern, $string, array $regs = null) {}
/**
* Replace regular expression with multibyte support
* @link http://www.php.net/manual/en/function.mb-ereg-replace.php
* @param pattern string <p>
* The regular expression pattern.
* </p>
* <p>
* Multibyte characters may be used in pattern.
* </p>
* @param replacement string <p>
* The replacement text.
* </p>
* @param string string <p>
* The string being checked.
* </p>
* @param option string[optional] Matching condition can be set by option
* parameter. If i is specified for this
* parameter, the case will be ignored. If x is
* specified, white space will be ignored. If m
* is specified, match will be executed in multiline mode and line
* break will be included in '.'. If p is
* specified, match will be executed in POSIX mode, line break
* will be considered as normal character. If e
* is specified, replacement string will be
* evaluated as PHP expression.
* @return string The resultant string on success, or false on error.
*/
function mb_ereg_replace ($pattern, $replacement, $string, $option = null) {}
/**
* Replace regular expression with multibyte support ignoring case
* @link http://www.php.net/manual/en/function.mb-eregi-replace.php
* @param pattern string <p>
* The regular expression pattern. Multibyte characters may be used. The case will be ignored.
* </p>
* @param replace string <p>
* The replacement text.
* </p>
* @param string string <p>
* The searched string.
* </p>
* @param option string[optional] option has the same meaning as in
* mb_ereg_replace.
* @return string The resultant string or false on error.
*/
function mb_eregi_replace ($pattern, $replace, $string, $option = null) {}
/**
* Perform a regular expresssion seach and replace with multibyte support using a callback
* @link http://www.php.net/manual/en/function.mb-ereg-replace-callback.php
* @param pattern string <p>
* The regular expression pattern.
* </p>
* <p>
* Multibyte characters may be used in pattern.
* </p>
* @param callback callable <p>
* A callback that will be called and passed an array of matched elements
* in the subject string. The callback should
* return the replacement string.
* </p>
* <p>
* You'll often need the callback function
* for a mb_ereg_replace_callback in just one place.
* In this case you can use an
* anonymous function to
* declare the callback within the call to
* mb_ereg_replace_callback. By doing it this way
* you have all information for the call in one place and do not
* clutter the function namespace with a callback function's name
* not used anywhere else.
* </p>
* @param string string <p>
* The string being checked.
* </p>
* @param option string[optional] <p>
* Matching condition can be set by option
* parameter. If i is specified for this
* parameter, the case will be ignored. If x is
* specified, white space will be ignored. If m
* is specified, match will be executed in multiline mode and line
* break will be included in '.'. If p is
* specified, match will be executed in POSIX mode, line break
* will be considered as normal character. Note that e
* cannot be used for mb_ereg_replace_callback.
* </p>
* @return string The resultant string on success, or false on error.
*/
function mb_ereg_replace_callback ($pattern, $callback, $string, $option = null) {}
/**
* Split multibyte string using regular expression
* @link http://www.php.net/manual/en/function.mb-split.php
* @param pattern string <p>
* The regular expression pattern.
* </p>
* @param string string <p>
* The string being split.
* </p>
* @param limit int[optional] If optional parameter limit is specified,
* it will be split in limit elements as
* maximum.
* @return array The result as an array.
*/
function mb_split ($pattern, $string, $limit = null) {}
/**
* Regular expression match for multibyte string
* @link http://www.php.net/manual/en/function.mb-ereg-match.php
* @param pattern string <p>
* The regular expression pattern.
* </p>
* @param string string <p>
* The string being evaluated.
* </p>
* @param option string[optional] <p>
*
* </p>
* @return bool
*/
function mb_ereg_match ($pattern, $string, $option = null) {}
/**
* Multibyte regular expression match for predefined multibyte string
* @link http://www.php.net/manual/en/function.mb-ereg-search.php
* @param pattern string[optional] <p>
* The search pattern.
* </p>
* @param option string[optional] <p>
* The search option.
* </p>
* @return bool
*/
function mb_ereg_search ($pattern = null, $option = null) {}
/**
* Returns position and length of a matched part of the multibyte regular expression for a predefined multibyte string
* @link http://www.php.net/manual/en/function.mb-ereg-search-pos.php
* @param pattern string[optional] <p>
* The search pattern.
* </p>
* @param option string[optional] <p>
* The search option.
* </p>
* @return array
*/
function mb_ereg_search_pos ($pattern = null, $option = null) {}
/**
* Returns the matched part of a multibyte regular expression
* @link http://www.php.net/manual/en/function.mb-ereg-search-regs.php
* @param pattern string[optional] <p>
* The search pattern.
* </p>
* @param option string[optional] <p>
* The search option.
* </p>
* @return array
*/
function mb_ereg_search_regs ($pattern = null, $option = null) {}
/**
* Setup string and regular expression for a multibyte regular expression match
* @link http://www.php.net/manual/en/function.mb-ereg-search-init.php
* @param string string <p>
* The search string.
* </p>
* @param pattern string[optional] <p>
* The search pattern.
* </p>
* @param option string[optional] <p>
* The search option.
* </p>
* @return bool
*/
function mb_ereg_search_init ($string, $pattern = null, $option = null) {}
/**
* Retrieve the result from the last multibyte regular expression match
* @link http://www.php.net/manual/en/function.mb-ereg-search-getregs.php
* @return array
*/
function mb_ereg_search_getregs () {}
/**
* Returns start point for next regular expression match
* @link http://www.php.net/manual/en/function.mb-ereg-search-getpos.php
* @return int
*/
function mb_ereg_search_getpos () {}
/**
* Set start point of next regular expression match
* @link http://www.php.net/manual/en/function.mb-ereg-search-setpos.php
* @param position int <p>
* The position to set.
* </p>
* @return bool
*/
function mb_ereg_search_setpos ($position) {}
/**
* @param encoding[optional]
*/
function mbregex_encoding ($encoding) {}
/**
* @param pattern
* @param string
* @param registers[optional]
*/
function mbereg ($pattern, $string, &$registers) {}
/**
* @param pattern
* @param string
* @param registers[optional]
*/
function mberegi ($pattern, $string, &$registers) {}
/**
* @param pattern
* @param replacement
* @param string
* @param option[optional]
*/
function mbereg_replace ($pattern, $replacement, $string, $option) {}
/**
* @param pattern
* @param replacement
* @param string
*/
function mberegi_replace ($pattern, $replacement, $string) {}
/**
* @param pattern
* @param string
* @param limit[optional]
*/
function mbsplit ($pattern, $string, $limit) {}
/**
* @param pattern
* @param string
* @param option[optional]
*/
function mbereg_match ($pattern, $string, $option) {}
/**
* @param pattern[optional]
* @param option[optional]
*/
function mbereg_search ($pattern, $option) {}
/**
* @param pattern[optional]
* @param option[optional]
*/
function mbereg_search_pos ($pattern, $option) {}
/**
* @param pattern[optional]
* @param option[optional]
*/
function mbereg_search_regs ($pattern, $option) {}
/**
* @param string
* @param pattern[optional]
* @param option[optional]
*/
function mbereg_search_init ($string, $pattern, $option) {}
function mbereg_search_getregs () {}
function mbereg_search_getpos () {}
/**
* @param position
*/
function mbereg_search_setpos ($position) {}
define ('MB_OVERLOAD_MAIL', 1);
define ('MB_OVERLOAD_STRING', 2);
define ('MB_OVERLOAD_REGEX', 4);
define ('MB_CASE_UPPER', 0);
define ('MB_CASE_LOWER', 1);
define ('MB_CASE_TITLE', 2);
// End of mbstring v.
?>
|