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 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 1871 1872 1873 1874 1875 1876 1877 1878 1879 1880 1881 1882 1883 1884 1885 1886 1887 1888 1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 1902 1903 1904 1905 1906 1907 1908 1909 1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 1925 1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026 2027 2028 2029 2030 2031 2032 2033 2034 2035 2036 2037 2038 2039 2040 2041 2042 2043 2044 2045 2046 2047 2048 2049 2050 2051 2052 2053 2054 2055 2056 2057 2058 2059 2060 2061 2062 2063 2064 2065 2066 2067 2068 2069 2070 2071 2072 2073 2074 2075 2076 2077 2078 2079 2080 2081 2082 2083 2084 2085 2086 2087 2088 2089 2090 2091 2092 2093 2094 2095 2096 2097 2098 2099 2100 2101 2102 2103 2104 2105 2106 2107 2108 2109 2110 2111 2112 2113 2114 2115 2116 2117 2118 2119 2120 2121 2122 2123 2124 2125 2126 2127 2128 2129 2130 2131 2132 2133 2134 2135 2136 2137 2138 2139 2140 2141 2142 2143 2144 2145 2146 2147 2148 2149 2150 2151 2152 2153 2154 2155 2156 2157 2158 2159 2160 2161 2162 2163 2164 2165 2166 2167 2168 2169 2170 2171 2172 2173 2174 2175 2176 2177 2178 2179 2180 2181 2182 2183 2184 2185 2186 2187 2188 2189 2190 2191 2192 2193 2194 2195 2196 2197 2198 2199 2200 2201 2202 2203 2204 2205 2206 2207 2208 2209 2210 2211 2212 2213 2214 2215 2216 2217 2218 2219 2220 2221 2222 2223 2224 2225 2226 2227 2228 2229 2230 2231 2232 2233 2234 2235 2236 2237 2238 2239 2240 2241 2242 2243 2244 2245 2246 2247 2248 2249 2250 2251 2252 2253 2254 2255 2256 2257 2258 2259 2260 2261 2262 2263 2264 2265 2266 2267 2268 2269 2270 2271 2272 2273 2274 2275 2276 2277 2278 2279 2280 2281 2282 2283 2284 2285 2286 2287 2288 2289 2290 2291 2292 2293 2294 2295 2296 2297 2298 2299 2300 2301 2302 2303 2304 2305 2306 2307 2308 2309 2310 2311 2312 2313 2314 2315 2316 2317 2318 2319 2320 2321 2322 2323 2324 2325 2326 2327 2328 2329 2330 2331 2332 2333 2334 2335 2336 2337 2338 2339 2340 2341 2342 2343 2344 2345 2346 2347 2348 2349 2350 2351 2352 2353 2354 2355 2356 2357 2358 2359 2360 2361 2362 2363 2364 2365 2366 2367 2368 2369 2370 2371 2372 2373 2374 2375 2376 2377 2378 2379 2380 2381 2382 2383 2384 2385 2386 2387 2388 2389 2390 2391 2392 2393 2394 2395 2396 2397 2398 2399 2400 2401 2402 2403 2404 2405 2406 2407 2408 2409 2410 2411 2412 2413 2414 2415 2416 2417 2418 2419 2420 2421 2422 2423 2424 2425 2426 2427 2428 2429 2430 2431 2432 2433 2434 2435 2436 2437 2438 2439 2440 2441 2442 2443 2444 2445 2446 2447 2448 2449 2450 2451 2452 2453 2454 2455 2456 2457 2458 2459 2460 2461 2462 2463 2464 2465 2466 2467 2468 2469 2470 2471 2472 2473 2474 2475 2476 2477 2478 2479 2480 2481 2482 2483 2484 2485 2486 2487 2488 2489 2490 2491 2492 2493 2494 2495 2496 2497 2498 2499 2500 2501 2502 2503 2504 2505 2506 2507 2508 2509 2510 2511 2512 2513 2514 2515 2516 2517 2518 2519 2520 2521 2522 2523 2524 2525 2526 2527 2528 2529 2530 2531 2532 2533 2534 2535 2536 2537 2538 2539 2540 2541 2542 2543 2544 2545 2546 2547 2548 2549 2550 2551 2552 2553 2554 2555 2556 2557 2558 2559 2560 2561 2562 2563 2564 2565 2566 2567 2568 2569 2570 2571 2572 2573 2574 2575 2576 2577 2578 2579 2580 2581 2582 2583 2584 2585 2586 2587 2588 2589 2590 2591 2592 2593 2594 2595 2596 2597 2598 2599 2600 2601 2602 2603 2604 2605 2606 2607 2608 2609 2610 2611 2612 2613 2614 2615 2616 2617 2618 2619 2620 2621 2622 2623 2624 2625 2626 2627 2628 2629 2630 2631 2632 2633 2634 2635 2636 2637 2638 2639 2640 2641 2642 2643 2644 2645 2646 2647 2648 2649 2650 2651 2652 2653 2654 2655 2656 2657 2658 2659 2660 2661 2662 2663 2664 2665 2666 2667 2668 2669 2670 2671 2672 2673 2674 2675 2676 2677 2678 2679 2680 2681 2682 2683 2684 2685 2686 2687 2688 2689 2690 2691 2692 2693 2694 2695 2696 2697 2698 2699 2700 2701 2702 2703 2704 2705 2706 2707 2708 2709 2710 2711 2712 2713 2714 2715 2716 2717 2718 2719 2720 2721 2722 2723 2724 2725 2726 2727 2728 2729 2730 2731 2732 2733 2734 2735 2736 2737 2738 2739 2740 2741 2742 2743 2744 2745 2746 2747 2748 2749 2750 2751 2752 2753 2754 2755 2756 2757 2758 2759 2760 2761 2762 2763 2764 2765 2766 2767 2768 2769 2770 2771 2772 2773 2774 2775 2776 2777 2778 2779 2780 2781 2782 2783 2784 2785 2786 2787 2788 2789 2790 2791 2792 2793 2794 2795 2796 2797 2798 2799 2800 2801 2802 2803 2804 2805 2806 2807 2808 2809 2810 2811 2812 2813 2814 2815 2816 2817 2818 2819 2820 2821 2822 2823 2824 2825 2826 2827 2828 2829 2830 2831 2832 2833 2834 2835 2836 2837 2838 2839 2840 2841 2842 2843 2844 2845 2846 2847 2848 2849 2850 2851 2852 2853 2854 2855 2856 2857 2858 2859 2860 2861 2862 2863 2864 2865 2866 2867 2868 2869 2870 2871 2872 2873 2874 2875 2876 2877 2878 2879 2880 2881 2882 2883 2884 2885 2886 2887 2888 2889 2890 2891 2892 2893 2894 2895 2896 2897 2898 2899 2900 2901 2902 2903 2904 2905 2906 2907 2908 2909 2910 2911 2912 2913 2914 2915 2916 2917 2918 2919 2920 2921 2922 2923 2924 2925 2926 2927 2928 2929 2930 2931 2932 2933 2934 2935 2936 2937 2938 2939 2940 2941 2942 2943 2944 2945 2946 2947 2948 2949 2950 2951 2952 2953 2954 2955 2956 2957 2958 2959 2960 2961 2962 2963 2964 2965 2966 2967 2968 2969 2970 2971 2972 2973 2974 2975 2976 2977 2978 2979 2980 2981 2982 2983 2984 2985 2986 2987 2988 2989 2990 2991 2992 2993 2994 2995 2996 2997 2998 2999 3000 3001 3002 3003 3004 3005 3006 3007 3008 3009 3010 3011 3012 3013 3014 3015 3016 3017 3018 3019 3020 3021 3022 3023 3024 3025 3026 3027 3028 3029 3030 3031 3032 3033 3034 3035 3036 3037 3038 3039 3040 3041 3042 3043 3044 3045 3046 3047 3048 3049 3050 3051 3052 3053 3054 3055 3056 3057 3058 3059 3060 3061 3062 3063 3064 3065 3066 3067 3068 3069 3070 3071 3072 3073 3074 3075 3076 3077 3078 3079 3080 3081 3082 3083 3084 3085 3086 3087 3088 3089 3090 3091 3092 3093 3094 3095 3096 3097 3098 3099 3100 3101 3102 3103 3104 3105 3106 3107 3108 3109 3110 3111 3112 3113 3114 3115 3116 3117 3118 3119 3120 3121 3122 3123 3124 3125 3126 3127 3128 3129 3130 3131 3132 3133 3134 3135 3136 3137 3138 3139 3140 3141 3142 3143 3144 3145 3146 3147 3148 3149 3150 3151 3152 3153 3154 3155 3156 3157 3158 3159 3160 3161 3162 3163 3164 3165 3166 3167 3168 3169 3170 3171 3172 3173 3174 3175 3176 3177 3178 3179 3180 3181 3182 3183 3184 3185 3186 3187 3188 3189 3190 3191 3192 3193 3194 3195 3196 3197 3198 3199 3200 3201 3202 3203 3204 3205 3206 3207 3208 3209 3210 3211 3212 3213 3214 3215 3216 3217 3218 3219 3220 3221 3222 3223 3224 3225 3226 3227 3228 3229 3230 3231 3232 3233 3234 3235 3236 3237 3238 3239 3240 3241 3242 3243 3244 3245 3246 3247 3248 3249 3250 3251 3252 3253 3254 3255 3256 3257 3258 3259 3260 3261 3262 3263 3264 3265 3266 3267 3268 3269 3270 3271 3272 3273 3274 3275 3276 3277 3278 3279 3280 3281 3282 3283 3284 3285 3286 3287 3288 3289 3290 3291 3292 3293 3294 3295 3296 3297 3298 3299 3300 3301 3302 3303 3304 3305 3306 3307 3308 3309 3310 3311 3312 3313 3314 3315 3316 3317 3318 3319 3320 3321 3322 3323 3324 3325 3326 3327 3328 3329 3330 3331 3332 3333 3334 3335 3336 3337 3338 3339 3340 3341 3342 3343 3344 3345 3346 3347 3348 3349 3350 3351 3352 3353 3354 3355 3356 3357 3358 3359 3360 3361 3362 3363 3364 3365 3366 3367 3368 3369 3370 3371 3372 3373 3374 3375 3376 3377 3378 3379 3380 3381 3382 3383 3384 3385 3386 3387 3388 3389 3390 3391 3392 3393 3394 3395 3396 3397 3398 3399 3400 3401 3402 3403 3404 3405 3406 3407 3408 3409 3410 3411 3412 3413 3414 3415 3416 3417 3418 3419 3420 3421 3422 3423 3424 3425 3426 3427 3428 3429 3430 3431 3432 3433 3434 3435 3436 3437 3438 3439 3440 3441 3442 3443 3444 3445 3446 3447 3448 3449 3450 3451 3452 3453 3454 3455 3456 3457 3458 3459 3460 3461 3462 3463 3464 3465 3466 3467 3468 3469 3470 3471 3472 3473 3474 3475 3476 3477 3478 3479 3480 3481 3482 3483 3484 3485 3486 3487 3488 3489 3490 3491 3492 3493 3494 3495 3496 3497 3498 3499 3500 3501 3502 3503 3504 3505 3506 3507 3508 3509 3510 3511 3512 3513 3514 3515 3516 3517 3518 3519 3520 3521 3522 3523 3524 3525 3526 3527 3528 3529 3530 3531 3532 3533 3534 3535 3536 3537 3538 3539 3540 3541 3542 3543 3544 3545 3546 3547 3548 3549 3550 3551 3552 3553 3554 3555 3556 3557 3558 3559 3560 3561 3562 3563 3564 3565 3566 3567 3568 3569 3570 3571 3572 3573 3574 3575 3576 3577 3578 3579 3580 3581 3582 3583 3584 3585 3586 3587 3588 3589 3590 3591 3592 3593 3594 3595 3596 3597 3598 3599 3600 3601 3602 3603 3604 3605 3606 3607 3608 3609 3610 3611 3612 3613 3614 3615 3616 3617 3618 3619 3620 3621 3622 3623 3624 3625 3626 3627 3628 3629 3630 3631 3632 3633 3634 3635 3636 3637 3638 3639 3640 3641 3642 3643 3644 3645 3646 3647 3648 3649 3650 3651 3652 3653 3654 3655 3656 3657 3658 3659 3660 3661 3662 3663 3664 3665 3666 3667 3668 3669 3670 3671 3672 3673 3674 3675 3676 3677 3678 3679 3680 3681 3682 3683 3684 3685 3686 3687 3688 3689 3690 3691 3692 3693 3694 3695 3696 3697 3698 3699 3700 3701 3702 3703 3704 3705 3706 3707 3708 3709 3710 3711 3712 3713 3714 3715 3716 3717 3718 3719 3720 3721 3722 3723 3724 3725 3726 3727 3728 3729 3730 3731 3732 3733 3734 3735 3736 3737 3738 3739 3740 3741 3742 3743 3744 3745 3746 3747 3748 3749 3750 3751 3752 3753 3754 3755 3756 3757 3758 3759 3760 3761 3762 3763 3764 3765 3766 3767 3768 3769 3770 3771 3772 3773 3774 3775 3776 3777 3778 3779 3780 3781 3782 3783 3784 3785 3786 3787 3788 3789 3790 3791 3792 3793 3794 3795 3796 3797 3798 3799 3800 3801 3802 3803 3804 3805 3806 3807 3808 3809 3810 3811 3812 3813 3814 3815 3816 3817 3818 3819 3820 3821 3822 3823 3824 3825 3826 3827 3828 3829 3830 3831 3832 3833 3834 3835 3836 3837 3838 3839 3840 3841 3842 3843 3844 3845 3846 3847 3848 3849 3850 3851 3852 3853 3854 3855 3856 3857 3858 3859 3860 3861 3862 3863 3864 3865 3866 3867 3868 3869 3870 3871 3872 3873 3874 3875 3876 3877 3878 3879 3880 3881 3882 3883 3884 3885 3886 3887 3888 3889 3890 3891 3892 3893 3894 3895 3896 3897 3898 3899 3900 3901 3902 3903 3904 3905 3906 3907 3908 3909 3910 3911 3912 3913 3914 3915 3916 3917 3918 3919 3920 3921 3922 3923 3924 3925 3926 3927 3928 3929 3930 3931 3932 3933 3934 3935 3936 3937 3938 3939 3940 3941 3942 3943 3944 3945 3946 3947 3948 3949 3950 3951 3952 3953 3954 3955 3956 3957 3958 3959 3960 3961 3962 3963 3964 3965 3966 3967 3968 3969 3970 3971 3972 3973 3974 3975 3976 3977 3978 3979 3980 3981 3982 3983 3984 3985 3986 3987 3988 3989 3990 3991 3992 3993 3994 3995 3996 3997 3998 3999 4000 4001 4002 4003 4004 4005 4006 4007 4008 4009 4010 4011 4012 4013 4014 4015 4016 4017 4018 4019 4020 4021 4022 4023 4024 4025 4026 4027 4028 4029 4030 4031 4032 4033 4034 4035 4036 4037 4038 4039 4040 4041 4042 4043 4044 4045 4046 4047 4048 4049 4050 4051 4052 4053 4054 4055 4056 4057 4058 4059 4060 4061 4062 4063 4064 4065 4066 4067 4068 4069 4070 4071 4072 4073 4074 4075 4076 4077 4078 4079 4080 4081 4082 4083 4084 4085 4086 4087 4088 4089 4090 4091 4092 4093 4094 4095 4096 4097 4098 4099 4100 4101 4102 4103 4104 4105 4106 4107 4108 4109 4110 4111 4112 4113 4114 4115 4116 4117 4118 4119 4120 4121 4122 4123 4124 4125 4126 4127 4128 4129 4130 4131 4132 4133 4134 4135 4136 4137 4138 4139 4140 4141 4142 4143 4144 4145 4146 4147 4148 4149 4150 4151 4152 4153 4154 4155 4156 4157 4158 4159 4160 4161 4162 4163 4164 4165 4166 4167 4168 4169 4170 4171 4172 4173 4174 4175 4176 4177 4178 4179 4180 4181 4182 4183 4184 4185 4186 4187 4188 4189 4190 4191 4192 4193 4194 4195 4196 4197 4198 4199 4200 4201 4202 4203 4204 4205 4206 4207 4208 4209 4210 4211 4212 4213 4214 4215 4216 4217 4218 4219 4220 4221 4222 4223 4224 4225 4226 4227 4228 4229 4230 4231 4232 4233 4234 4235 4236 4237 4238 4239 4240 4241 4242 4243 4244 4245 4246 4247 4248 4249 4250 4251 4252 4253 4254 4255 4256 4257 4258 4259 4260 4261 4262 4263 4264 4265 4266 4267 4268 4269 4270 4271 4272 4273 4274 4275 4276 4277 4278 4279 4280 4281 4282 4283 4284 4285 4286 4287 4288 4289 4290 4291 4292 4293 4294 4295 4296 4297 4298 4299 4300 4301 4302 4303 4304 4305 4306 4307 4308 4309 4310 4311 4312 4313 4314 4315 4316 4317 4318 4319 4320 4321 4322 4323 4324 4325 4326 4327 4328 4329 4330 4331 4332 4333 4334 4335 4336 4337 4338 4339 4340 4341 4342 4343 4344 4345 4346 4347 4348 4349 4350 4351 4352 4353 4354 4355 4356 4357 4358 4359 4360 4361 4362 4363 4364 4365 4366 4367 4368 4369 4370 4371 4372 4373 4374 4375 4376 4377 4378 4379 4380 4381 4382 4383 4384 4385 4386 4387 4388 4389 4390 4391 4392 4393 4394 4395 4396 4397 4398 4399 4400 4401 4402 4403 4404 4405 4406 4407 4408 4409 4410 4411 4412 4413 4414 4415 4416 4417 4418 4419 4420 4421 4422 4423 4424 4425 4426 4427 4428 4429 4430 4431 4432 4433 4434 4435 4436 4437 4438 4439 4440 4441 4442 4443 4444 4445 4446 4447 4448 4449 4450 4451 4452 4453 4454 4455 4456 4457 4458 4459 4460 4461 4462 4463 4464 4465 4466 4467 4468 4469 4470 4471 4472 4473 4474 4475 4476 4477 4478 4479 4480 4481 4482 4483 4484 4485 4486 4487 4488 4489 4490 4491 4492 4493 4494 4495 4496 4497 4498 4499 4500 4501 4502 4503 4504 4505 4506 4507 4508 4509 4510 4511 4512 4513 4514 4515 4516 4517 4518 4519 4520 4521 4522 4523 4524 4525 4526 4527 4528 4529 4530 4531 4532 4533 4534 4535 4536 4537 4538 4539 4540 4541 4542 4543 4544 4545 4546 4547 4548 4549 4550 4551 4552 4553 4554 4555 4556 4557 4558 4559 4560 4561 4562 4563 4564 4565 4566 4567 4568 4569 4570 4571 4572 4573 4574 4575 4576 4577 4578 4579 4580 4581 4582 4583 4584 4585 4586 4587 4588 4589 4590 4591 4592 4593 4594 4595 4596 4597 4598 4599 4600 4601 4602 4603 4604 4605 4606 4607 4608 4609 4610 4611 4612 4613 4614 4615 4616 4617 4618 4619 4620 4621 4622 4623 4624 4625 4626 4627 4628 4629 4630 4631 4632 4633 4634 4635 4636 4637 4638 4639 4640 4641 4642 4643 4644 4645 4646 4647 4648 4649 4650 4651 4652 4653 4654 4655 4656 4657 4658 4659 4660 4661 4662 4663 4664 4665 4666 4667 4668 4669 4670 4671 4672 4673 4674 4675 4676 4677 4678 4679 4680 4681 4682 4683 4684 4685 4686 4687 4688 4689 4690 4691 4692 4693 4694 4695 4696 4697 4698 4699 4700 4701 4702 4703 4704 4705 4706 4707 4708 4709 4710 4711 4712 4713 4714 4715 4716 4717 4718 4719 4720 4721 4722 4723 4724 4725 4726 4727 4728 4729 4730 4731 4732 4733 4734 4735 4736 4737 4738 4739 4740 4741 4742 4743 4744 4745 4746 4747 4748 4749 4750 4751 4752 4753 4754 4755 4756 4757 4758 4759 4760 4761 4762 4763 4764 4765 4766 4767 4768 4769 4770 4771 4772 4773 4774 4775 4776 4777 4778 4779 4780 4781 4782 4783 4784 4785 4786 4787 4788 4789 4790 4791 4792 4793 4794 4795 4796 4797 4798 4799 4800 4801 4802 4803 4804 4805 4806 4807 4808 4809 4810 4811 4812 4813 4814 4815 4816 4817 4818 4819 4820 4821 4822 4823 4824 4825 4826 4827 4828 4829 4830 4831 4832 4833 4834 4835 4836 4837 4838 4839 4840 4841 4842 4843 4844 4845 4846 4847 4848 4849 4850 4851 4852 4853 4854 4855 4856 4857 4858 4859 4860 4861 4862 4863 4864 4865 4866 4867 4868 4869 4870 4871 4872 4873 4874 4875 4876 4877 4878 4879 4880 4881 4882 4883 4884 4885 4886 4887 4888 4889 4890 4891 4892 4893 4894 4895 4896 4897 4898 4899 4900 4901 4902 4903 4904 4905 4906 4907 4908 4909 4910 4911 4912 4913 4914 4915 4916 4917 4918 4919 4920 4921 4922 4923 4924 4925 4926 4927 4928 4929 4930 4931 4932 4933 4934 4935 4936 4937 4938 4939 4940 4941 4942 4943 4944 4945 4946 4947 4948 4949 4950 4951 4952 4953 4954 4955 4956 4957 4958 4959 4960 4961 4962 4963 4964 4965 4966 4967 4968 4969 4970 4971 4972 4973 4974 4975 4976 4977 4978 4979 4980 4981 4982 4983 4984 4985 4986 4987 4988 4989 4990 4991 4992 4993 4994 4995 4996 4997 4998 4999 5000 5001 5002 5003 5004 5005 5006 5007 5008 5009 5010 5011 5012 5013 5014 5015 5016 5017 5018 5019 5020 5021 5022 5023 5024 5025 5026 5027 5028 5029 5030 5031 5032 5033 5034 5035 5036 5037 5038 5039 5040 5041 5042 5043 5044 5045 5046 5047 5048 5049 5050 5051 5052 5053 5054 5055 5056 5057 5058 5059 5060 5061 5062 5063 5064 5065 5066 5067 5068 5069 5070 5071 5072 5073 5074 5075 5076 5077 5078 5079 5080 5081 5082 5083 5084 5085 5086 5087 5088 5089 5090 5091 5092 5093 5094 5095 5096 5097 5098 5099 5100 5101 5102 5103 5104 5105 5106 5107 5108 5109 5110 5111 5112 5113 5114 5115 5116 5117 5118 5119 5120 5121 5122 5123 5124 5125 5126 5127 5128 5129 5130 5131 5132 5133 5134 5135 5136 5137 5138 5139 5140 5141 5142 5143 5144 5145 5146 5147 5148 5149 5150 5151 5152 5153 5154 5155 5156 5157 5158 5159 5160 5161 5162 5163 5164 5165 5166 5167 5168 5169 5170 5171 5172 5173 5174 5175 5176 5177 5178 5179 5180 5181 5182 5183 5184 5185 5186 5187 5188 5189 5190 5191 5192 5193 5194 5195 5196 5197 5198 5199 5200 5201 5202 5203 5204 5205 5206 5207 5208 5209 5210 5211 5212 5213 5214 5215 5216 5217 5218 5219 5220 5221 5222 5223 5224 5225 5226 5227 5228 5229 5230 5231 5232 5233 5234 5235 5236 5237 5238 5239 5240 5241 5242 5243 5244 5245 5246 5247 5248 5249 5250 5251 5252 5253 5254 5255 5256 5257 5258 5259 5260 5261 5262 5263 5264 5265 5266 5267 5268 5269 5270 5271 5272 5273 5274 5275 5276 5277 5278 5279 5280 5281 5282 5283 5284 5285 5286 5287 5288 5289 5290 5291 5292 5293 5294 5295 5296 5297 5298 5299 5300 5301 5302 5303 5304 5305 5306 5307 5308 5309 5310 5311 5312 5313 5314 5315 5316 5317 5318 5319 5320 5321 5322 5323 5324 5325 5326 5327 5328 5329 5330 5331 5332 5333 5334 5335 5336 5337 5338 5339 5340 5341 5342 5343 5344 5345 5346 5347 5348 5349 5350 5351 5352 5353 5354 5355 5356 5357 5358 5359 5360 5361 5362 5363 5364 5365 5366 5367 5368 5369 5370 5371 5372 5373 5374 5375 5376 5377 5378 5379 5380 5381 5382 5383 5384 5385 5386 5387 5388 5389 5390 5391 5392 5393 5394 5395 5396 5397 5398 5399 5400 5401 5402 5403 5404 5405 5406 5407 5408 5409 5410 5411 5412 5413 5414 5415 5416 5417 5418 5419 5420 5421 5422 5423 5424 5425 5426 5427 5428 5429 5430 5431 5432 5433 5434 5435 5436 5437 5438 5439 5440 5441 5442 5443 5444 5445 5446 5447 5448 5449 5450 5451 5452 5453 5454 5455 5456 5457 5458 5459 5460 5461 5462 5463 5464 5465 5466 5467 5468 5469 5470 5471 5472 5473 5474 5475 5476 5477 5478 5479 5480 5481 5482 5483 5484 5485 5486 5487 5488 5489 5490 5491 5492 5493 5494 5495 5496 5497 5498 5499 5500 5501 5502 5503 5504 5505 5506 5507 5508 5509 5510 5511 5512 5513 5514 5515 5516 5517 5518 5519 5520 5521 5522 5523 5524 5525 5526 5527 5528 5529 5530 5531 5532 5533 5534 5535 5536 5537 5538 5539 5540 5541 5542 5543 5544 5545 5546 5547 5548 5549 5550 5551 5552 5553 5554 5555 5556 5557 5558 5559 5560 5561 5562 5563 5564 5565 5566 5567 5568 5569 5570 5571 5572 5573 5574 5575 5576 5577 5578 5579 5580 5581 5582 5583 5584 5585 5586 5587 5588 5589 5590 5591 5592 5593 5594 5595 5596 5597 5598 5599 5600 5601 5602 5603 5604 5605 5606 5607 5608 5609 5610 5611 5612 5613 5614 5615 5616 5617 5618 5619 5620 5621 5622 5623 5624 5625 5626 5627 5628 5629 5630 5631 5632 5633 5634 5635 5636 5637 5638 5639 5640 5641 5642 5643 5644 5645 5646 5647 5648 5649 5650 5651 5652 5653 5654 5655 5656 5657 5658 5659 5660 5661 5662 5663 5664 5665 5666 5667 5668 5669 5670 5671 5672 5673 5674 5675 5676 5677 5678 5679 5680 5681 5682 5683 5684 5685 5686 5687 5688 5689 5690 5691 5692 5693 5694 5695 5696 5697 5698 5699 5700 5701 5702 5703 5704 5705 5706 5707 5708 5709 5710 5711 5712 5713 5714 5715 5716 5717 5718 5719 5720 5721 5722 5723 5724 5725 5726 5727 5728 5729 5730 5731 5732 5733 5734 5735 5736 5737 5738 5739 5740 5741 5742 5743 5744 5745 5746 5747 5748 5749 5750 5751 5752 5753 5754 5755 5756 5757 5758 5759 5760 5761 5762 5763 5764 5765 5766 5767 5768 5769 5770 5771 5772 5773 5774 5775 5776 5777 5778 5779 5780 5781 5782 5783 5784 5785 5786 5787 5788 5789 5790 5791 5792 5793 5794 5795 5796 5797 5798 5799 5800 5801 5802 5803 5804 5805 5806 5807 5808 5809 5810 5811 5812 5813 5814 5815 5816 5817 5818 5819 5820 5821 5822 5823 5824 5825 5826 5827 5828 5829 5830 5831 5832 5833 5834 5835 5836 5837 5838 5839 5840 5841 5842 5843 5844 5845 5846 5847 5848 5849 5850 5851 5852 5853 5854 5855 5856 5857 5858 5859 5860 5861 5862 5863 5864 5865 5866 5867 5868 5869 5870 5871 5872 5873 5874 5875 5876 5877 5878 5879 5880 5881 5882 5883 5884 5885 5886 5887 5888 5889 5890 5891 5892 5893 5894 5895 5896 5897 5898 5899 5900 5901 5902 5903 5904 5905 5906 5907 5908 5909 5910 5911 5912 5913 5914 5915 5916 5917 5918 5919 5920 5921 5922 5923 5924 5925 5926 5927 5928 5929 5930 5931 5932 5933 5934 5935 5936 5937 5938 5939 5940 5941 5942 5943 5944 5945 5946 5947 5948 5949 5950 5951 5952 5953 5954 5955 5956 5957 5958 5959 5960 5961 5962 5963 5964 5965 5966 5967 5968 5969 5970 5971 5972 5973 5974 5975 5976 5977 5978 5979 5980 5981 5982 5983 5984 5985 5986 5987 5988 5989 5990 5991 5992 5993 5994 5995 5996 5997 5998 5999 6000 6001 6002 6003 6004 6005 6006 6007 6008 6009 6010 6011 6012 6013 6014 6015 6016 6017 6018 6019 6020 6021 6022 6023 6024 6025 6026 6027 6028 6029 6030 6031 6032 6033 6034 6035 6036 6037 6038 6039 6040 6041 6042 6043 6044 6045 6046 6047 6048 6049 6050 6051 6052 6053 6054 6055 6056 6057 6058 6059 6060 6061 6062 6063 6064 6065 6066 6067 6068 6069 6070 6071 6072 6073 6074 6075 6076 6077 6078 6079 6080 6081 6082 6083 6084 6085 6086 6087 6088 6089 6090 6091 6092 6093 6094 6095 6096 6097 6098 6099 6100 6101 6102 6103 6104 6105 6106 6107 6108 6109 6110 6111 6112 6113 6114 6115 6116 6117 6118 6119 6120 6121 6122 6123 6124 6125 6126 6127 6128 6129 6130 6131 6132 6133 6134 6135 6136 6137 6138 6139 6140 6141 6142 6143 6144 6145 6146 6147 6148 6149 6150 6151 6152 6153 6154 6155 6156 6157 6158 6159 6160 6161 6162 6163 6164 6165 6166 6167 6168 6169 6170 6171 6172 6173 6174 6175 6176 6177 6178 6179 6180 6181 6182 6183 6184 6185 6186 6187 6188 6189 6190 6191 6192 6193 6194 6195 6196 6197 6198 6199 6200 6201 6202 6203 6204 6205 6206 6207 6208 6209 6210 6211 6212 6213 6214 6215 6216 6217 6218 6219 6220 6221 6222 6223 6224 6225 6226 6227 6228 6229 6230 6231 6232 6233 6234 6235 6236 6237 6238 6239 6240 6241 6242 6243 6244 6245 6246 6247 6248 6249 6250 6251 6252 6253 6254 6255 6256 6257 6258 6259 6260 6261 6262 6263 6264 6265 6266 6267 6268 6269 6270 6271 6272 6273 6274 6275 6276 6277 6278 6279 6280 6281 6282 6283 6284 6285 6286 6287 6288 6289 6290 6291 6292 6293 6294 6295 6296 6297 6298 6299 6300 6301 6302 6303 6304 6305 6306 6307 6308 6309 6310 6311 6312 6313 6314 6315 6316 6317 6318 6319 6320 6321 6322 6323 6324 6325 6326 6327 6328 6329 6330 6331 6332 6333 6334 6335 6336 6337 6338 6339 6340 6341 6342 6343 6344 6345 6346 6347 6348 6349 6350 6351 6352 6353 6354 6355 6356 6357 6358 6359 6360 6361 6362 6363 6364 6365 6366 6367 6368 6369 6370 6371 6372 6373 6374 6375 6376 6377 6378 6379 6380 6381 6382 6383 6384 6385 6386 6387 6388 6389 6390 6391 6392 6393 6394 6395 6396 6397 6398 6399 6400 6401 6402 6403 6404 6405 6406 6407 6408 6409 6410 6411 6412 6413 6414 6415 6416 6417 6418 6419 6420 6421 6422 6423 6424 6425 6426 6427 6428 6429 6430 6431 6432 6433 6434 6435 6436 6437 6438 6439 6440 6441 6442 6443 6444 6445 6446 6447 6448 6449 6450 6451 6452 6453 6454 6455 6456 6457 6458 6459 6460 6461 6462 6463 6464 6465 6466 6467 6468 6469 6470 6471 6472 6473 6474 6475 6476 6477 6478 6479 6480 6481 6482 6483 6484 6485 6486 6487 6488 6489 6490 6491 6492 6493 6494 6495 6496 6497 6498 6499 6500 6501 6502 6503 6504 6505 6506 6507 6508 6509 6510 6511 6512 6513 6514 6515 6516 6517 6518 6519 6520 6521 6522 6523 6524 6525 6526 6527 6528 6529 6530 6531 6532 6533 6534 6535 6536 6537 6538 6539 6540 6541 6542 6543 6544 6545 6546 6547 6548 6549 6550 6551 6552 6553 6554 6555 6556 6557 6558 6559 6560 6561 6562 6563 6564 6565 6566 6567 6568 6569 6570 6571 6572 6573 6574 6575 6576 6577 6578 6579 6580 6581 6582 6583 6584 6585 6586 6587 6588 6589 6590 6591 6592 6593 6594 6595 6596 6597 6598 6599 6600 6601 6602 6603 6604 6605 6606 6607 6608 6609 6610 6611 6612 6613 6614 6615 6616 6617 6618 6619 6620 6621 6622 6623 6624 6625 6626 6627 6628 6629 6630 6631 6632 6633 6634 6635 6636 6637 6638 6639 6640 6641 6642 6643 6644 6645 6646 6647 6648 6649 6650 6651 6652 6653 6654 6655 6656 6657 6658 6659 6660 6661 6662 6663 6664 6665 6666 6667 6668 6669 6670 6671 6672 6673 6674 6675 6676 6677 6678 6679 6680 6681 6682 6683 6684 6685 6686 6687 6688 6689 6690 6691 6692 6693 6694 6695 6696 6697 6698 6699 6700 6701 6702 6703 6704 6705 6706 6707 6708 6709 6710 6711 6712 6713 6714 6715 6716 6717 6718 6719 6720 6721 6722 6723 6724 6725 6726 6727 6728 6729 6730 6731 6732 6733 6734 6735 6736 6737 6738 6739 6740 6741 6742 6743 6744 6745 6746 6747 6748 6749 6750 6751 6752 6753 6754 6755 6756 6757 6758 6759 6760 6761 6762 6763 6764 6765 6766 6767 6768 6769 6770 6771 6772 6773 6774 6775 6776 6777 6778 6779 6780 6781 6782 6783 6784 6785 6786 6787 6788 6789 6790 6791 6792 6793 6794 6795 6796 6797 6798 6799 6800 6801 6802 6803 6804 6805 6806 6807 6808 6809 6810 6811 6812 6813 6814 6815 6816 6817 6818 6819 6820 6821 6822 6823 6824 6825 6826 6827 6828 6829 6830 6831 6832 6833 6834 6835 6836 6837 6838 6839 6840 6841 6842 6843 6844 6845 6846 6847 6848 6849 6850 6851 6852 6853 6854 6855 6856 6857 6858 6859 6860 6861 6862 6863 6864 6865 6866 6867 6868 6869 6870 6871 6872 6873 6874 6875 6876 6877 6878 6879 6880 6881 6882 6883 6884 6885 6886 6887 6888 6889 6890 6891 6892 6893 6894 6895 6896 6897 6898 6899 6900 6901 6902 6903 6904 6905 6906 6907 6908 6909 6910 6911 6912 6913 6914 6915 6916 6917 6918 6919 6920 6921 6922 6923 6924 6925 6926 6927 6928 6929 6930 6931 6932 6933 6934 6935 6936 6937 6938 6939 6940 6941 6942 6943 6944 6945 6946 6947 6948 6949 6950 6951 6952 6953 6954 6955 6956 6957 6958 6959 6960 6961 6962 6963 6964 6965 6966 6967 6968 6969 6970 6971 6972 6973 6974 6975 6976 6977 6978 6979 6980 6981 6982 6983 6984 6985 6986 6987 6988 6989 6990 6991 6992 6993 6994 6995 6996 6997 6998 6999 7000 7001 7002 7003 7004 7005 7006 7007 7008 7009 7010 7011 7012 7013 7014 7015 7016 7017 7018 7019 7020 7021 7022 7023 7024 7025 7026 7027 7028 7029 7030 7031 7032 7033 7034 7035 7036 7037 7038 7039 7040 7041 7042 7043 7044 7045 7046 7047 7048 7049 7050 7051 7052 7053 7054 7055 7056 7057 7058 7059 7060 7061 7062 7063 7064 7065 7066 7067 7068 7069 7070 7071 7072 7073 7074 7075 7076 7077 7078 7079 7080 7081 7082 7083 7084 7085 7086 7087 7088 7089 7090 7091 7092 7093 7094 7095 7096 7097 7098 7099 7100 7101 7102 7103 7104 7105 7106 7107 7108 7109 7110 7111 7112 7113 7114 7115 7116 7117 7118 7119 7120 7121 7122 7123 7124 7125 7126 7127 7128 7129 7130 7131 7132 7133 7134 7135 7136 7137 7138 7139 7140 7141 7142 7143 7144 7145 7146 7147 7148 7149 7150 7151 7152 7153 7154 7155 7156 7157 7158 7159 7160 7161 7162 7163 7164 7165 7166 7167 7168 7169 7170 7171 7172 7173 7174 7175 7176 7177 7178 7179 7180 7181 7182 7183 7184 7185 7186 7187 7188 7189 7190 7191 7192 7193 7194 7195 7196 7197 7198 7199 7200 7201 7202 7203 7204 7205 7206 7207 7208 7209 7210 7211 7212 7213 7214 7215 7216 7217 7218 7219 7220 7221 7222 7223 7224 7225 7226 7227 7228 7229 7230 7231 7232 7233 7234 7235 7236 7237 7238 7239 7240 7241 7242 7243 7244 7245 7246 7247 7248 7249 7250 7251 7252 7253 7254 7255 7256 7257 7258 7259 7260 7261 7262 7263 7264 7265 7266 7267 7268 7269 7270 7271 7272 7273 7274 7275 7276 7277 7278 7279 7280 7281 7282 7283 7284 7285 7286 7287 7288 7289 7290 7291 7292 7293 7294 7295 7296 7297 7298 7299 7300 7301 7302 7303 7304 7305 7306 7307 7308 7309 7310 7311 7312 7313 7314 7315 7316 7317 7318 7319 7320 7321 7322 7323 7324 7325 7326 7327 7328 7329 7330 7331 7332 7333 7334 7335 7336 7337 7338 7339 7340 7341 7342 7343 7344 7345 7346 7347 7348 7349 7350 7351 7352 7353 7354 7355 7356 7357 7358 7359 7360 7361 7362 7363 7364 7365 7366 7367 7368 7369 7370 7371 7372 7373 7374 7375 7376 7377 7378 7379 7380 7381 7382 7383 7384 7385 7386 7387 7388 7389 7390 7391 7392 7393 7394 7395 7396 7397 7398 7399 7400 7401 7402 7403 7404 7405 7406 7407 7408 7409 7410 7411 7412 7413 7414 7415 7416 7417 7418 7419 7420 7421 7422 7423 7424 7425 7426 7427 7428 7429 7430 7431 7432 7433 7434 7435 7436 7437 7438 7439 7440 7441 7442 7443 7444 7445 7446 7447 7448 7449 7450 7451 7452 7453 7454 7455 7456 7457 7458 7459 7460 7461 7462 7463 7464 7465 7466 7467 7468 7469 7470 7471 7472 7473 7474 7475 7476 7477 7478 7479 7480 7481 7482 7483 7484 7485 7486 7487 7488 7489 7490 7491 7492 7493 7494 7495 7496 7497 7498 7499 7500 7501 7502 7503 7504 7505 7506 7507 7508 7509 7510 7511 7512 7513 7514 7515 7516 7517 7518 7519 7520 7521 7522 7523 7524 7525 7526 7527 7528 7529 7530 7531 7532 7533 7534 7535 7536 7537 7538 7539 7540 7541 7542 7543 7544 7545 7546 7547 7548 7549 7550 7551 7552 7553 7554 7555 7556 7557 7558 7559 7560 7561 7562 7563 7564 7565 7566 7567 7568 7569 7570 7571 7572 7573 7574 7575 7576 7577 7578 7579 7580 7581 7582 7583 7584 7585 7586 7587 7588 7589 7590 7591 7592 7593 7594 7595 7596 7597 7598 7599 7600 7601 7602 7603 7604 7605 7606 7607 7608 7609 7610 7611 7612 7613 7614 7615 7616 7617 7618 7619 7620 7621 7622 7623 7624 7625 7626 7627 7628 7629 7630 7631 7632 7633 7634 7635 7636 7637 7638 7639 7640 7641 7642 7643 7644 7645 7646 7647 7648 7649 7650 7651 7652 7653 7654 7655 7656 7657 7658 7659 7660 7661 7662 7663 7664 7665 7666 7667 7668 7669 7670 7671 7672 7673 7674 7675 7676 7677 7678 7679 7680 7681 7682 7683 7684 7685 7686 7687 7688 7689 7690 7691 7692 7693 7694 7695 7696 7697 7698 7699 7700 7701 7702 7703 7704 7705 7706 7707 7708 7709 7710 7711 7712 7713 7714 7715 7716 7717 7718 7719 7720 7721 7722 7723 7724 7725 7726 7727 7728 7729 7730 7731 7732 7733 7734 7735 7736 7737 7738 7739 7740 7741 7742 7743 7744 7745 7746 7747 7748 7749 7750 7751 7752 7753 7754 7755 7756 7757 7758 7759 7760 7761 7762 7763 7764 7765 7766 7767 7768 7769 7770 7771 7772 7773 7774 7775 7776 7777 7778 7779 7780 7781 7782 7783 7784 7785 7786 7787 7788 7789 7790 7791 7792 7793 7794 7795 7796 7797 7798 7799 7800 7801 7802 7803 7804 7805 7806 7807 7808 7809 7810 7811 7812 7813 7814 7815 7816 7817 7818 7819 7820 7821 7822 7823 7824 7825 7826 7827 7828 7829 7830 7831 7832 7833 7834 7835 7836 7837 7838 7839 7840 7841 7842 7843 7844 7845 7846 7847 7848 7849 7850 7851 7852 7853 7854 7855 7856 7857 7858 7859 7860 7861 7862 7863 7864 7865 7866 7867 7868 7869 7870 7871 7872 7873 7874 7875 7876 7877 7878 7879 7880 7881 7882 7883 7884 7885 7886 7887 7888 7889 7890 7891 7892 7893 7894 7895 7896 7897 7898 7899 7900 7901 7902 7903 7904 7905 7906 7907 7908 7909 7910 7911 7912 7913 7914 7915 7916 7917 7918 7919 7920 7921 7922 7923 7924 7925 7926 7927 7928 7929 7930 7931 7932 7933 7934 7935 7936 7937 7938 7939 7940 7941 7942 7943 7944 7945 7946 7947 7948 7949 7950 7951 7952 7953 7954 7955 7956 7957 7958 7959 7960 7961 7962 7963 7964 7965 7966 7967 7968 7969 7970 7971 7972 7973 7974 7975 7976 7977 7978 7979 7980 7981 7982 7983 7984 7985 7986 7987 7988 7989 7990 7991 7992 7993 7994 7995 7996 7997 7998 7999 8000 8001 8002 8003 8004 8005 8006 8007 8008 8009 8010 8011 8012 8013 8014 8015 8016 8017 8018 8019 8020 8021 8022 8023 8024 8025 8026 8027 8028 8029 8030 8031 8032 8033 8034 8035 8036 8037 8038 8039 8040 8041 8042 8043 8044 8045 8046 8047 8048 8049 8050 8051 8052 8053 8054 8055 8056 8057 8058 8059 8060 8061 8062 8063 8064 8065 8066 8067 8068 8069 8070 8071 8072 8073 8074 8075 8076 8077 8078 8079 8080 8081 8082 8083 8084 8085 8086 8087 8088 8089 8090 8091 8092 8093 8094 8095 8096 8097 8098 8099 8100 8101 8102 8103 8104 8105 8106 8107 8108 8109 8110 8111 8112 8113 8114 8115 8116 8117 8118 8119 8120 8121 8122 8123 8124 8125 8126 8127 8128 8129 8130 8131 8132 8133 8134 8135 8136 8137 8138 8139 8140 8141 8142 8143 8144 8145 8146 8147 8148 8149 8150 8151 8152 8153 8154 8155 8156 8157 8158 8159 8160 8161 8162 8163 8164 8165 8166 8167 8168 8169 8170 8171 8172 8173 8174 8175 8176 8177 8178 8179 8180 8181 8182 8183 8184 8185 8186 8187 8188 8189 8190 8191 8192 8193 8194 8195 8196 8197 8198 8199 8200 8201 8202 8203 8204 8205 8206 8207 8208 8209 8210 8211 8212 8213 8214 8215 8216 8217 8218 8219 8220 8221 8222 8223 8224 8225 8226 8227 8228 8229 8230 8231 8232 8233 8234 8235 8236 8237 8238 8239 8240 8241 8242 8243 8244 8245 8246 8247 8248 8249 8250 8251 8252 8253 8254 8255 8256 8257 8258 8259 8260 8261 8262 8263 8264 8265 8266 8267 8268 8269 8270 8271 8272 8273 8274 8275 8276 8277 8278 8279 8280 8281 8282 8283 8284 8285 8286 8287 8288 8289 8290 8291 8292 8293 8294 8295 8296 8297 8298 8299 8300 8301 8302 8303 8304 8305 8306 8307 8308 8309 8310 8311 8312 8313 8314 8315 8316 8317 8318 8319 8320 8321 8322 8323 8324 8325 8326 8327 8328 8329 8330 8331 8332 8333 8334 8335 8336 8337 8338 8339 8340 8341 8342 8343 8344 8345 8346 8347 8348 8349 8350 8351 8352 8353 8354 8355 8356 8357 8358 8359 8360 8361 8362 8363 8364 8365 8366 8367 8368 8369 8370 8371 8372 8373 8374 8375 8376 8377 8378 8379 8380 8381 8382 8383 8384 8385 8386 8387 8388 8389 8390 8391 8392 8393 8394 8395 8396 8397 8398 8399 8400 8401 8402 8403 8404 8405 8406 8407 8408 8409 8410 8411 8412 8413 8414 8415 8416 8417 8418 8419 8420 8421 8422 8423 8424 8425 8426 8427 8428 8429 8430 8431 8432 8433 8434 8435 8436 8437 8438 8439 8440 8441 8442 8443 8444 8445 8446 8447 8448 8449 8450 8451 8452 8453 8454 8455 8456 8457 8458 8459 8460 8461 8462 8463 8464 8465 8466 8467 8468 8469 8470 8471 8472 8473 8474 8475 8476 8477 8478 8479 8480 8481 8482 8483 8484 8485 8486 8487 8488 8489 8490 8491 8492 8493 8494 8495 8496 8497 8498 8499 8500 8501 8502 8503 8504 8505 8506 8507 8508 8509 8510 8511 8512 8513 8514 8515 8516 8517 8518 8519 8520 8521 8522 8523 8524 8525 8526 8527 8528 8529 8530 8531 8532 8533 8534 8535 8536 8537 8538 8539 8540 8541 8542 8543 8544 8545 8546 8547 8548 8549 8550 8551 8552 8553 8554 8555 8556 8557 8558 8559 8560 8561 8562 8563 8564 8565 8566 8567 8568 8569 8570 8571 8572 8573 8574 8575 8576 8577 8578 8579 8580 8581 8582 8583 8584 8585 8586 8587 8588 8589 8590 8591 8592 8593 8594 8595 8596 8597 8598 8599 8600 8601 8602 8603 8604 8605 8606 8607 8608 8609 8610 8611 8612 8613 8614 8615 8616 8617 8618 8619 8620 8621 8622 8623 8624 8625 8626 8627 8628 8629 8630 8631 8632 8633 8634 8635 8636 8637 8638 8639 8640 8641 8642 8643 8644 8645 8646 8647 8648 8649 8650 8651 8652 8653 8654 8655 8656 8657 8658 8659 8660 8661 8662 8663 8664 8665 8666 8667 8668 8669 8670 8671 8672 8673 8674 8675 8676 8677 8678 8679 8680 8681 8682 8683 8684 8685 8686 8687 8688 8689 8690 8691 8692 8693 8694 8695 8696 8697 8698 8699 8700 8701 8702 8703 8704 8705 8706 8707 8708 8709 8710 8711 8712 8713 8714 8715 8716 8717 8718 8719 8720 8721 8722 8723 8724 8725 8726 8727 8728 8729 8730 8731 8732 8733 8734 8735 8736 8737 8738 8739 8740 8741 8742 8743 8744 8745 8746 8747 8748 8749 8750 8751 8752 8753 8754 8755 8756 8757 8758 8759 8760 8761 8762 8763 8764 8765 8766 8767 8768 8769 8770 8771 8772 8773 8774 8775 8776 8777 8778 8779 8780 8781 8782 8783 8784 8785 8786 8787 8788 8789 8790 8791 8792 8793 8794 8795 8796 8797 8798 8799 8800 8801 8802 8803 8804 8805 8806 8807 8808 8809 8810 8811 8812 8813 8814 8815 8816 8817 8818 8819 8820 8821 8822 8823 8824 8825 8826 8827 8828 8829 8830 8831 8832 8833 8834 8835 8836 8837 8838 8839 8840 8841 8842 8843 8844 8845 8846 8847 8848 8849 8850 8851 8852 8853 8854 8855 8856 8857 8858 8859 8860 8861 8862 8863 8864 8865 8866 8867 8868 8869 8870 8871 8872 8873 8874 8875 8876 8877 8878 8879 8880 8881 8882 8883 8884 8885 8886 8887 8888 8889 8890 8891 8892 8893 8894 8895 8896 8897 8898 8899 8900 8901 8902 8903 8904 8905 8906 8907 8908 8909 8910 8911 8912 8913 8914 8915 8916 8917 8918 8919 8920 8921 8922 8923 8924 8925 8926 8927 8928 8929 8930 8931 8932 8933 8934 8935 8936 8937 8938 8939 8940 8941 8942 8943 8944 8945 8946 8947 8948 8949 8950 8951 8952 8953 8954 8955 8956 8957 8958 8959 8960 8961 8962 8963 8964 8965 8966 8967 8968 8969 8970 8971 8972 8973 8974 8975 8976 8977 8978 8979 8980 8981 8982 8983 8984 8985 8986 8987 8988 8989 8990 8991 8992 8993 8994 8995 8996 8997 8998 8999 9000 9001 9002 9003 9004 9005 9006 9007 9008 9009 9010 9011 9012 9013 9014 9015 9016 9017 9018 9019 9020 9021 9022 9023 9024 9025 9026 9027 9028 9029 9030 9031 9032 9033 9034 9035 9036 9037 9038 9039 9040 9041 9042 9043 9044 9045 9046 9047 9048 9049 9050 9051 9052 9053 9054 9055 9056 9057 9058 9059 9060 9061 9062 9063 9064 9065 9066 9067 9068 9069 9070 9071 9072 9073 9074 9075 9076 9077 9078 9079 9080 9081 9082 9083 9084 9085 9086 9087 9088 9089 9090 9091 9092 9093 9094 9095 9096 9097 9098 9099 9100 9101 9102 9103 9104 9105 9106 9107 9108 9109 9110 9111 9112 9113 9114 9115 9116 9117 9118 9119 9120 9121 9122 9123 9124 9125 9126 9127 9128 9129 9130 9131 9132 9133 9134 9135 9136 9137 9138 9139 9140 9141 9142 9143 9144 9145 9146 9147 9148 9149 9150 9151 9152 9153 9154 9155 9156 9157 9158 9159 9160 9161 9162 9163 9164 9165 9166 9167 9168 9169 9170 9171 9172 9173 9174 9175 9176 9177 9178 9179 9180 9181 9182 9183 9184 9185 9186 9187 9188 9189 9190 9191 9192 9193 9194 9195 9196 9197 9198 9199 9200 9201 9202 9203 9204 9205 9206 9207 9208 9209 9210 9211 9212 9213 9214 9215 9216 9217 9218 9219 9220 9221 9222 9223 9224 9225 9226 9227 9228 9229 9230 9231 9232 9233 9234 9235 9236 9237 9238 9239 9240 9241 9242 9243 9244 9245 9246 9247 9248 9249 9250 9251 9252 9253 9254 9255 9256 9257 9258 9259 9260 9261 9262 9263 9264 9265 9266 9267 9268 9269 9270 9271 9272 9273 9274 9275 9276 9277 9278 9279 9280 9281 9282 9283 9284 9285 9286 9287 9288 9289 9290 9291 9292 9293 9294 9295 9296 9297 9298 9299 9300 9301 9302 9303 9304 9305 9306 9307 9308 9309 9310 9311 9312 9313 9314 9315 9316 9317 9318 9319 9320 9321 9322 9323 9324 9325 9326 9327 9328 9329 9330 9331 9332 9333 9334 9335 9336 9337 9338 9339 9340 9341 9342 9343 9344 9345 9346 9347 9348 9349 9350 9351 9352 9353 9354 9355 9356 9357 9358 9359 9360 9361 9362 9363 9364 9365 9366 9367 9368 9369 9370 9371 9372 9373 9374 9375 9376 9377 9378 9379 9380 9381 9382 9383 9384 9385 9386 9387 9388 9389 9390 9391 9392 9393 9394 9395 9396 9397 9398 9399 9400 9401 9402 9403 9404 9405 9406 9407 9408 9409 9410 9411 9412 9413 9414 9415 9416 9417 9418 9419 9420 9421 9422 9423 9424 9425 9426 9427 9428 9429 9430 9431 9432 9433 9434 9435 9436 9437 9438 9439 9440 9441 9442 9443 9444 9445 9446 9447 9448 9449 9450 9451 9452 9453 9454 9455 9456 9457 9458 9459 9460 9461 9462 9463 9464 9465 9466 9467 9468 9469 9470 9471 9472 9473 9474 9475 9476 9477 9478 9479 9480 9481 9482 9483 9484 9485 9486 9487 9488 9489 9490 9491 9492 9493 9494 9495 9496 9497 9498 9499 9500 9501 9502 9503 9504 9505 9506 9507 9508 9509 9510 9511 9512 9513 9514 9515 9516 9517 9518 9519 9520 9521 9522 9523 9524 9525 9526 9527 9528 9529 9530 9531 9532 9533 9534 9535 9536 9537 9538 9539 9540 9541 9542 9543 9544 9545 9546 9547 9548 9549 9550 9551 9552 9553 9554 9555 9556 9557 9558 9559 9560 9561 9562 9563 9564 9565 9566 9567 9568 9569 9570 9571 9572 9573 9574 9575 9576 9577 9578 9579 9580 9581 9582 9583 9584 9585 9586 9587 9588 9589 9590 9591 9592 9593 9594 9595 9596 9597 9598 9599 9600 9601 9602 9603 9604 9605 9606 9607 9608 9609 9610 9611 9612 9613 9614 9615 9616 9617 9618 9619 9620 9621 9622 9623 9624 9625 9626 9627 9628 9629 9630 9631 9632 9633 9634 9635 9636 9637 9638 9639 9640 9641 9642 9643 9644 9645 9646 9647 9648 9649 9650 9651 9652 9653 9654 9655 9656 9657 9658 9659 9660 9661 9662 9663 9664 9665 9666 9667 9668 9669 9670 9671 9672 9673 9674 9675 9676 9677 9678 9679 9680 9681 9682 9683 9684 9685 9686 9687 9688 9689 9690 9691 9692 9693 9694 9695 9696 9697 9698 9699 9700 9701 9702 9703 9704 9705 9706 9707 9708 9709 9710 9711 9712 9713 9714 9715 9716 9717 9718 9719 9720 9721 9722 9723 9724 9725 9726 9727 9728 9729 9730 9731 9732 9733 9734 9735 9736 9737 9738 9739 9740 9741 9742 9743 9744 9745 9746 9747 9748 9749 9750 9751 9752 9753 9754 9755 9756 9757 9758 9759 9760 9761 9762 9763 9764 9765 9766 9767 9768 9769 9770 9771 9772 9773 9774 9775 9776 9777 9778 9779 9780 9781 9782 9783 9784 9785 9786 9787 9788 9789 9790 9791 9792 9793 9794 9795 9796 9797 9798 9799 9800 9801 9802 9803 9804 9805 9806 9807 9808 9809 9810 9811 9812 9813 9814 9815 9816 9817 9818 9819 9820 9821 9822 9823 9824 9825 9826 9827 9828 9829 9830 9831 9832 9833 9834 9835 9836 9837 9838 9839 9840 9841 9842 9843 9844 9845 9846 9847 9848 9849 9850 9851 9852 9853 9854 9855 9856 9857 9858 9859 9860 9861 9862 9863 9864 9865 9866 9867 9868 9869 9870 9871 9872 9873 9874 9875 9876 9877 9878 9879 9880 9881 9882 9883 9884 9885 9886 9887 9888 9889 9890 9891 9892 9893 9894 9895 9896 9897 9898 9899 9900 9901 9902 9903 9904 9905 9906 9907 9908 9909 9910 9911 9912 9913 9914 9915 9916 9917 9918 9919 9920 9921 9922 9923 9924 9925 9926 9927 9928 9929 9930 9931 9932 9933 9934 9935 9936 9937 9938 9939 9940 9941 9942 9943 9944 9945 9946 9947 9948 9949 9950 9951 9952 9953 9954 9955 9956 9957 9958 9959 9960 9961 9962 9963 9964 9965 9966 9967 9968 9969 9970 9971 9972 9973 9974 9975 9976 9977 9978 9979 9980 9981 9982 9983 9984 9985 9986 9987 9988 9989 9990 9991 9992 9993 9994 9995 9996 9997 9998 9999 10000 10001 10002 10003 10004 10005 10006 10007 10008 10009 10010 10011 10012 10013 10014 10015 10016 10017 10018 10019 10020 10021 10022 10023 10024 10025 10026 10027 10028 10029 10030 10031 10032 10033 10034 10035 10036 10037 10038 10039 10040 10041 10042 10043 10044 10045 10046 10047 10048 10049 10050 10051 10052 10053 10054 10055 10056 10057 10058 10059 10060 10061 10062 10063 10064 10065 10066 10067 10068 10069 10070 10071 10072 10073 10074 10075 10076 10077 10078 10079 10080 10081 10082 10083 10084 10085 10086 10087 10088 10089 10090 10091 10092 10093 10094 10095 10096 10097 10098 10099 10100 10101 10102 10103 10104 10105 10106 10107 10108 10109 10110 10111 10112 10113 10114 10115 10116 10117 10118 10119 10120 10121 10122 10123 10124 10125 10126 10127 10128 10129 10130 10131 10132 10133 10134 10135 10136 10137 10138 10139 10140 10141 10142 10143 10144 10145 10146 10147 10148 10149 10150 10151 10152 10153 10154 10155 10156 10157 10158 10159 10160 10161 10162 10163 10164 10165 10166 10167 10168 10169 10170 10171 10172 10173 10174 10175 10176 10177 10178 10179 10180 10181 10182 10183 10184 10185 10186 10187 10188 10189 10190 10191 10192 10193 10194 10195 10196 10197 10198 10199 10200 10201 10202 10203 10204 10205 10206 10207 10208 10209 10210 10211 10212 10213 10214 10215 10216 10217 10218 10219 10220 10221 10222 10223 10224 10225 10226 10227 10228 10229 10230 10231 10232 10233 10234 10235 10236 10237 10238 10239 10240 10241 10242 10243 10244 10245 10246 10247 10248 10249 10250 10251 10252 10253 10254 10255 10256 10257 10258 10259 10260 10261 10262 10263 10264 10265 10266 10267 10268 10269 10270 10271 10272 10273 10274 10275 10276 10277 10278 10279 10280 10281 10282 10283 10284 10285 10286 10287 10288 10289 10290 10291 10292 10293 10294 10295 10296 10297 10298 10299 10300 10301 10302 10303 10304 10305 10306 10307 10308 10309 10310 10311 10312 10313 10314 10315 10316 10317 10318 10319 10320 10321 10322 10323 10324 10325 10326 10327 10328 10329 10330 10331 10332 10333 10334 10335 10336 10337 10338 10339 10340 10341 10342 10343 10344 10345 10346 10347 10348 10349 10350 10351 10352 10353 10354 10355 10356 10357 10358 10359 10360 10361 10362 10363 10364 10365 10366 10367 10368 10369 10370 10371 10372 10373 10374 10375 10376 10377 10378 10379 10380 10381 10382 10383 10384 10385 10386 10387 10388 10389 10390 10391 10392 10393 10394 10395 10396 10397 10398 10399 10400 10401 10402 10403 10404 10405 10406 10407 10408 10409 10410 10411 10412 10413 10414 10415 10416 10417 10418 10419 10420 10421 10422 10423 10424 10425 10426 10427 10428 10429 10430 10431 10432 10433 10434 10435 10436 10437 10438 10439 10440 10441 10442 10443 10444 10445 10446 10447 10448 10449 10450 10451 10452 10453 10454 10455 10456 10457 10458 10459 10460 10461 10462 10463 10464 10465 10466 10467 10468 10469 10470 10471 10472 10473 10474 10475 10476 10477 10478 10479 10480 10481 10482 10483 10484 10485 10486 10487 10488 10489 10490 10491 10492 10493 10494 10495 10496 10497 10498 10499 10500 10501 10502 10503 10504 10505 10506 10507 10508 10509 10510 10511 10512 10513 10514 10515 10516 10517 10518 10519 10520 10521 10522 10523 10524 10525 10526 10527 10528 10529 10530 10531 10532 10533 10534 10535 10536 10537 10538 10539 10540 10541 10542 10543 10544 10545 10546 10547 10548 10549 10550 10551 10552 10553 10554 10555 10556 10557 10558 10559 10560 10561 10562 10563 10564 10565 10566 10567 10568 10569 10570 10571 10572 10573 10574 10575 10576 10577 10578 10579 10580 10581 10582 10583 10584 10585 10586 10587 10588 10589 10590 10591 10592 10593 10594 10595 10596 10597 10598 10599 10600 10601 10602 10603 10604 10605 10606 10607 10608 10609 10610 10611 10612 10613 10614 10615 10616 10617 10618 10619 10620 10621 10622 10623 10624 10625 10626 10627 10628 10629 10630 10631 10632 10633 10634 10635 10636 10637 10638 10639 10640 10641 10642 10643 10644 10645 10646 10647 10648 10649 10650 10651 10652 10653 10654 10655 10656 10657 10658 10659 10660 10661 10662 10663 10664 10665 10666 10667 10668 10669 10670 10671 10672 10673 10674 10675 10676 10677 10678 10679 10680 10681 10682 10683 10684 10685 10686 10687 10688 10689 10690 10691 10692 10693 10694 10695 10696 10697 10698 10699 10700 10701 10702 10703 10704 10705 10706 10707 10708 10709 10710 10711 10712 10713 10714 10715 10716 10717 10718 10719 10720 10721 10722 10723 10724 10725 10726 10727 10728 10729 10730 10731 10732 10733 10734 10735 10736 10737 10738 10739 10740 10741 10742 10743 10744 10745 10746 10747 10748 10749 10750 10751 10752 10753 10754 10755 10756 10757 10758 10759 10760 10761 10762 10763 10764 10765 10766 10767 10768 10769 10770 10771 10772 10773 10774 10775 10776 10777 10778 10779 10780 10781 10782 10783 10784 10785 10786 10787 10788 10789 10790 10791 10792 10793 10794 10795 10796 10797 10798 10799 10800 10801 10802 10803 10804 10805 10806 10807 10808 10809 10810 10811 10812 10813 10814 10815 10816 10817 10818 10819 10820 10821 10822 10823 10824 10825 10826 10827 10828 10829 10830 10831 10832 10833 10834 10835 10836 10837 10838 10839 10840 10841 10842 10843 10844 10845 10846 10847 10848 10849 10850 10851 10852 10853 10854 10855 10856 10857 10858 10859 10860 10861 10862 10863 10864 10865 10866 10867 10868 10869 10870 10871 10872 10873 10874 10875 10876 10877 10878 10879 10880 10881 10882 10883 10884 10885 10886 10887 10888 10889 10890 10891 10892 10893 10894 10895 10896 10897 10898 10899 10900 10901 10902 10903 10904 10905 10906 10907 10908 10909 10910 10911 10912 10913 10914 10915 10916 10917 10918 10919 10920 10921 10922 10923 10924 10925 10926 10927 10928 10929 10930 10931 10932 10933 10934 10935 10936 10937 10938 10939 10940 10941 10942 10943 10944 10945 10946 10947 10948 10949 10950 10951 10952 10953 10954 10955 10956 10957 10958 10959 10960 10961 10962 10963 10964 10965 10966 10967 10968 10969 10970 10971 10972 10973 10974 10975 10976 10977 10978 10979 10980 10981 10982 10983 10984 10985 10986 10987 10988 10989 10990 10991 10992 10993 10994 10995 10996 10997 10998 10999 11000 11001 11002 11003 11004 11005 11006 11007 11008 11009 11010 11011 11012 11013 11014 11015 11016 11017 11018 11019 11020 11021 11022 11023 11024 11025 11026 11027 11028 11029 11030 11031 11032 11033 11034 11035 11036 11037 11038 11039 11040 11041 11042 11043 11044 11045 11046 11047 11048 11049 11050 11051 11052 11053 11054 11055 11056 11057 11058 11059 11060 11061 11062 11063 11064 11065 11066 11067 11068 11069 11070 11071 11072 11073 11074 11075 11076 11077 11078 11079 11080 11081 11082 11083 11084 11085 11086 11087 11088 11089 11090 11091 11092 11093 11094 11095 11096 11097 11098 11099 11100 11101 11102 11103 11104 11105 11106 11107 11108 11109 11110 11111 11112 11113 11114 11115 11116 11117 11118 11119 11120 11121 11122 11123 11124 11125 11126 11127 11128 11129 11130 11131 11132 11133 11134 11135 11136 11137 11138 11139 11140 11141 11142 11143 11144 11145 11146 11147 11148 11149 11150 11151 11152 11153 11154 11155 11156 11157 11158 11159 11160 11161 11162 11163 11164 11165 11166 11167 11168 11169 11170 11171 11172 11173 11174 11175 11176 11177 11178 11179 11180 11181 11182 11183 11184 11185 11186 11187 11188 11189 11190 11191 11192 11193 11194 11195 11196 11197 11198 11199 11200 11201 11202 11203 11204 11205 11206 11207 11208 11209 11210 11211 11212 11213 11214 11215 11216 11217 11218 11219 11220 11221 11222 11223 11224 11225 11226 11227 11228 11229 11230 11231 11232 11233 11234 11235 11236 11237 11238 11239 11240 11241 11242 11243 11244 11245 11246 11247 11248 11249 11250 11251 11252 11253 11254 11255 11256 11257 11258 11259 11260 11261 11262 11263 11264 11265 11266 11267 11268 11269 11270 11271 11272 11273 11274 11275 11276 11277 11278 11279 11280 11281 11282 11283 11284 11285 11286 11287 11288 11289 11290 11291 11292 11293 11294 11295 11296 11297 11298 11299 11300 11301 11302 11303 11304 11305 11306 11307 11308 11309 11310 11311 11312 11313 11314 11315 11316 11317 11318 11319 11320 11321 11322 11323 11324 11325 11326 11327 11328 11329 11330 11331 11332 11333 11334 11335 11336 11337 11338 11339 11340 11341 11342 11343 11344 11345 11346 11347 11348 11349 11350 11351 11352 11353 11354 11355 11356 11357 11358 11359 11360 11361 11362 11363 11364 11365 11366 11367 11368 11369 11370 11371 11372 11373 11374 11375 11376 11377 11378 11379 11380 11381 11382 11383 11384 11385 11386 11387 11388 11389 11390 11391 11392 11393 11394 11395 11396 11397 11398 11399 11400 11401 11402 11403 11404 11405 11406 11407 11408 11409 11410 11411 11412 11413 11414 11415 11416 11417 11418 11419 11420 11421 11422 11423 11424 11425 11426 11427 11428 11429 11430 11431 11432 11433 11434 11435 11436 11437 11438 11439 11440 11441 11442 11443 11444 11445 11446 11447 11448 11449 11450 11451 11452 11453 11454 11455 11456 11457 11458 11459 11460 11461 11462 11463 11464 11465 11466 11467 11468 11469 11470 11471 11472 11473 11474 11475 11476 11477 11478 11479 11480 11481 11482 11483 11484 11485 11486 11487 11488 11489 11490 11491 11492 11493 11494 11495 11496 11497 11498 11499 11500 11501 11502 11503 11504 11505 11506 11507 11508 11509 11510 11511 11512 11513 11514 11515 11516 11517 11518 11519 11520 11521 11522 11523 11524 11525 11526 11527 11528 11529 11530 11531 11532 11533 11534 11535 11536 11537 11538 11539 11540 11541 11542 11543 11544 11545 11546 11547 11548 11549 11550 11551 11552 11553 11554 11555 11556 11557 11558 11559 11560 11561 11562 11563 11564 11565 11566 11567 11568 11569 11570 11571 11572 11573 11574 11575 11576 11577 11578 11579 11580 11581 11582 11583 11584 11585 11586 11587 11588 11589 11590 11591 11592 11593 11594 11595 11596 11597 11598 11599 11600 11601 11602 11603 11604 11605 11606 11607 11608 11609 11610 11611 11612 11613 11614 11615 11616 11617 11618 11619 11620 11621 11622 11623 11624 11625 11626 11627 11628 11629 11630 11631 11632 11633 11634 11635 11636 11637 11638 11639 11640 11641 11642 11643 11644 11645 11646 11647 11648 11649 11650 11651 11652 11653 11654 11655 11656 11657 11658 11659 11660 11661 11662 11663 11664 11665 11666 11667 11668 11669 11670 11671 11672 11673 11674 11675 11676 11677 11678 11679 11680 11681 11682 11683 11684 11685 11686 11687 11688 11689 11690 11691 11692 11693 11694 11695 11696 11697 11698 11699 11700 11701 11702 11703 11704 11705 11706 11707 11708 11709 11710 11711 11712 11713 11714 11715 11716 11717 11718 11719 11720 11721 11722 11723 11724 11725 11726 11727 11728 11729 11730 11731 11732 11733 11734 11735 11736 11737 11738 11739 11740 11741 11742 11743 11744 11745 11746 11747 11748 11749 11750 11751 11752 11753 11754 11755 11756 11757 11758 11759 11760 11761 11762 11763 11764 11765 11766 11767 11768 11769 11770 11771 11772 11773 11774 11775 11776 11777 11778 11779 11780 11781 11782 11783 11784 11785 11786 11787 11788 11789 11790 11791 11792 11793 11794 11795 11796 11797 11798 11799 11800 11801 11802 11803 11804 11805 11806 11807 11808 11809 11810 11811 11812 11813 11814 11815 11816 11817 11818 11819 11820 11821 11822 11823 11824 11825 11826 11827 11828 11829 11830 11831 11832 11833 11834 11835 11836 11837 11838 11839 11840 11841 11842 11843 11844 11845 11846 11847 11848 11849 11850 11851 11852 11853 11854 11855 11856 11857 11858 11859 11860 11861 11862 11863 11864 11865 11866 11867 11868 11869 11870 11871 11872 11873 11874 11875 11876 11877 11878 11879 11880 11881 11882 11883 11884 11885 11886 11887 11888 11889 11890 11891 11892 11893 11894 11895 11896 11897 11898 11899 11900 11901 11902 11903 11904 11905 11906 11907 11908 11909 11910 11911 11912 11913 11914 11915 11916 11917 11918 11919 11920 11921 11922 11923 11924 11925 11926 11927 11928 11929 11930 11931 11932 11933 11934 11935 11936 11937 11938 11939 11940 11941 11942 11943 11944 11945 11946 11947 11948 11949 11950 11951 11952 11953 11954 11955 11956 11957 11958 11959 11960 11961 11962 11963 11964 11965 11966 11967 11968 11969 11970 11971 11972 11973 11974 11975 11976 11977 11978 11979 11980 11981 11982 11983 11984 11985 11986 11987 11988 11989 11990 11991 11992 11993 11994 11995 11996 11997 11998 11999 12000 12001 12002 12003 12004 12005 12006 12007 12008 12009 12010 12011 12012 12013 12014 12015 12016 12017 12018 12019 12020 12021 12022 12023 12024 12025 12026 12027 12028 12029 12030 12031 12032 12033 12034 12035 12036 12037 12038 12039 12040 12041 12042 12043 12044 12045 12046 12047 12048 12049 12050 12051 12052 12053 12054 12055 12056 12057 12058 12059 12060 12061 12062 12063 12064 12065 12066 12067 12068 12069 12070 12071 12072 12073 12074 12075 12076 12077 12078 12079 12080 12081 12082 12083 12084 12085 12086 12087 12088 12089 12090 12091 12092 12093 12094 12095 12096 12097 12098 12099 12100 12101 12102 12103 12104 12105 12106 12107 12108 12109 12110 12111 12112 12113 12114 12115 12116 12117 12118 12119 12120 12121 12122 12123 12124 12125 12126 12127 12128 12129 12130 12131 12132 12133 12134 12135 12136 12137 12138 12139 12140 12141 12142 12143 12144 12145 12146 12147 12148 12149 12150 12151 12152 12153 12154 12155 12156 12157 12158 12159 12160 12161 12162 12163 12164 12165 12166 12167 12168 12169 12170 12171 12172 12173 12174 12175 12176 12177 12178 12179 12180 12181 12182 12183 12184 12185 12186 12187 12188 12189 12190 12191 12192 12193 12194 12195 12196 12197 12198 12199 12200 12201 12202 12203 12204 12205 12206 12207 12208 12209 12210 12211 12212 12213 12214 12215 12216 12217 12218 12219 12220 12221 12222 12223 12224 12225 12226 12227 12228 12229 12230 12231 12232 12233 12234 12235 12236 12237 12238 12239 12240 12241 12242 12243 12244 12245 12246 12247 12248 12249 12250 12251 12252 12253 12254 12255 12256 12257 12258 12259 12260 12261 12262 12263 12264 12265 12266 12267 12268 12269 12270 12271 12272 12273 12274 12275 12276 12277 12278 12279 12280 12281 12282 12283 12284 12285 12286 12287 12288 12289 12290 12291 12292 12293 12294 12295 12296 12297 12298 12299 12300 12301 12302 12303 12304 12305 12306 12307 12308 12309 12310 12311 12312 12313 12314 12315 12316 12317 12318 12319 12320 12321 12322 12323 12324 12325 12326 12327 12328 12329 12330 12331 12332 12333 12334 12335 12336 12337 12338 12339 12340 12341 12342 12343 12344 12345 12346 12347 12348 12349 12350 12351 12352 12353 12354 12355 12356 12357 12358 12359 12360 12361 12362 12363 12364 12365 12366 12367 12368 12369 12370 12371 12372 12373 12374 12375 12376 12377 12378 12379 12380 12381 12382 12383 12384 12385 12386 12387 12388 12389 12390 12391 12392 12393 12394 12395 12396 12397 12398 12399 12400 12401 12402 12403 12404 12405 12406 12407 12408 12409 12410 12411 12412 12413 12414 12415 12416 12417 12418 12419 12420 12421 12422 12423 12424 12425 12426 12427 12428 12429 12430 12431 12432 12433 12434 12435 12436 12437 12438 12439 12440 12441 12442 12443 12444 12445 12446 12447 12448 12449 12450 12451 12452 12453 12454 12455 12456 12457 12458 12459 12460 12461 12462 12463 12464 12465 12466 12467 12468 12469 12470 12471 12472 12473 12474 12475 12476 12477 12478 12479 12480 12481 12482 12483 12484 12485 12486 12487 12488 12489 12490 12491 12492 12493 12494 12495 12496 12497 12498 12499 12500 12501 12502 12503 12504 12505 12506 12507 12508 12509 12510 12511 12512 12513 12514 12515 12516 12517 12518 12519 12520 12521 12522 12523 12524 12525 12526 12527 12528 12529 12530 12531 12532 12533 12534 12535 12536 12537 12538 12539 12540 12541 12542 12543 12544 12545 12546 12547 12548 12549 12550 12551 12552 12553 12554 12555 12556 12557 12558 12559 12560 12561 12562 12563 12564 12565 12566 12567 12568 12569 12570 12571 12572 12573 12574 12575 12576 12577 12578 12579 12580 12581 12582 12583 12584 12585 12586 12587 12588 12589 12590 12591 12592 12593 12594 12595 12596 12597 12598 12599 12600 12601 12602 12603 12604 12605 12606 12607 12608 12609 12610 12611 12612 12613 12614 12615 12616 12617 12618 12619 12620 12621 12622 12623 12624 12625 12626 12627 12628 12629 12630 12631 12632 12633 12634 12635 12636 12637 12638 12639 12640 12641 12642 12643 12644 12645 12646 12647 12648 12649 12650 12651 12652 12653 12654 12655 12656 12657 12658 12659 12660 12661 12662 12663 12664
|
<?php
// Start of standard v.5.6.0
class __PHP_Incomplete_Class {
}
class php_user_filter {
public $filtername;
public $params;
/**
* Called when applying the filter
* @link http://www.php.net/manual/en/php-user-filter.filter.php
* @param in resource <p>
* in is a resource pointing to a bucket brigade
* which contains one or more bucket objects containing data to be filtered.
* </p>
* @param out resource <p>
* out is a resource pointing to a second bucket brigade
* into which your modified buckets should be placed.
* </p>
* @param consumed int <p>
* consumed, which must always
* be declared by reference, should be incremented by the length of the data
* which your filter reads in and alters. In most cases this means you will
* increment consumed by $bucket->datalen
* for each $bucket.
* </p>
* @param closing bool <p>
* If the stream is in the process of closing
* (and therefore this is the last pass through the filterchain),
* the closing parameter will be set to true.
* </p>
* @return int The filter method must return one of
* three values upon completion.
*
*
*
* <tr valign="top">
* <td>Return Value</td>
* <td>Meaning</td>
* </tr>
*
*
* <tr valign="top">
* <td>PSFS_PASS_ON</td>
* <td>
* Filter processed successfully with data available in the
* out bucket brigade.
* </td>
* </tr>
* <tr valign="top">
* <td>PSFS_FEED_ME</td>
* <td>
* Filter processed successfully, however no data was available to
* return. More data is required from the stream or prior filter.
* </td>
* </tr>
* <tr valign="top">
* <td>PSFS_ERR_FATAL (default)</td>
* <td>
* The filter experienced an unrecoverable error and cannot continue.
* </td>
* </tr>
*/
public function filter ($in, $out, &$consumed, $closing) {}
/**
* Called when creating the filter
* @link http://www.php.net/manual/en/php-user-filter.oncreate.php
* @return bool Your implementation of
* this method should return false on failure, or true on success.
*/
public function onCreate () {}
/**
* Called when closing the filter
* @link http://www.php.net/manual/en/php-user-filter.onclose.php
* @return void Return value is ignored.
*/
public function onClose () {}
}
class Directory {
/**
* Close directory handle
* @link http://www.php.net/manual/en/directory.close.php
* @param dir_handle resource[optional]
* @return void
*/
public function close ($dir_handle = null) {}
/**
* Rewind directory handle
* @link http://www.php.net/manual/en/directory.rewind.php
* @param dir_handle resource[optional]
* @return void
*/
public function rewind ($dir_handle = null) {}
/**
* Read entry from directory handle
* @link http://www.php.net/manual/en/directory.read.php
* @param dir_handle resource[optional]
* @return string
*/
public function read ($dir_handle = null) {}
}
/**
* Returns the value of a constant
* @link http://www.php.net/manual/en/function.constant.php
* @param name string <p>
* The constant name.
* </p>
* @return mixed the value of the constant, or &null; if the constant is not
* defined.
*/
function constant ($name) {}
/**
* Convert binary data into hexadecimal representation
* @link http://www.php.net/manual/en/function.bin2hex.php
* @param str string <p>
* A string.
* </p>
* @return string the hexadecimal representation of the given string.
*/
function bin2hex ($str) {}
/**
* Decodes a hexadecimally encoded binary string
* @link http://www.php.net/manual/en/function.hex2bin.php
* @param data string <p>
* Hexadecimal representation of data.
* </p>
* @return string the binary representation of the given data &return.falseforfailure;.
*/
function hex2bin ($data) {}
/**
* Delay execution
* @link http://www.php.net/manual/en/function.sleep.php
* @param seconds int <p>
* Halt time in seconds.
* </p>
* @return int zero on success, or false on error.
* </p>
* <p>
* If the call was interrupted by a signal, sleep returns
* a non-zero value. On Windows, this value will always be
* 192 (the value of the
* WAIT_IO_COMPLETION constant within the Windows API).
* On other platforms, the return value will be the number of seconds left to
* sleep.
*/
function sleep ($seconds) {}
/**
* Delay execution in microseconds
* @link http://www.php.net/manual/en/function.usleep.php
* @param micro_seconds int <p>
* Halt time in micro seconds. A micro second is one millionth of a
* second.
* </p>
* @return void
*/
function usleep ($micro_seconds) {}
/**
* Delay for a number of seconds and nanoseconds
* @link http://www.php.net/manual/en/function.time-nanosleep.php
* @param seconds int <p>
* Must be a non-negative integer.
* </p>
* @param nanoseconds int <p>
* Must be a non-negative integer less than 1 billion.
* </p>
* @return mixed Returns true on success, false on failure.
* </p>
* <p>
* If the delay was interrupted by a signal, an associative array will be
* returned with the components:
*
*
*
* seconds - number of seconds remaining in
* the delay
*
*
*
*
* nanoseconds - number of nanoseconds
* remaining in the delay
*/
function time_nanosleep ($seconds, $nanoseconds) {}
/**
* Make the script sleep until the specified time
* @link http://www.php.net/manual/en/function.time-sleep-until.php
* @param timestamp float <p>
* The timestamp when the script should wake.
* </p>
* @return bool Returns true on success, false on failure.
*/
function time_sleep_until ($timestamp) {}
/**
* Parse a time/date generated with <function>strftime</function>
* @link http://www.php.net/manual/en/function.strptime.php
* @param date string <p>
* The string to parse (e.g. returned from strftime).
* </p>
* @param format string <p>
* The format used in date (e.g. the same as
* used in strftime). Note that some of the format
* options available to strftime may not have any
* effect within strptime; the exact subset that are
* supported will vary based on the operating system and C library in
* use.
* </p>
* <p>
* For more information about the format options, read the
* strftime page.
* </p>
* @return array an array&return.falseforfailure;.
* </p>
* <p>
* <table>
* The following parameters are returned in the array
*
*
* <tr valign="top">
* <td>parameters</td>
* <td>Description</td>
* </tr>
*
*
* <tr valign="top">
* <td>"tm_sec"</td>
* <td>Seconds after the minute (0-61)</td>
* </tr>
* <tr valign="top">
* <td>"tm_min"</td>
* <td>Minutes after the hour (0-59)</td>
* </tr>
* <tr valign="top">
* <td>"tm_hour"</td>
* <td>Hour since midnight (0-23)</td>
* </tr>
* <tr valign="top">
* <td>"tm_mday"</td>
* <td>Day of the month (1-31)</td>
* </tr>
* <tr valign="top">
* <td>"tm_mon"</td>
* <td>Months since January (0-11)</td>
* </tr>
* <tr valign="top">
* <td>"tm_year"</td>
* <td>Years since 1900</td>
* </tr>
* <tr valign="top">
* <td>"tm_wday"</td>
* <td>Days since Sunday (0-6)</td>
* </tr>
* <tr valign="top">
* <td>"tm_yday"</td>
* <td>Days since January 1 (0-365)</td>
* </tr>
* <tr valign="top">
* <td>"unparsed"</td>
* <td>the date part which was not
* recognized using the specified format</td>
* </tr>
*
*
* </table>
*/
function strptime ($date, $format) {}
/**
* Flush system output buffer
* @link http://www.php.net/manual/en/function.flush.php
* @return void
*/
function flush () {}
/**
* Wraps a string to a given number of characters
* @link http://www.php.net/manual/en/function.wordwrap.php
* @param str string <p>
* The input string.
* </p>
* @param width int[optional] <p>
* The number of characters at which the string will be wrapped.
* </p>
* @param break string[optional] <p>
* The line is broken using the optional
* break parameter.
* </p>
* @param cut bool[optional] <p>
* If the cut is set to true, the string is
* always wrapped at or before the specified width. So if you have
* a word that is larger than the given width, it is broken apart.
* (See second example).
* </p>
* @return string the given string wrapped at the specified length.
*/
function wordwrap ($str, $width = null, $break = null, $cut = null) {}
/**
* Convert special characters to HTML entities
* @link http://www.php.net/manual/en/function.htmlspecialchars.php
* @param string string <p>
* The string being converted.
* </p>
* @param flags int[optional] <p>
* A bitmask of one or more of the following flags, which specify how to handle quotes,
* invalid code unit sequences and the used document type. The default is
* ENT_COMPAT | ENT_HTML401.
* <table>
* Available flags constants
*
*
* <tr valign="top">
* <td>Constant Name</td>
* <td>Description</td>
* </tr>
*
*
* <tr valign="top">
* <td>ENT_COMPAT</td>
* <td>Will convert double-quotes and leave single-quotes alone.</td>
* </tr>
* <tr valign="top">
* <td>ENT_QUOTES</td>
* <td>Will convert both double and single quotes.</td>
* </tr>
* <tr valign="top">
* <td>ENT_NOQUOTES</td>
* <td>Will leave both double and single quotes unconverted.</td>
* </tr>
* <tr valign="top">
* <td>ENT_IGNORE</td>
* <td>
* Silently discard invalid code unit sequences instead of returning
* an empty string. Using this flag is discouraged as it
* may have security implications.
* </td>
* </tr>
* <tr valign="top">
* <td>ENT_SUBSTITUTE</td>
* <td>
* Replace invalid code unit sequences with a Unicode Replacement Character
* U+FFFD (UTF-8) or &#FFFD; (otherwise) instead of returning an empty string.
* </td>
* </tr>
* <tr valign="top">
* <td>ENT_DISALLOWED</td>
* <td>
* Replace invalid code points for the given document type with a
* Unicode Replacement Character U+FFFD (UTF-8) or &#FFFD;
* (otherwise) instead of leaving them as is. This may be useful, for
* instance, to ensure the well-formedness of XML documents with
* embedded external content.
* </td>
* </tr>
* <tr valign="top">
* <td>ENT_HTML401</td>
* <td>
* Handle code as HTML 4.01.
* </td>
* </tr>
* <tr valign="top">
* <td>ENT_XML1</td>
* <td>
* Handle code as XML 1.
* </td>
* </tr>
* <tr valign="top">
* <td>ENT_XHTML</td>
* <td>
* Handle code as XHTML.
* </td>
* </tr>
* <tr valign="top">
* <td>ENT_HTML5</td>
* <td>
* Handle code as HTML 5.
* </td>
* </tr>
*
*
* </table>
* </p>
* @param encoding string[optional] &strings.parameter.encoding;
* <p>
* For the purposes of this function, the encodings
* ISO-8859-1, ISO-8859-15,
* UTF-8, cp866,
* cp1251, cp1252, and
* KOI8-R are effectively equivalent, provided the
* string itself is valid for the encoding, as
* the characters affected by htmlspecialchars occupy
* the same positions in all of these encodings.
* </p>
* &reference.strings.charsets;
* @param double_encode bool[optional] <p>
* When double_encode is turned off PHP will not
* encode existing html entities, the default is to convert everything.
* </p>
* @return string The converted string.
* </p>
* <p>
* If the input string contains an invalid code unit
* sequence within the given encoding an empty string
* will be returned, unless either the ENT_IGNORE or
* ENT_SUBSTITUTE flags are set.
*/
function htmlspecialchars ($string, $flags = null, $encoding = null, $double_encode = null) {}
/**
* Convert all applicable characters to HTML entities
* @link http://www.php.net/manual/en/function.htmlentities.php
* @param string string <p>
* The input string.
* </p>
* @param flags int[optional] <p>
* A bitmask of one or more of the following flags, which specify how to handle quotes,
* invalid code unit sequences and the used document type. The default is
* ENT_COMPAT | ENT_HTML401.
* <table>
* Available flags constants
*
*
* <tr valign="top">
* <td>Constant Name</td>
* <td>Description</td>
* </tr>
*
*
* <tr valign="top">
* <td>ENT_COMPAT</td>
* <td>Will convert double-quotes and leave single-quotes alone.</td>
* </tr>
* <tr valign="top">
* <td>ENT_QUOTES</td>
* <td>Will convert both double and single quotes.</td>
* </tr>
* <tr valign="top">
* <td>ENT_NOQUOTES</td>
* <td>Will leave both double and single quotes unconverted.</td>
* </tr>
* <tr valign="top">
* <td>ENT_IGNORE</td>
* <td>
* Silently discard invalid code unit sequences instead of returning
* an empty string. Using this flag is discouraged as it
* may have security implications.
* </td>
* </tr>
* <tr valign="top">
* <td>ENT_SUBSTITUTE</td>
* <td>
* Replace invalid code unit sequences with a Unicode Replacement Character
* U+FFFD (UTF-8) or &#FFFD; (otherwise) instead of returning an empty string.
* </td>
* </tr>
* <tr valign="top">
* <td>ENT_DISALLOWED</td>
* <td>
* Replace invalid code points for the given document type with a
* Unicode Replacement Character U+FFFD (UTF-8) or &#FFFD;
* (otherwise) instead of leaving them as is. This may be useful, for
* instance, to ensure the well-formedness of XML documents with
* embedded external content.
* </td>
* </tr>
* <tr valign="top">
* <td>ENT_HTML401</td>
* <td>
* Handle code as HTML 4.01.
* </td>
* </tr>
* <tr valign="top">
* <td>ENT_XML1</td>
* <td>
* Handle code as XML 1.
* </td>
* </tr>
* <tr valign="top">
* <td>ENT_XHTML</td>
* <td>
* Handle code as XHTML.
* </td>
* </tr>
* <tr valign="top">
* <td>ENT_HTML5</td>
* <td>
* Handle code as HTML 5.
* </td>
* </tr>
*
*
* </table>
* </p>
* @param encoding string[optional] &strings.parameter.encoding;
* &reference.strings.charsets;
* @param double_encode bool[optional] <p>
* When double_encode is turned off PHP will not
* encode existing html entities. The default is to convert everything.
* </p>
* @return string the encoded string.
* </p>
* <p>
* If the input string contains an invalid code unit
* sequence within the given encoding an empty string
* will be returned, unless either the ENT_IGNORE or
* ENT_SUBSTITUTE flags are set.
*/
function htmlentities ($string, $flags = null, $encoding = null, $double_encode = null) {}
/**
* Convert all HTML entities to their applicable characters
* @link http://www.php.net/manual/en/function.html-entity-decode.php
* @param string string <p>
* The input string.
* </p>
* @param flags int[optional] <p>
* A bitmask of one or more of the following flags, which specify how to handle quotes and
* which document type to use. The default is ENT_COMPAT | ENT_HTML401.
* <table>
* Available flags constants
*
*
* <tr valign="top">
* <td>Constant Name</td>
* <td>Description</td>
* </tr>
*
*
* <tr valign="top">
* <td>ENT_COMPAT</td>
* <td>Will convert double-quotes and leave single-quotes alone.</td>
* </tr>
* <tr valign="top">
* <td>ENT_QUOTES</td>
* <td>Will convert both double and single quotes.</td>
* </tr>
* <tr valign="top">
* <td>ENT_NOQUOTES</td>
* <td>Will leave both double and single quotes unconverted.</td>
* </tr>
* <tr valign="top">
* <td>ENT_HTML401</td>
* <td>
* Handle code as HTML 4.01.
* </td>
* </tr>
* <tr valign="top">
* <td>ENT_XML1</td>
* <td>
* Handle code as XML 1.
* </td>
* </tr>
* <tr valign="top">
* <td>ENT_XHTML</td>
* <td>
* Handle code as XHTML.
* </td>
* </tr>
* <tr valign="top">
* <td>ENT_HTML5</td>
* <td>
* Handle code as HTML 5.
* </td>
* </tr>
*
*
* </table>
* </p>
* @param encoding string[optional] &strings.parameter.encoding;
* &reference.strings.charsets;
* @return string the decoded string.
*/
function html_entity_decode ($string, $flags = null, $encoding = null) {}
/**
* Convert special HTML entities back to characters
* @link http://www.php.net/manual/en/function.htmlspecialchars-decode.php
* @param string string <p>
* The string to decode.
* </p>
* @param flags int[optional] <p>
* A bitmask of one or more of the following flags, which specify how to handle quotes and
* which document type to use. The default is ENT_COMPAT | ENT_HTML401.
* <table>
* Available flags constants
*
*
* <tr valign="top">
* <td>Constant Name</td>
* <td>Description</td>
* </tr>
*
*
* <tr valign="top">
* <td>ENT_COMPAT</td>
* <td>Will convert double-quotes and leave single-quotes alone.</td>
* </tr>
* <tr valign="top">
* <td>ENT_QUOTES</td>
* <td>Will convert both double and single quotes.</td>
* </tr>
* <tr valign="top">
* <td>ENT_NOQUOTES</td>
* <td>Will leave both double and single quotes unconverted.</td>
* </tr>
* <tr valign="top">
* <td>ENT_HTML401</td>
* <td>
* Handle code as HTML 4.01.
* </td>
* </tr>
* <tr valign="top">
* <td>ENT_XML1</td>
* <td>
* Handle code as XML 1.
* </td>
* </tr>
* <tr valign="top">
* <td>ENT_XHTML</td>
* <td>
* Handle code as XHTML.
* </td>
* </tr>
* <tr valign="top">
* <td>ENT_HTML5</td>
* <td>
* Handle code as HTML 5.
* </td>
* </tr>
*
*
* </table>
* </p>
* @return string the decoded string.
*/
function htmlspecialchars_decode ($string, $flags = null) {}
/**
* Returns the translation table used by <function>htmlspecialchars</function> and <function>htmlentities</function>
* @link http://www.php.net/manual/en/function.get-html-translation-table.php
* @param table int[optional] <p>
* Which table to return. Either HTML_ENTITIES or
* HTML_SPECIALCHARS.
* </p>
* @param flags int[optional] <p>
* A bitmask of one or more of the following flags, which specify which quotes the
* table will contain as well as which document type the table is for. The default is
* ENT_COMPAT | ENT_HTML401.
* <table>
* Available flags constants
*
*
* <tr valign="top">
* <td>Constant Name</td>
* <td>Description</td>
* </tr>
*
*
* <tr valign="top">
* <td>ENT_COMPAT</td>
* <td>Table will contain entities for double-quotes, but not for single-quotes.</td>
* </tr>
* <tr valign="top">
* <td>ENT_QUOTES</td>
* <td>Table will contain entities for both double and single quotes.</td>
* </tr>
* <tr valign="top">
* <td>ENT_NOQUOTES</td>
* <td>Table will neither contain entities for single quotes nor for double quotes.</td>
* </tr>
* <tr valign="top">
* <td>ENT_HTML401</td>
* <td>Table for HTML 4.01.</td>
* </tr>
* <tr valign="top">
* <td>ENT_XML1</td>
* <td>Table for XML 1.</td>
* </tr>
* <tr valign="top">
* <td>ENT_XHTML</td>
* <td>Table for XHTML.</td>
* </tr>
* <tr valign="top">
* <td>ENT_HTML5</td>
* <td>Table for HTML 5.</td>
* </tr>
*
*
* </table>
* </p>
* @param encoding string[optional] <p>
* Encoding to use.
* If omitted, the default value for this argument is ISO-8859-1 in
* versions of PHP prior to 5.4.0, and UTF-8 from PHP 5.4.0 onwards.
* </p>
* &reference.strings.charsets;
* @return array the translation table as an array, with the original characters
* as keys and entities as values.
*/
function get_html_translation_table ($table = null, $flags = null, $encoding = null) {}
/**
* Calculate the sha1 hash of a string
* @link http://www.php.net/manual/en/function.sha1.php
* @param str string <p>
* The input string.
* </p>
* @param raw_output bool[optional] <p>
* If the optional raw_output is set to true,
* then the sha1 digest is instead returned in raw binary format with a
* length of 20, otherwise the returned value is a 40-character
* hexadecimal number.
* </p>
* @return string the sha1 hash as a string.
*/
function sha1 ($str, $raw_output = null) {}
/**
* Calculate the sha1 hash of a file
* @link http://www.php.net/manual/en/function.sha1-file.php
* @param filename string <p>
* The filename of the file to hash.
* </p>
* @param raw_output bool[optional] <p>
* When true, returns the digest in raw binary format with a length of
* 20.
* </p>
* @return string a string on success, false otherwise.
*/
function sha1_file ($filename, $raw_output = null) {}
/**
* Calculate the md5 hash of a string
* @link http://www.php.net/manual/en/function.md5.php
* @param str string <p>
* The string.
* </p>
* @param raw_output bool[optional] <p>
* If the optional raw_output is set to true,
* then the md5 digest is instead returned in raw binary format with a
* length of 16.
* </p>
* @return string the hash as a 32-character hexadecimal number.
*/
function md5 ($str, $raw_output = null) {}
/**
* Calculates the md5 hash of a given file
* @link http://www.php.net/manual/en/function.md5-file.php
* @param filename string <p>
* The filename
* </p>
* @param raw_output bool[optional] <p>
* When true, returns the digest in raw binary format with a length of
* 16.
* </p>
* @return string a string on success, false otherwise.
*/
function md5_file ($filename, $raw_output = null) {}
/**
* Calculates the crc32 polynomial of a string
* @link http://www.php.net/manual/en/function.crc32.php
* @param str string <p>
* The data.
* </p>
* @return int the crc32 checksum of str as an integer.
*/
function crc32 ($str) {}
/**
* Parse a binary IPTC block into single tags.
* @link http://www.php.net/manual/en/function.iptcparse.php
* @param iptcblock string <p>
* A binary IPTC block.
* </p>
* @return array an array using the tagmarker as an index and the value as the
* value. It returns false on error or if no IPTC data was found.
*/
function iptcparse ($iptcblock) {}
/**
* Embeds binary IPTC data into a JPEG image
* @link http://www.php.net/manual/en/function.iptcembed.php
* @param iptcdata string <p>
* The data to be written.
* </p>
* @param jpeg_file_name string <p>
* Path to the JPEG image.
* </p>
* @param spool int[optional] <p>
* Spool flag. If the spool flag is over 2 then the JPEG will be
* returned as a string.
* </p>
* @return mixed If success and spool flag is lower than 2 then the JPEG will not be
* returned as a string, false on errors.
*/
function iptcembed ($iptcdata, $jpeg_file_name, $spool = null) {}
/**
* Get the size of an image
* @link http://www.php.net/manual/en/function.getimagesize.php
* @param filename string <p>
* This parameter specifies the file you wish to retrieve information
* about. It can reference a local file or (configuration permitting) a
* remote file using one of the supported streams.
* </p>
* @param imageinfo array[optional] <p>
* This optional parameter allows you to extract some extended
* information from the image file. Currently, this will return the
* different JPG APP markers as an associative array.
* Some programs use these APP markers to embed text information in
* images. A very common one is to embed
* IPTC information in the APP13 marker.
* You can use the iptcparse function to parse the
* binary APP13 marker into something readable.
* </p>
* @return array an array with up to 7 elements. Not all image types will include
* the channels and bits elements.
* </p>
* <p>
* Index 0 and 1 contains respectively the width and the height of the image.
* </p>
*
* <p>
* Some formats may contain no image or may contain multiple images. In these
* cases, getimagesize might not be able to properly
* determine the image size. getimagesize will return
* zero for width and height in these cases.
* </p>
*
* <p>
* Index 2 is one of the IMAGETYPE_XXX constants indicating
* the type of the image.
* </p>
* <p>
* Index 3 is a text string with the correct
* height="yyy" width="xxx" string that can be used
* directly in an IMG tag.
* </p>
* <p>
* mime is the correspondant MIME type of the image.
* This information can be used to deliver images with the correct HTTP
* Content-type header:
*
* getimagesize and MIME types
*
* ]]>
*
*
* </p>
* <p>
* channels will be 3 for RGB pictures and 4 for CMYK
* pictures.
* </p>
* <p>
* bits is the number of bits for each color.
* </p>
* <p>
* For some image types, the presence of channels and
* bits values can be a bit
* confusing. As an example, GIF always uses 3 channels
* per pixel, but the number of bits per pixel cannot be calculated for an
* animated GIF with a global color table.
* </p>
* <p>
* On failure, false is returned.
*/
function getimagesize ($filename, array &$imageinfo = null) {}
/**
* Get the size of an image from a string
* @link http://www.php.net/manual/en/function.getimagesizefromstring.php
* @param imagedata string <p>
* The image data, as a string.
* </p>
* @param imageinfo array[optional] <p>
* See getimagesize.
* </p>
* @return array See getimagesize.
*/
function getimagesizefromstring ($imagedata, array &$imageinfo = null) {}
/**
* Get Mime-Type for image-type returned by getimagesize,
exif_read_data, exif_thumbnail, exif_imagetype
* @link http://www.php.net/manual/en/function.image-type-to-mime-type.php
* @param imagetype int <p>
* One of the IMAGETYPE_XXX constants.
* </p>
* @return string The returned values are as follows
* <table>
* Returned values Constants
*
*
* <tr valign="top">
* <td>imagetype</td>
* <td>Returned value</td>
* </tr>
*
*
* <tr valign="top">
* <td>IMAGETYPE_GIF</td>
* <td>image/gif</td>
* </tr>
* <tr valign="top">
* <td>IMAGETYPE_JPEG</td>
* <td>image/jpeg</td>
* </tr>
* <tr valign="top">
* <td>IMAGETYPE_PNG</td>
* <td>image/png</td>
* </tr>
* <tr valign="top">
* <td>IMAGETYPE_SWF</td>
* <td>application/x-shockwave-flash</td>
* </tr>
* <tr valign="top">
* <td>IMAGETYPE_PSD</td>
* <td>image/psd</td>
* </tr>
* <tr valign="top">
* <td>IMAGETYPE_BMP</td>
* <td>image/bmp</td>
* </tr>
* <tr valign="top">
* <td>IMAGETYPE_TIFF_II (intel byte order)</td>
* <td>image/tiff</td>
* </tr>
* <tr valign="top">
* <td>
* IMAGETYPE_TIFF_MM (motorola byte order)
* </td>
* <td>image/tiff</td>
* </tr>
* <tr valign="top">
* <td>IMAGETYPE_JPC</td>
* <td>application/octet-stream</td>
* </tr>
* <tr valign="top">
* <td>IMAGETYPE_JP2</td>
* <td>image/jp2</td>
* </tr>
* <tr valign="top">
* <td>IMAGETYPE_JPX</td>
* <td>application/octet-stream</td>
* </tr>
* <tr valign="top">
* <td>IMAGETYPE_JB2</td>
* <td>application/octet-stream</td>
* </tr>
* <tr valign="top">
* <td>IMAGETYPE_SWC</td>
* <td>application/x-shockwave-flash</td>
* </tr>
* <tr valign="top">
* <td>IMAGETYPE_IFF</td>
* <td>image/iff</td>
* </tr>
* <tr valign="top">
* <td>IMAGETYPE_WBMP</td>
* <td>image/vnd.wap.wbmp</td>
* </tr>
* <tr valign="top">
* <td>IMAGETYPE_XBM</td>
* <td>image/xbm</td>
* </tr>
* <tr valign="top">
* <td>IMAGETYPE_ICO</td>
* <td>image/vnd.microsoft.icon</td>
* </tr>
*
*
* </table>
*/
function image_type_to_mime_type ($imagetype) {}
/**
* Get file extension for image type
* @link http://www.php.net/manual/en/function.image-type-to-extension.php
* @param imagetype int <p>
* One of the IMAGETYPE_XXX constant.
* </p>
* @param include_dot bool[optional] <p>
* Whether to prepend a dot to the extension or not. Default to true.
* </p>
* @return string A string with the extension corresponding to the given image type.
*/
function image_type_to_extension ($imagetype, $include_dot = null) {}
/**
* Outputs information about PHP's configuration
* @link http://www.php.net/manual/en/function.phpinfo.php
* @param what int[optional] <p>
* The output may be customized by passing one or more of the
* following constants bitwise values summed
* together in the optional what parameter.
* One can also combine the respective constants or bitwise values
* together with the or operator.
* </p>
* <p>
* <table>
* phpinfo options
*
*
* <tr valign="top">
* <td>Name (constant)</td>
* <td>Value</td>
* <td>Description</td>
* </tr>
*
*
* <tr valign="top">
* <td>INFO_GENERAL</td>
* <td>1</td>
* <td>
* The configuration line, &php.ini; location, build date, Web
* Server, System and more.
* </td>
* </tr>
* <tr valign="top">
* <td>INFO_CREDITS</td>
* <td>2</td>
* <td>
* PHP Credits. See also phpcredits.
* </td>
* </tr>
* <tr valign="top">
* <td>INFO_CONFIGURATION</td>
* <td>4</td>
* <td>
* Current Local and Master values for PHP directives. See
* also ini_get.
* </td>
* </tr>
* <tr valign="top">
* <td>INFO_MODULES</td>
* <td>8</td>
* <td>
* Loaded modules and their respective settings. See also
* get_loaded_extensions.
* </td>
* </tr>
* <tr valign="top">
* <td>INFO_ENVIRONMENT</td>
* <td>16</td>
* <td>
* Environment Variable information that's also available in
* $_ENV.
* </td>
* </tr>
* <tr valign="top">
* <td>INFO_VARIABLES</td>
* <td>32</td>
* <td>
* Shows all
* predefined variables from EGPCS (Environment, GET,
* POST, Cookie, Server).
* </td>
* </tr>
* <tr valign="top">
* <td>INFO_LICENSE</td>
* <td>64</td>
* <td>
* PHP License information. See also the license FAQ.
* </td>
* </tr>
* <tr valign="top">
* <td>INFO_ALL</td>
* <td>-1</td>
* <td>
* Shows all of the above.
* </td>
* </tr>
*
*
* </table>
* </p>
* @return bool Returns true on success, false on failure.
*/
function phpinfo ($what = null) {}
/**
* Gets the current PHP version
* @link http://www.php.net/manual/en/function.phpversion.php
* @param extension string[optional] <p>
* An optional extension name.
* </p>
* @return string If the optional extension parameter is
* specified, phpversion returns the version of that
* extension, or false if there is no version information associated or
* the extension isn't enabled.
*/
function phpversion ($extension = null) {}
/**
* Prints out the credits for PHP
* @link http://www.php.net/manual/en/function.phpcredits.php
* @param flag int[optional] <p>
* To generate a custom credits page, you may want to use the
* flag parameter.
* </p>
* <p>
* <table>
* Pre-defined phpcredits flags
*
*
* <tr valign="top">
* <td>name</td>
* <td>description</td>
* </tr>
*
*
* <tr valign="top">
* <td>CREDITS_ALL</td>
* <td>
* All the credits, equivalent to using: CREDITS_DOCS +
* CREDITS_GENERAL + CREDITS_GROUP +
* CREDITS_MODULES + CREDITS_FULLPAGE.
* It generates a complete stand-alone HTML page with the appropriate tags.
* </td>
* </tr>
* <tr valign="top">
* <td>CREDITS_DOCS</td>
* <td>The credits for the documentation team</td>
* </tr>
* <tr valign="top">
* <td>CREDITS_FULLPAGE</td>
* <td>
* Usually used in combination with the other flags. Indicates
* that a complete stand-alone HTML page needs to be
* printed including the information indicated by the other
* flags.
* </td>
* </tr>
* <tr valign="top">
* <td>CREDITS_GENERAL</td>
* <td>
* General credits: Language design and concept, PHP authors
* and SAPI module.
* </td>
* </tr>
* <tr valign="top">
* <td>CREDITS_GROUP</td>
* <td>A list of the core developers</td>
* </tr>
* <tr valign="top">
* <td>CREDITS_MODULES</td>
* <td>
* A list of the extension modules for PHP, and their authors
* </td>
* </tr>
* <tr valign="top">
* <td>CREDITS_SAPI</td>
* <td>
* A list of the server API modules for PHP, and their authors
* </td>
* </tr>
*
*
* </table>
* </p>
* @return bool Returns true on success, false on failure.
*/
function phpcredits ($flag = null) {}
/**
* Returns the type of interface between web server and PHP
* @link http://www.php.net/manual/en/function.php-sapi-name.php
* @return string the interface type, as a lowercase string.
* </p>
* <p>
* Although not exhaustive, the possible return values include
* aolserver, apache,
* apache2filter, apache2handler,
* caudium, cgi (until PHP 5.3),
* cgi-fcgi, cli, cli-server,
* continuity, embed,
* isapi, litespeed,
* milter, nsapi,
* phttpd, pi3web, roxen,
* thttpd, tux, and webjames.
*/
function php_sapi_name () {}
/**
* Returns information about the operating system PHP is running on
* @link http://www.php.net/manual/en/function.php-uname.php
* @param mode string[optional] <p>
* mode is a single character that defines what
* information is returned:
*
*
*
* 'a': This is the default. Contains all modes in
* the sequence "s n r v m".
* @return string the description, as a string.
*/
function php_uname ($mode = null) {}
/**
* Return a list of .ini files parsed from the additional ini dir
* @link http://www.php.net/manual/en/function.php-ini-scanned-files.php
* @return string a comma-separated string of .ini files on success. Each comma is
* followed by a newline. If the directive --with-config-file-scan-dir wasn't set,
* false is returned. If it was set and the directory was empty, an
* empty string is returned. If a file is unrecognizable, the file will
* still make it into the returned string but a PHP error will also result.
* This PHP error will be seen both at compile time and while using
* php_ini_scanned_files.
*/
function php_ini_scanned_files () {}
/**
* Retrieve a path to the loaded php.ini file
* @link http://www.php.net/manual/en/function.php-ini-loaded-file.php
* @return string The loaded &php.ini; path, or false if one is not loaded.
*/
function php_ini_loaded_file () {}
/**
* String comparisons using a "natural order" algorithm
* @link http://www.php.net/manual/en/function.strnatcmp.php
* @param str1 string <p>
* The first string.
* </p>
* @param str2 string <p>
* The second string.
* </p>
* @return int Similar to other string comparison functions, this one returns < 0 if
* str1 is less than str2; >
* 0 if str1 is greater than
* str2, and 0 if they are equal.
*/
function strnatcmp ($str1, $str2) {}
/**
* Case insensitive string comparisons using a "natural order" algorithm
* @link http://www.php.net/manual/en/function.strnatcasecmp.php
* @param str1 string <p>
* The first string.
* </p>
* @param str2 string <p>
* The second string.
* </p>
* @return int Similar to other string comparison functions, this one returns < 0 if
* str1 is less than str2 >
* 0 if str1 is greater than
* str2, and 0 if they are equal.
*/
function strnatcasecmp ($str1, $str2) {}
/**
* Count the number of substring occurrences
* @link http://www.php.net/manual/en/function.substr-count.php
* @param haystack string <p>
* The string to search in
* </p>
* @param needle string <p>
* The substring to search for
* </p>
* @param offset int[optional] <p>
* The offset where to start counting
* </p>
* @param length int[optional] <p>
* The maximum length after the specified offset to search for the
* substring. It outputs a warning if the offset plus the length is
* greater than the haystack length.
* </p>
* @return int This function returns an integer.
*/
function substr_count ($haystack, $needle, $offset = null, $length = null) {}
/**
* Finds the length of the initial segment of a string consisting
entirely of characters contained within a given mask.
* @link http://www.php.net/manual/en/function.strspn.php
* @param subject string <p>
* The string to examine.
* </p>
* @param mask string <p>
* The list of allowable characters.
* </p>
* @param start int[optional] <p>
* The position in subject to
* start searching.
* </p>
* <p>
* If start is given and is non-negative,
* then strspn will begin
* examining subject at
* the start'th position. For instance, in
* the string 'abcdef', the character at
* position 0 is 'a', the
* character at position 2 is
* 'c', and so forth.
* </p>
* <p>
* If start is given and is negative,
* then strspn will begin
* examining subject at
* the start'th position from the end
* of subject.
* </p>
* @param length int[optional] <p>
* The length of the segment from subject
* to examine.
* </p>
* <p>
* If length is given and is non-negative,
* then subject will be examined
* for length characters after the starting
* position.
* </p>
* <p>
* If lengthis given and is negative,
* then subject will be examined from the
* starting position up to length
* characters from the end of subject.
* </p>
* @return int the length of the initial segment of subject
* which consists entirely of characters in mask.
*/
function strspn ($subject, $mask, $start = null, $length = null) {}
/**
* Find length of initial segment not matching mask
* @link http://www.php.net/manual/en/function.strcspn.php
* @param str1 string <p>
* The first string.
* </p>
* @param str2 string <p>
* The second string.
* </p>
* @param start int[optional] <p>
* The start position of the string to examine.
* </p>
* @param length int[optional] <p>
* The length of the string to examine.
* </p>
* @return int the length of the segment as an integer.
*/
function strcspn ($str1, $str2, $start = null, $length = null) {}
/**
* Tokenize string
* @link http://www.php.net/manual/en/function.strtok.php
* @param str string <p>
* The string being split up into smaller strings (tokens).
* </p>
* @param token string <p>
* The delimiter used when splitting up str.
* </p>
* @return string A string token.
*/
function strtok ($str, $token) {}
/**
* Make a string uppercase
* @link http://www.php.net/manual/en/function.strtoupper.php
* @param string string <p>
* The input string.
* </p>
* @return string the uppercased string.
*/
function strtoupper ($string) {}
/**
* Make a string lowercase
* @link http://www.php.net/manual/en/function.strtolower.php
* @param string string <p>
* The input string.
* </p>
* @return string the lowercased string.
*/
function strtolower ($string) {}
/**
* Find the position of the first occurrence of a substring in a string
* @link http://www.php.net/manual/en/function.strpos.php
* @param haystack string <p>
* The string to search in.
* </p>
* @param needle mixed <p>
* If needle is not a string, it is converted
* to an integer and applied as the ordinal value of a character.
* </p>
* @param offset int[optional] <p>
* If specified, search will start this number of characters counted from
* the beginning of the string. Unlike strrpos and
* strripos, the offset cannot be negative.
* </p>
* @return mixed the position of where the needle exists relative to the beginning of
* the haystack string (independent of offset).
* Also note that string positions start at 0, and not 1.
* </p>
* <p>
* Returns false if the needle was not found.
*/
function strpos ($haystack, $needle, $offset = null) {}
/**
* Find the position of the first occurrence of a case-insensitive substring in a string
* @link http://www.php.net/manual/en/function.stripos.php
* @param haystack string <p>
* The string to search in.
* </p>
* @param needle string <p>
* Note that the needle may be a string of one or
* more characters.
* </p>
* <p>
* If needle is not a string, it is converted to
* an integer and applied as the ordinal value of a character.
* </p>
* @param offset int[optional] <p>
* If specified, search will start this number of characters counted from
* the beginning of the string. Unlike strrpos and
* strripos, the offset cannot be negative.
* </p>
* @return int the position of where the needle exists relative to the beginnning of
* the haystack string (independent of offset).
* Also note that string positions start at 0, and not 1.
* </p>
* <p>
* Returns false if the needle was not found.
*/
function stripos ($haystack, $needle, $offset = null) {}
/**
* Find the position of the last occurrence of a substring in a string
* @link http://www.php.net/manual/en/function.strrpos.php
* @param haystack string <p>
* The string to search in.
* </p>
* @param needle string <p>
* If needle is not a string, it is converted
* to an integer and applied as the ordinal value of a character.
* </p>
* @param offset int[optional] <p>
* If specified, search will start this number of characters counted from the
* beginning of the string. If the value is negative, search will instead start
* from that many characters from the end of the string, searching backwards.
* </p>
* @return int the position where the needle exists relative to the beginnning of
* the haystack string (independent of search direction
* or offset).
* Also note that string positions start at 0, and not 1.
* </p>
* <p>
* Returns false if the needle was not found.
*/
function strrpos ($haystack, $needle, $offset = null) {}
/**
* Find the position of the last occurrence of a case-insensitive substring in a string
* @link http://www.php.net/manual/en/function.strripos.php
* @param haystack string <p>
* The string to search in.
* </p>
* @param needle string <p>
* If needle is not a string, it is converted
* to an integer and applied as the ordinal value of a character.
* </p>
* @param offset int[optional] <p>
* If specified, search will start this number of characters counted from the
* beginning of the string. If the value is negative, search will instead start
* from that many characters from the end of the string, searching backwards.
* </p>
* @return int the position where the needle exists relative to the beginnning of
* the haystack string (independent of search direction
* or offset).
* Also note that string positions start at 0, and not 1.
* </p>
* <p>
* Returns false if the needle was not found.
*/
function strripos ($haystack, $needle, $offset = null) {}
/**
* Reverse a string
* @link http://www.php.net/manual/en/function.strrev.php
* @param string string <p>
* The string to be reversed.
* </p>
* @return string the reversed string.
*/
function strrev ($string) {}
/**
* Convert logical Hebrew text to visual text
* @link http://www.php.net/manual/en/function.hebrev.php
* @param hebrew_text string <p>
* A Hebrew input string.
* </p>
* @param max_chars_per_line int[optional] <p>
* This optional parameter indicates maximum number of characters per
* line that will be returned.
* </p>
* @return string the visual string.
*/
function hebrev ($hebrew_text, $max_chars_per_line = null) {}
/**
* Convert logical Hebrew text to visual text with newline conversion
* @link http://www.php.net/manual/en/function.hebrevc.php
* @param hebrew_text string <p>
* A Hebrew input string.
* </p>
* @param max_chars_per_line int[optional] <p>
* This optional parameter indicates maximum number of characters per
* line that will be returned.
* </p>
* @return string the visual string.
*/
function hebrevc ($hebrew_text, $max_chars_per_line = null) {}
/**
* Inserts HTML line breaks before all newlines in a string
* @link http://www.php.net/manual/en/function.nl2br.php
* @param string string <p>
* The input string.
* </p>
* @param is_xhtml bool[optional] <p>
* Whether to use XHTML compatible line breaks or not.
* </p>
* @return string the altered string.
*/
function nl2br ($string, $is_xhtml = null) {}
/**
* Returns trailing name component of path
* @link http://www.php.net/manual/en/function.basename.php
* @param path string <p>
* A path.
* </p>
* <p>
* On Windows, both slash (/) and backslash
* (\) are used as directory separator character. In
* other environments, it is the forward slash (/).
* </p>
* @param suffix string[optional] <p>
* If the name component ends in suffix this will also
* be cut off.
* </p>
* @return string the base name of the given path.
*/
function basename ($path, $suffix = null) {}
/**
* Returns parent directory's path
* @link http://www.php.net/manual/en/function.dirname.php
* @param path string <p>
* A path.
* </p>
* <p>
* On Windows, both slash (/) and backslash
* (\) are used as directory separator character. In
* other environments, it is the forward slash (/).
* </p>
* @return string the path of the parent directory. If there are no slashes in
* path, a dot ('.') is returned,
* indicating the current directory. Otherwise, the returned string is
* path with any trailing
* /component removed.
*/
function dirname ($path) {}
/**
* Returns information about a file path
* @link http://www.php.net/manual/en/function.pathinfo.php
* @param path string <p>
* The path to be parsed.
* </p>
* @param options int[optional] <p>
* If present, specifies a specific element to be returned; one of
* PATHINFO_DIRNAME,
* PATHINFO_BASENAME,
* PATHINFO_EXTENSION or
* PATHINFO_FILENAME.
* </p>
* <p>If options is not specified, returns all
* available elements.
* </p>
* @return mixed If the options parameter is not passed, an
* associative array containing the following elements is
* returned:
* dirname, basename,
* extension (if any), and filename.
* </p>
*
* <p>
* If the path has more than one extension,
* PATHINFO_EXTENSION returns only the last one and
* PATHINFO_FILENAME only strips the last one.
* (see first example below).
* </p>
*
*
* <p>
* If the path does not have an extension, no
* extension element will be returned
* (see second example below).
* </p>
*
* <p>
* If options is present, returns a
* string containing the requested element.
*/
function pathinfo ($path, $options = null) {}
/**
* Un-quotes a quoted string
* @link http://www.php.net/manual/en/function.stripslashes.php
* @param str string <p>
* The input string.
* </p>
* @return string a string with backslashes stripped off.
* (\' becomes ' and so on.)
* Double backslashes (\\) are made into a single
* backslash (\).
*/
function stripslashes ($str) {}
/**
* Un-quote string quoted with <function>addcslashes</function>
* @link http://www.php.net/manual/en/function.stripcslashes.php
* @param str string <p>
* The string to be unescaped.
* </p>
* @return string the unescaped string.
*/
function stripcslashes ($str) {}
/**
* Find the first occurrence of a string
* @link http://www.php.net/manual/en/function.strstr.php
* @param haystack string <p>
* The input string.
* </p>
* @param needle mixed <p>
* If needle is not a string, it is converted to
* an integer and applied as the ordinal value of a character.
* </p>
* @param before_needle bool[optional] <p>
* If true, strstr returns
* the part of the haystack before the first
* occurrence of the needle (excluding the needle).
* </p>
* @return string the portion of string, or false if needle
* is not found.
*/
function strstr ($haystack, $needle, $before_needle = null) {}
/**
* Case-insensitive <function>strstr</function>
* @link http://www.php.net/manual/en/function.stristr.php
* @param haystack string <p>
* The string to search in
* </p>
* @param needle mixed <p>
* If needle is not a string, it is converted to
* an integer and applied as the ordinal value of a character.
* </p>
* @param before_needle bool[optional] <p>
* If true, stristr
* returns the part of the haystack before the
* first occurrence of the needle (excluding needle).
* </p>
* @return string the matched substring. If needle is not
* found, returns false.
*/
function stristr ($haystack, $needle, $before_needle = null) {}
/**
* Find the last occurrence of a character in a string
* @link http://www.php.net/manual/en/function.strrchr.php
* @param haystack string <p>
* The string to search in
* </p>
* @param needle mixed <p>
* If needle contains more than one character,
* only the first is used. This behavior is different from that of
* strstr.
* </p>
* <p>
* If needle is not a string, it is converted to
* an integer and applied as the ordinal value of a character.
* </p>
* @return string This function returns the portion of string, or false if
* needle is not found.
*/
function strrchr ($haystack, $needle) {}
/**
* Randomly shuffles a string
* @link http://www.php.net/manual/en/function.str-shuffle.php
* @param str string <p>
* The input string.
* </p>
* @return string the shuffled string.
*/
function str_shuffle ($str) {}
/**
* Return information about words used in a string
* @link http://www.php.net/manual/en/function.str-word-count.php
* @param string string <p>
* The string
* </p>
* @param format int[optional] <p>
* Specify the return value of this function. The current supported values
* are:
*
*
*
* 0 - returns the number of words found
* @param charlist string[optional] <p>
* A list of additional characters which will be considered as 'word'
* </p>
* @return mixed an array or an integer, depending on the
* format chosen.
*/
function str_word_count ($string, $format = null, $charlist = null) {}
/**
* Convert a string to an array
* @link http://www.php.net/manual/en/function.str-split.php
* @param string string <p>
* The input string.
* </p>
* @param split_length int[optional] <p>
* Maximum length of the chunk.
* </p>
* @return array If the optional split_length parameter is
* specified, the returned array will be broken down into chunks with each
* being split_length in length, otherwise each chunk
* will be one character in length.
* </p>
* <p>
* false is returned if split_length is less than 1.
* If the split_length length exceeds the length of
* string, the entire string is returned as the first
* (and only) array element.
*/
function str_split ($string, $split_length = null) {}
/**
* Search a string for any of a set of characters
* @link http://www.php.net/manual/en/function.strpbrk.php
* @param haystack string <p>
* The string where char_list is looked for.
* </p>
* @param char_list string <p>
* This parameter is case sensitive.
* </p>
* @return string a string starting from the character found, or false if it is
* not found.
*/
function strpbrk ($haystack, $char_list) {}
/**
* Binary safe comparison of two strings from an offset, up to length characters
* @link http://www.php.net/manual/en/function.substr-compare.php
* @param main_str string <p>
* The main string being compared.
* </p>
* @param str string <p>
* The secondary string being compared.
* </p>
* @param offset int <p>
* The start position for the comparison. If negative, it starts counting
* from the end of the string.
* </p>
* @param length int[optional] <p>
* The length of the comparison. The default value is the largest of the
* length of the str compared to the length of
* main_str less the
* offset.
* </p>
* @param case_insensitivity bool[optional] <p>
* If case_insensitivity is true, comparison is
* case insensitive.
* </p>
* @return int < 0 if main_str from position
* offset is less than str, >
* 0 if it is greater than str, and 0 if they are equal.
* If offset is equal to or greater than the length of
* main_str, or the length is
* set and is less than 1 (prior to PHP 5.6),
* substr_compare prints a warning and returns
* false.
*/
function substr_compare ($main_str, $str, $offset, $length = null, $case_insensitivity = null) {}
/**
* Locale based string comparison
* @link http://www.php.net/manual/en/function.strcoll.php
* @param str1 string <p>
* The first string.
* </p>
* @param str2 string <p>
* The second string.
* </p>
* @return int < 0 if str1 is less than
* str2; > 0 if
* str1 is greater than
* str2, and 0 if they are equal.
*/
function strcoll ($str1, $str2) {}
/**
* Formats a number as a currency string
* @link http://www.php.net/manual/en/function.money-format.php
* @param format string <p>
* The format specification consists of the following sequence:
*
* <p>a % character</p>
* @param number float <p>
* The number to be formatted.
* </p>
* @return string the formatted string. Characters before and after the formatting
* string will be returned unchanged.
* Non-numeric number causes returning &null; and
* emitting E_WARNING.
*/
function money_format ($format, $number) {}
/**
* Return part of a string
* @link http://www.php.net/manual/en/function.substr.php
* @param string string <p>
* The input string. Must be one character or longer.
* </p>
* @param start int <p>
* If start is non-negative, the returned string
* will start at the start'th position in
* string, counting from zero. For instance,
* in the string 'abcdef', the character at
* position 0 is 'a', the
* character at position 2 is
* 'c', and so forth.
* </p>
* <p>
* If start is negative, the returned string
* will start at the start'th character
* from the end of string.
* </p>
* <p>
* If string is less than or equal to
* start characters long, false will be returned.
* </p>
* <p>
*
* Using a negative start
*
* ]]>
*
*
* </p>
* @param length int[optional] <p>
* If length is given and is positive, the string
* returned will contain at most length characters
* beginning from start (depending on the length of
* string).
* </p>
* <p>
* If length is given and is negative, then that many
* characters will be omitted from the end of string
* (after the start position has been calculated when a
* start is negative). If
* start denotes the position of this truncation or
* beyond, false will be returned.
* </p>
* <p>
* If length is given and is 0,
* false or &null; an empty string will be returned.
* </p>
* <p>
* If length is omitted, the substring starting from
* start until the end of the string will be
* returned.
* </p>
*
* Using a negative length
*
* ]]>
* @return string the extracted part of string; &return.falseforfailure;, or
* an empty string.
*/
function substr ($string, $start, $length = null) {}
/**
* Replace text within a portion of a string
* @link http://www.php.net/manual/en/function.substr-replace.php
* @param string mixed <p>
* The input string.
* </p>
* <p>
* An array of strings can be provided, in which
* case the replacements will occur on each string in turn. In this case,
* the replacement, start
* and length parameters may be provided either as
* scalar values to be applied to each input string in turn, or as
* arrays, in which case the corresponding array element will
* be used for each input string.
* </p>
* @param replacement mixed <p>
* The replacement string.
* </p>
* @param start mixed <p>
* If start is positive, the replacing will
* begin at the start'th offset into
* string.
* </p>
* <p>
* If start is negative, the replacing will
* begin at the start'th character from the
* end of string.
* </p>
* @param length mixed[optional] <p>
* If given and is positive, it represents the length of the portion of
* string which is to be replaced. If it is
* negative, it represents the number of characters from the end of
* string at which to stop replacing. If it
* is not given, then it will default to strlen(
* string ); i.e. end the replacing at the
* end of string. Of course, if
* length is zero then this function will have the
* effect of inserting replacement into
* string at the given
* start offset.
* </p>
* @return mixed The result string is returned. If string is an
* array then array is returned.
*/
function substr_replace ($string, $replacement, $start, $length = null) {}
/**
* Quote meta characters
* @link http://www.php.net/manual/en/function.quotemeta.php
* @param str string <p>
* The input string.
* </p>
* @return string the string with meta characters quoted, or false if an empty
* string is given as str.
*/
function quotemeta ($str) {}
/**
* Make a string's first character uppercase
* @link http://www.php.net/manual/en/function.ucfirst.php
* @param str string <p>
* The input string.
* </p>
* @return string the resulting string.
*/
function ucfirst ($str) {}
/**
* Make a string's first character lowercase
* @link http://www.php.net/manual/en/function.lcfirst.php
* @param str string <p>
* The input string.
* </p>
* @return string the resulting string.
*/
function lcfirst ($str) {}
/**
* Uppercase the first character of each word in a string
* @link http://www.php.net/manual/en/function.ucwords.php
* @param str string <p>
* The input string.
* </p>
* @return string the modified string.
*/
function ucwords ($str) {}
/**
* Translate characters or replace substrings
* @link http://www.php.net/manual/en/function.strtr.php
* @param str string <p>
* The string being translated.
* </p>
* @param from string <p>
* The string being translated to to.
* </p>
* @param to string <p>
* The string replacing from.
* </p>
* @return string the translated string.
* </p>
* <p>
* If replace_pairs contains a key which
* is an empty string (""),
* false will be returned. If the str is not a scalar
* then it is not typecasted into a string, instead a warning is raised and
* &null; is returned.
*/
function strtr ($str, $from, $to) {}
/**
* Quote string with slashes
* @link http://www.php.net/manual/en/function.addslashes.php
* @param str string <p>
* The string to be escaped.
* </p>
* @return string the escaped string.
*/
function addslashes ($str) {}
/**
* Quote string with slashes in a C style
* @link http://www.php.net/manual/en/function.addcslashes.php
* @param str string <p>
* The string to be escaped.
* </p>
* @param charlist string <p>
* A list of characters to be escaped. If
* charlist contains characters
* \n, \r etc., they are
* converted in C-like style, while other non-alphanumeric characters
* with ASCII codes lower than 32 and higher than 126 converted to
* octal representation.
* </p>
* <p>
* When you define a sequence of characters in the charlist argument
* make sure that you know what characters come between the
* characters that you set as the start and end of the range.
*
*
* ]]>
*
*
* Also, if the first character in a range has a higher ASCII value
* than the second character in the range, no range will be
* constructed. Only the start, end and period characters will be
* escaped. Use the ord function to find the
* ASCII value for a character.
*
*
* ]]>
*
*
* </p>
* <p>
* Be careful if you choose to escape characters 0, a, b, f, n, r, t and
* v. They will be converted to \0, \a, \b, \f, \n, \r, \t and \v, all of
* which are predefined escape sequences in C. Many of these sequences are
* also defined in other C-derived languages, including PHP, meaning that
* you may not get the desired result if you use the output of
* addcslashes to generate code in those languages
* with these characters defined in charlist.
* </p>
* @return string the escaped string.
*/
function addcslashes ($str, $charlist) {}
/**
* Strip whitespace (or other characters) from the end of a string
* @link http://www.php.net/manual/en/function.rtrim.php
* @param str string <p>
* The input string.
* </p>
* @param character_mask string[optional] <p>
* You can also specify the characters you want to strip, by means
* of the character_mask parameter.
* Simply list all characters that you want to be stripped. With
* .. you can specify a range of characters.
* </p>
* @return string the modified string.
*/
function rtrim ($str, $character_mask = null) {}
/**
* Replace all occurrences of the search string with the replacement string
* @link http://www.php.net/manual/en/function.str-replace.php
* @param search mixed <p>
* The value being searched for, otherwise known as the needle.
* An array may be used to designate multiple needles.
* </p>
* @param replace mixed <p>
* The replacement value that replaces found search
* values. An array may be used to designate multiple replacements.
* </p>
* @param subject mixed <p>
* The string or array being searched and replaced on,
* otherwise known as the haystack.
* </p>
* <p>
* If subject is an array, then the search and
* replace is performed with every entry of
* subject, and the return value is an array as
* well.
* </p>
* @param count int[optional] <p>
* If passed, this will be set to the number of replacements performed.
* </p>
* @return mixed This function returns a string or an array with the replaced values.
*/
function str_replace ($search, $replace, $subject, &$count = null) {}
/**
* Case-insensitive version of <function>str_replace</function>.
* @link http://www.php.net/manual/en/function.str-ireplace.php
* @param search mixed <p>
* The value being searched for, otherwise known as the
* needle. An array may be used to designate
* multiple needles.
* </p>
* @param replace mixed <p>
* The replacement value that replaces found search
* values. An array may be used to designate multiple replacements.
* </p>
* @param subject mixed <p>
* The string or array being searched and replaced on,
* otherwise known as the haystack.
* </p>
* <p>
* If subject is an array, then the search and
* replace is performed with every entry of
* subject, and the return value is an array as
* well.
* </p>
* @param count int[optional] <p>
* If passed, this will be set to the number of replacements performed.
* </p>
* @return mixed a string or an array of replacements.
*/
function str_ireplace ($search, $replace, $subject, &$count = null) {}
/**
* Repeat a string
* @link http://www.php.net/manual/en/function.str-repeat.php
* @param input string <p>
* The string to be repeated.
* </p>
* @param multiplier int <p>
* Number of time the input string should be
* repeated.
* </p>
* <p>
* multiplier has to be greater than or equal to 0.
* If the multiplier is set to 0, the function
* will return an empty string.
* </p>
* @return string the repeated string.
*/
function str_repeat ($input, $multiplier) {}
/**
* Return information about characters used in a string
* @link http://www.php.net/manual/en/function.count-chars.php
* @param string string <p>
* The examined string.
* </p>
* @param mode int[optional] <p>
* See return values.
* </p>
* @return mixed Depending on mode
* count_chars returns one of the following:
*
*
*
* 0 - an array with the byte-value as key and the frequency of
* every byte as value.
*
*
*
*
* 1 - same as 0 but only byte-values with a frequency greater
* than zero are listed.
*
*
*
*
* 2 - same as 0 but only byte-values with a frequency equal to
* zero are listed.
*
*
*
*
* 3 - a string containing all unique characters is returned.
*
*
*
*
* 4 - a string containing all not used characters is returned.
*/
function count_chars ($string, $mode = null) {}
/**
* Split a string into smaller chunks
* @link http://www.php.net/manual/en/function.chunk-split.php
* @param body string <p>
* The string to be chunked.
* </p>
* @param chunklen int[optional] <p>
* The chunk length.
* </p>
* @param end string[optional] <p>
* The line ending sequence.
* </p>
* @return string the chunked string.
*/
function chunk_split ($body, $chunklen = null, $end = null) {}
/**
* Strip whitespace (or other characters) from the beginning and end of a string
* @link http://www.php.net/manual/en/function.trim.php
* @param str string <p>
* The string that will be trimmed.
* </p>
* @param character_mask string[optional] <p>
* Optionally, the stripped characters can also be specified using
* the character_mask parameter.
* Simply list all characters that you want to be stripped. With
* .. you can specify a range of characters.
* </p>
* @return string The trimmed string.
*/
function trim ($str, $character_mask = null) {}
/**
* Strip whitespace (or other characters) from the beginning of a string
* @link http://www.php.net/manual/en/function.ltrim.php
* @param str string <p>
* The input string.
* </p>
* @param character_mask string[optional] <p>
* You can also specify the characters you want to strip, by means of the
* character_mask parameter.
* Simply list all characters that you want to be stripped. With
* .. you can specify a range of characters.
* </p>
* @return string This function returns a string with whitespace stripped from the
* beginning of str.
* Without the second parameter,
* ltrim will strip these characters:
*
*
*
*
* " " (ASCII 32
* (0x20)), an ordinary space.
*
*
*
*
* "\t" (ASCII 9
* (0x09)), a tab.
*
*
*
*
* "\n" (ASCII 10
* (0x0A)), a new line (line feed).
*
*
*
*
* "\r" (ASCII 13
* (0x0D)), a carriage return.
*
*
*
*
* "\0" (ASCII 0
* (0x00)), the NUL-byte.
*
*
*
*
* "\x0B" (ASCII 11
* (0x0B)), a vertical tab.
*/
function ltrim ($str, $character_mask = null) {}
/**
* Strip HTML and PHP tags from a string
* @link http://www.php.net/manual/en/function.strip-tags.php
* @param str string <p>
* The input string.
* </p>
* @param allowable_tags string[optional] <p>
* You can use the optional second parameter to specify tags which should
* not be stripped.
* </p>
*
* <p>
* HTML comments and PHP tags are also stripped. This is hardcoded and
* can not be changed with allowable_tags.
* </p>
*
*
* <p>
* This parameter should not contain whitespace.
* strip_tags sees a tag as a case-insensitive
* string between . It means that
* strip_tags("", "") returns an
* empty string.
* </p>
* @return string the stripped string.
*/
function strip_tags ($str, $allowable_tags = null) {}
/**
* Calculate the similarity between two strings
* @link http://www.php.net/manual/en/function.similar-text.php
* @param first string <p>
* The first string.
* </p>
* @param second string <p>
* The second string.
* </p>
* @param percent float[optional] <p>
* By passing a reference as third argument,
* similar_text will calculate the similarity in
* percent for you.
* </p>
* @return int the number of matching chars in both strings.
*/
function similar_text ($first, $second, &$percent = null) {}
/**
* Split a string by string
* @link http://www.php.net/manual/en/function.explode.php
* @param delimiter string <p>
* The boundary string.
* </p>
* @param string string <p>
* The input string.
* </p>
* @param limit int[optional] <p>
* If limit is set and positive, the returned array will contain
* a maximum of limit elements with the last
* element containing the rest of string.
* </p>
* <p>
* If the limit parameter is negative, all components
* except the last -limit are returned.
* </p>
* <p>
* If the limit parameter is zero, then this is treated as 1.
* </p>
* @return array an array of strings
* created by splitting the string parameter on
* boundaries formed by the delimiter.
* </p>
* <p>
* If delimiter is an empty string (""),
* explode will return false.
* If delimiter contains a value that is not
* contained in string and a negative
* limit is used, then an empty array will be
* returned, otherwise an array containing
* string will be returned.
*/
function explode ($delimiter, $string, $limit = null) {}
/**
* Join array elements with a string
* @link http://www.php.net/manual/en/function.implode.php
* @param glue string <p>
* Defaults to an empty string.
* </p>
* @param pieces array <p>
* The array of strings to implode.
* </p>
* @return string a string containing a string representation of all the array
* elements in the same order, with the glue string between each element.
*/
function implode ($glue, array $pieces) {}
/**
* &Alias; <function>implode</function>
* @link http://www.php.net/manual/en/function.join.php
* @param glue
* @param pieces
*/
function join ($glue, $pieces) {}
/**
* Set locale information
* @link http://www.php.net/manual/en/function.setlocale.php
* @param category int <p>
* category is a named constant specifying the
* category of the functions affected by the locale setting:
*
*
*
* LC_ALL for all of the below
* @param locale string <p>
* If locale is &null; or the empty string
* "", the locale names will be set from the
* values of environment variables with the same names as the above
* categories, or from "LANG".
* </p>
* <p>
* If locale is "0",
* the locale setting is not affected, only the current setting is returned.
* </p>
* <p>
* If locale is an array or followed by additional
* parameters then each array element or parameter is tried to be set as
* new locale until success. This is useful if a locale is known under
* different names on different systems or for providing a fallback
* for a possibly not available locale.
* </p>
* @param _ string[optional]
* @return string the new current locale, or false if the locale functionality is
* not implemented on your platform, the specified locale does not exist or
* the category name is invalid.
* </p>
* <p>
* An invalid category name also causes a warning message. Category/locale
* names can be found in RFC 1766
* and ISO 639.
* Different systems have different naming schemes for locales.
* </p>
*
* <p>
* The return value of setlocale depends
* on the system that PHP is running. It returns exactly
* what the system setlocale function returns.
*/
function setlocale ($category, $locale, $_ = null) {}
/**
* Get numeric formatting information
* @link http://www.php.net/manual/en/function.localeconv.php
* @return array localeconv returns data based upon the current locale
* as set by setlocale. The associative array that is
* returned contains the following fields:
*
*
*
* <tr valign="top">
* <td>Array element</td>
* <td>Description</td>
* </tr>
*
*
* <tr valign="top">
* <td>decimal_point</td>
* <td>Decimal point character</td>
* </tr>
* <tr valign="top">
* <td>thousands_sep</td>
* <td>Thousands separator</td>
* </tr>
* <tr valign="top">
* <td>grouping</td>
* <td>Array containing numeric groupings</td>
* </tr>
* <tr valign="top">
* <td>int_curr_symbol</td>
* <td>International currency symbol (i.e. USD)</td>
* </tr>
* <tr valign="top">
* <td>currency_symbol</td>
* <td>Local currency symbol (i.e. $)</td>
* </tr>
* <tr valign="top">
* <td>mon_decimal_point</td>
* <td>Monetary decimal point character</td>
* </tr>
* <tr valign="top">
* <td>mon_thousands_sep</td>
* <td>Monetary thousands separator</td>
* </tr>
* <tr valign="top">
* <td>mon_grouping</td>
* <td>Array containing monetary groupings</td>
* </tr>
* <tr valign="top">
* <td>positive_sign</td>
* <td>Sign for positive values</td>
* </tr>
* <tr valign="top">
* <td>negative_sign</td>
* <td>Sign for negative values</td>
* </tr>
* <tr valign="top">
* <td>int_frac_digits</td>
* <td>International fractional digits</td>
* </tr>
* <tr valign="top">
* <td>frac_digits</td>
* <td>Local fractional digits</td>
* </tr>
* <tr valign="top">
* <td>p_cs_precedes</td>
* <td>
* true if currency_symbol precedes a positive value, false
* if it succeeds one
* </td>
* </tr>
* <tr valign="top">
* <td>p_sep_by_space</td>
* <td>
* true if a space separates currency_symbol from a positive
* value, false otherwise
* </td>
* </tr>
* <tr valign="top">
* <td>n_cs_precedes</td>
* <td>
* true if currency_symbol precedes a negative value, false
* if it succeeds one
* </td>
* </tr>
* <tr valign="top">
* <td>n_sep_by_space</td>
* <td>
* true if a space separates currency_symbol from a negative
* value, false otherwise
* </td>
* </tr>
*
* <td>p_sign_posn</td>
* <td>
*
* 0 - Parentheses surround the quantity and currency_symbol
* 1 - The sign string precedes the quantity and currency_symbol
* 2 - The sign string succeeds the quantity and currency_symbol
* 3 - The sign string immediately precedes the currency_symbol
* 4 - The sign string immediately succeeds the currency_symbol
*
* </td>
* </tr>
*
* <td>n_sign_posn</td>
* <td>
*
* 0 - Parentheses surround the quantity and currency_symbol
* 1 - The sign string precedes the quantity and currency_symbol
* 2 - The sign string succeeds the quantity and currency_symbol
* 3 - The sign string immediately precedes the currency_symbol
* 4 - The sign string immediately succeeds the currency_symbol
*
* </td>
* </tr>
*
*
*
* </p>
* <p>
* The p_sign_posn, and n_sign_posn contain a string
* of formatting options. Each number representing one of the above listed conditions.
* </p>
* <p>
* The grouping fields contain arrays that define the way numbers should be
* grouped. For example, the monetary grouping field for the nl_NL locale (in
* UTF-8 mode with the euro sign), would contain a 2 item array with the
* values 3 and 3. The higher the index in the array, the farther left the
* grouping is. If an array element is equal to CHAR_MAX,
* no further grouping is done. If an array element is equal to 0, the previous
* element should be used.
*/
function localeconv () {}
/**
* Query language and locale information
* @link http://www.php.net/manual/en/function.nl-langinfo.php
* @param item int <p>
* item may be an integer value of the element or the
* constant name of the element. The following is a list of constant names
* for item that may be used and their description.
* Some of these constants may not be defined or hold no value for certain
* locales.
* <table>
* nl_langinfo Constants
*
*
*
*
* <tr valign="top">
* <td>Constant</td>
* <td>Description</td>
* </tr>
*
*
* <tr valign="top">
* LC_TIME Category Constants</td>
* </tr>
* <tr valign="top">
* <td>ABDAY_(1-7)</td>
* <td>Abbreviated name of n-th day of the week.</td>
* </tr>
* <tr valign="top">
* <td>DAY_(1-7)</td>
* <td>Name of the n-th day of the week (DAY_1 = Sunday).</td>
* </tr>
* <tr valign="top">
* <td>ABMON_(1-12)</td>
* <td>Abbreviated name of the n-th month of the year.</td>
* </tr>
* <tr valign="top">
* <td>MON_(1-12)</td>
* <td>Name of the n-th month of the year.</td>
* </tr>
* <tr valign="top">
* <td>AM_STR</td>
* <td>String for Ante meridian.</td>
* </tr>
* <tr valign="top">
* <td>PM_STR</td>
* <td>String for Post meridian.</td>
* </tr>
* <tr valign="top">
* <td>D_T_FMT</td>
* <td>String that can be used as the format string for strftime to represent time and date.</td>
* </tr>
* <tr valign="top">
* <td>D_FMT</td>
* <td>String that can be used as the format string for strftime to represent date.</td>
* </tr>
* <tr valign="top">
* <td>T_FMT</td>
* <td>String that can be used as the format string for strftime to represent time.</td>
* </tr>
* <tr valign="top">
* <td>T_FMT_AMPM</td>
* <td>String that can be used as the format string for strftime to represent time in 12-hour format with ante/post meridian.</td>
* </tr>
* <tr valign="top">
* <td>ERA</td>
* <td>Alternate era.</td>
* </tr>
* <tr valign="top">
* <td>ERA_YEAR</td>
* <td>Year in alternate era format.</td>
* </tr>
* <tr valign="top">
* <td>ERA_D_T_FMT</td>
* <td>Date and time in alternate era format (string can be used in strftime).</td>
* </tr>
* <tr valign="top">
* <td>ERA_D_FMT</td>
* <td>Date in alternate era format (string can be used in strftime).</td>
* </tr>
* <tr valign="top">
* <td>ERA_T_FMT</td>
* <td>Time in alternate era format (string can be used in strftime).</td>
* </tr>
* <tr valign="top">
* LC_MONETARY Category Constants</td>
* </tr>
* <tr valign="top">
* <td>INT_CURR_SYMBOL</td>
* <td>International currency symbol.</td>
* </tr>
* <tr valign="top">
* <td>CURRENCY_SYMBOL</td>
* <td>Local currency symbol.</td>
* </tr>
* <tr valign="top">
* <td>CRNCYSTR</td>
* <td>Same value as CURRENCY_SYMBOL.</td>
* </tr>
* <tr valign="top">
* <td>MON_DECIMAL_POINT</td>
* <td>Decimal point character.</td>
* </tr>
* <tr valign="top">
* <td>MON_THOUSANDS_SEP</td>
* <td>Thousands separator (groups of three digits).</td>
* </tr>
* <tr valign="top">
* <td>MON_GROUPING</td>
* <td>Like "grouping" element.</td>
* </tr>
* <tr valign="top">
* <td>POSITIVE_SIGN</td>
* <td>Sign for positive values.</td>
* </tr>
* <tr valign="top">
* <td>NEGATIVE_SIGN</td>
* <td>Sign for negative values.</td>
* </tr>
* <tr valign="top">
* <td>INT_FRAC_DIGITS</td>
* <td>International fractional digits.</td>
* </tr>
* <tr valign="top">
* <td>FRAC_DIGITS</td>
* <td>Local fractional digits.</td>
* </tr>
* <tr valign="top">
* <td>P_CS_PRECEDES</td>
* <td>Returns 1 if CURRENCY_SYMBOL precedes a positive value.</td>
* </tr>
* <tr valign="top">
* <td>P_SEP_BY_SPACE</td>
* <td>Returns 1 if a space separates CURRENCY_SYMBOL from a positive value.</td>
* </tr>
* <tr valign="top">
* <td>N_CS_PRECEDES</td>
* <td>Returns 1 if CURRENCY_SYMBOL precedes a negative value.</td>
* </tr>
* <tr valign="top">
* <td>N_SEP_BY_SPACE</td>
* <td>Returns 1 if a space separates CURRENCY_SYMBOL from a negative value.</td>
* </tr>
* <tr valign="top">
* <td>P_SIGN_POSN</td>
*
*
*
*
* Returns 0 if parentheses surround the quantity and CURRENCY_SYMBOL.
* @return string the element as a string, or false if item
* is not valid.
*/
function nl_langinfo ($item) {}
/**
* Calculate the soundex key of a string
* @link http://www.php.net/manual/en/function.soundex.php
* @param str string <p>
* The input string.
* </p>
* @return string the soundex key as a string.
*/
function soundex ($str) {}
/**
* Calculate Levenshtein distance between two strings
* @link http://www.php.net/manual/en/function.levenshtein.php
* @param str1 string <p>
* One of the strings being evaluated for Levenshtein distance.
* </p>
* @param str2 string <p>
* One of the strings being evaluated for Levenshtein distance.
* </p>
* @return int This function returns the Levenshtein-Distance between the
* two argument strings or -1, if one of the argument strings
* is longer than the limit of 255 characters.
*/
function levenshtein ($str1, $str2) {}
/**
* Return a specific character
* @link http://www.php.net/manual/en/function.chr.php
* @param ascii int <p>
* The ascii code.
* </p>
* @return string the specified character.
*/
function chr ($ascii) {}
/**
* Return ASCII value of character
* @link http://www.php.net/manual/en/function.ord.php
* @param string string <p>
* A character.
* </p>
* @return int the ASCII value as an integer.
*/
function ord ($string) {}
/**
* Parses the string into variables
* @link http://www.php.net/manual/en/function.parse-str.php
* @param str string <p>
* The input string.
* </p>
* @param arr array[optional] <p>
* If the second parameter arr is present,
* variables are stored in this variable as array elements instead.
* </p>
* @return void
*/
function parse_str ($str, array &$arr = null) {}
/**
* Parse a CSV string into an array
* @link http://www.php.net/manual/en/function.str-getcsv.php
* @param input string <p>
* The string to parse.
* </p>
* @param delimiter string[optional] <p>
* Set the field delimiter (one character only).
* </p>
* @param enclosure string[optional] <p>
* Set the field enclosure character (one character only).
* </p>
* @param escape string[optional] <p>
* Set the escape character (one character only). Defaults as a backslash
* (\)
* </p>
* @return array an indexed array containing the fields read.
*/
function str_getcsv ($input, $delimiter = null, $enclosure = null, $escape = null) {}
/**
* Pad a string to a certain length with another string
* @link http://www.php.net/manual/en/function.str-pad.php
* @param input string <p>
* The input string.
* </p>
* @param pad_length int <p>
* If the value of pad_length is negative,
* less than, or equal to the length of the input string, no padding
* takes place.
* </p>
* @param pad_string string[optional] <p>
* The pad_string may be truncated if the
* required number of padding characters can't be evenly divided by the
* pad_string's length.
* </p>
* @param pad_type int[optional] <p>
* Optional argument pad_type can be
* STR_PAD_RIGHT, STR_PAD_LEFT,
* or STR_PAD_BOTH. If
* pad_type is not specified it is assumed to be
* STR_PAD_RIGHT.
* </p>
* @return string the padded string.
*/
function str_pad ($input, $pad_length, $pad_string = null, $pad_type = null) {}
/**
* &Alias; <function>rtrim</function>
* @link http://www.php.net/manual/en/function.chop.php
* @param str
* @param character_mask[optional]
*/
function chop ($str, $character_mask) {}
/**
* &Alias; <function>strstr</function>
* @link http://www.php.net/manual/en/function.strchr.php
* @param haystack
* @param needle
* @param part[optional]
*/
function strchr ($haystack, $needle, $part) {}
/**
* Return a formatted string
* @link http://www.php.net/manual/en/function.sprintf.php
* @param format string <p>
* The format string is composed of zero or more directives:
* ordinary characters (excluding %) that are
* copied directly to the result, and conversion
* specifications, each of which results in fetching its
* own parameter. This applies to both sprintf
* and printf.
* </p>
* <p>
* Each conversion specification consists of a percent sign
* (%), followed by one or more of these
* elements, in order:
*
*
*
* An optional sign specifier that forces a sign
* (- or +) to be used on a number. By default, only the - sign is used
* on a number if it's negative. This specifier forces positive numbers
* to have the + sign attached as well, and was added in PHP 4.3.0.
* @param args mixed[optional] <p>
* </p>
* @param _ mixed[optional]
* @return string a string produced according to the formatting string
* format.
*/
function sprintf ($format, $args = null, $_ = null) {}
/**
* Output a formatted string
* @link http://www.php.net/manual/en/function.printf.php
* @param format string <p>
* See sprintf for a description of
* format.
* </p>
* @param args mixed[optional] <p>
* </p>
* @param _ mixed[optional]
* @return int the length of the outputted string.
*/
function printf ($format, $args = null, $_ = null) {}
/**
* Output a formatted string
* @link http://www.php.net/manual/en/function.vprintf.php
* @param format string <p>
* See sprintf for a description of
* format.
* </p>
* @param args array <p>
* </p>
* @return int the length of the outputted string.
*/
function vprintf ($format, array $args) {}
/**
* Return a formatted string
* @link http://www.php.net/manual/en/function.vsprintf.php
* @param format string <p>
* See sprintf for a description of
* format.
* </p>
* @param args array <p>
* </p>
* @return string Return array values as a formatted string according to
* format (which is described in the documentation
* for sprintf).
*/
function vsprintf ($format, array $args) {}
/**
* Write a formatted string to a stream
* @link http://www.php.net/manual/en/function.fprintf.php
* @param handle resource &fs.file.pointer;
* @param format string <p>
* See sprintf for a description of
* format.
* </p>
* @param args mixed[optional] <p>
* </p>
* @param _ mixed[optional]
* @return int the length of the string written.
*/
function fprintf ($handle, $format, $args = null, $_ = null) {}
/**
* Write a formatted string to a stream
* @link http://www.php.net/manual/en/function.vfprintf.php
* @param handle resource <p>
* </p>
* @param format string <p>
* See sprintf for a description of
* format.
* </p>
* @param args array <p>
* </p>
* @return int the length of the outputted string.
*/
function vfprintf ($handle, $format, array $args) {}
/**
* Parses input from a string according to a format
* @link http://www.php.net/manual/en/function.sscanf.php
* @param str string <p>
* The input string being parsed.
* </p>
* @param format string <p>
* The interpreted format for str, which is
* described in the documentation for sprintf with
* following differences:
*
*
* Function is not locale-aware.
*
*
* F, g, G and
* b are not supported.
*
*
* D stands for decimal number.
*
*
* i stands for integer with base detection.
*
*
* n stands for number of characters processed so far.
*
*
* </p>
* @param _ mixed[optional]
* @return mixed If only two parameters were passed to this function, the values parsed will
* be returned as an array. Otherwise, if optional parameters are passed, the
* function will return the number of assigned values. The optional parameters
* must be passed by reference.
* </p>
* <p>
* If there are more substrings expected in the format
* than there are available within str,
* -1 will be returned.
*/
function sscanf ($str, $format, &$_ = null) {}
/**
* Parses input from a file according to a format
* @link http://www.php.net/manual/en/function.fscanf.php
* @param handle resource &fs.file.pointer;
* @param format string <p>
* The specified format as described in the
* sprintf documentation.
* </p>
* @param _ mixed[optional]
* @return mixed If only two parameters were passed to this function, the values parsed will be
* returned as an array. Otherwise, if optional parameters are passed, the
* function will return the number of assigned values. The optional
* parameters must be passed by reference.
*/
function fscanf ($handle, $format, &$_ = null) {}
/**
* Parse a URL and return its components
* @link http://www.php.net/manual/en/function.parse-url.php
* @param url string <p>
* The URL to parse. Invalid characters are replaced by
* _.
* </p>
* @param component int[optional] <p>
* Specify one of PHP_URL_SCHEME,
* PHP_URL_HOST, PHP_URL_PORT,
* PHP_URL_USER, PHP_URL_PASS,
* PHP_URL_PATH, PHP_URL_QUERY
* or PHP_URL_FRAGMENT to retrieve just a specific
* URL component as a string (except when
* PHP_URL_PORT is given, in which case the return
* value will be an integer).
* </p>
* @return mixed On seriously malformed URLs, parse_url may return
* false.
* </p>
* <p>
* If the component parameter is omitted, an
* associative array is returned. At least one element will be
* present within the array. Potential keys within this array are:
*
*
*
* scheme - e.g. http
*
*
*
*
* host
*
*
*
*
* port
*
*
*
*
* user
*
*
*
*
* pass
*
*
*
*
* path
*
*
*
*
* query - after the question mark ?
*
*
*
*
* fragment - after the hashmark #
*
*
*
* </p>
* <p>
* If the component parameter is specified,
* parse_url returns a string (or an
* integer, in the case of PHP_URL_PORT)
* instead of an array. If the requested component doesn't exist
* within the given URL, &null; will be returned.
*/
function parse_url ($url, $component = null) {}
/**
* URL-encodes string
* @link http://www.php.net/manual/en/function.urlencode.php
* @param str string <p>
* The string to be encoded.
* </p>
* @return string a string in which all non-alphanumeric characters except
* -_. have been replaced with a percent
* (%) sign followed by two hex digits and spaces encoded
* as plus (+) signs. It is encoded the same way that the
* posted data from a WWW form is encoded, that is the same way as in
* application/x-www-form-urlencoded media type. This
* differs from the RFC 3986 encoding (see
* rawurlencode) in that for historical reasons, spaces
* are encoded as plus (+) signs.
*/
function urlencode ($str) {}
/**
* Decodes URL-encoded string
* @link http://www.php.net/manual/en/function.urldecode.php
* @param str string <p>
* The string to be decoded.
* </p>
* @return string the decoded string.
*/
function urldecode ($str) {}
/**
* URL-encode according to RFC 3986
* @link http://www.php.net/manual/en/function.rawurlencode.php
* @param str string <p>
* The URL to be encoded.
* </p>
* @return string a string in which all non-alphanumeric characters except
* -_.~ have been replaced with a percent
* (%) sign followed by two hex digits. This is the
* encoding described in RFC 3986 for
* protecting literal characters from being interpreted as special URL
* delimiters, and for protecting URLs from being mangled by transmission
* media with character conversions (like some email systems).
*
* <p>
* Prior to PHP 5.3.0, rawurlencode encoded tildes (~) as per
* RFC 1738.
* </p>
*/
function rawurlencode ($str) {}
/**
* Decode URL-encoded strings
* @link http://www.php.net/manual/en/function.rawurldecode.php
* @param str string <p>
* The URL to be decoded.
* </p>
* @return string the decoded URL, as a string.
*/
function rawurldecode ($str) {}
/**
* Generate URL-encoded query string
* @link http://www.php.net/manual/en/function.http-build-query.php
* @param query_data mixed <p>
* May be an array or object containing properties.
* </p>
* <p>
* If query_data is an array, it may be a simple
* one-dimensional structure, or an array of arrays (which in
* turn may contain other arrays).
* </p>
* <p>
* If query_data is an object, then only public
* properties will be incorporated into the result.
* </p>
* @param numeric_prefix string[optional] <p>
* If numeric indices are used in the base array and this parameter is
* provided, it will be prepended to the numeric index for elements in
* the base array only.
* </p>
* <p>
* This is meant to allow for legal variable names when the data is
* decoded by PHP or another CGI application later on.
* </p>
* @param arg_separator string[optional] <p>
* arg_separator.output
* is used to separate arguments, unless this parameter is specified,
* and is then used.
* </p>
* @param enc_type int[optional] <p>
* By default, PHP_QUERY_RFC1738.
* </p>
* <p>
* If enc_type is
* PHP_QUERY_RFC1738, then encoding is performed per
* RFC 1738 and the
* application/x-www-form-urlencoded media type, which
* implies that spaces are encoded as plus (+) signs.
* </p>
* <p>
* If enc_type is
* PHP_QUERY_RFC3986, then encoding is performed
* according to RFC 3986, and
* spaces will be percent encoded (%20).
* </p>
* @return string a URL-encoded string.
*/
function http_build_query ($query_data, $numeric_prefix = null, $arg_separator = null, $enc_type = null) {}
/**
* Returns the target of a symbolic link
* @link http://www.php.net/manual/en/function.readlink.php
* @param path string <p>
* The symbolic link path.
* </p>
* @return string the contents of the symbolic link path or false on error.
*/
function readlink ($path) {}
/**
* Gets information about a link
* @link http://www.php.net/manual/en/function.linkinfo.php
* @param path string <p>
* Path to the link.
* </p>
* @return int linkinfo returns the st_dev field
* of the Unix C stat structure returned by the lstat
* system call. Returns 0 or false in case of error.
*/
function linkinfo ($path) {}
/**
* Creates a symbolic link
* @link http://www.php.net/manual/en/function.symlink.php
* @param target string <p>
* Target of the link.
* </p>
* @param link string <p>
* The link name.
* </p>
* @return bool Returns true on success, false on failure.
*/
function symlink ($target, $link) {}
/**
* Create a hard link
* @link http://www.php.net/manual/en/function.link.php
* @param target string <p>
* Target of the link.
* </p>
* @param link string <p>
* The link name.
* </p>
* @return bool Returns true on success, false on failure.
*/
function link ($target, $link) {}
/**
* Deletes a file
* @link http://www.php.net/manual/en/function.unlink.php
* @param filename string <p>
* Path to the file.
* </p>
* @param context resource[optional] ¬e.context-support;
* @return bool Returns true on success, false on failure.
*/
function unlink ($filename, $context = null) {}
/**
* Execute an external program
* @link http://www.php.net/manual/en/function.exec.php
* @param command string <p>
* The command that will be executed.
* </p>
* @param output array[optional] <p>
* If the output argument is present, then the
* specified array will be filled with every line of output from the
* command. Trailing whitespace, such as \n, is not
* included in this array. Note that if the array already contains some
* elements, exec will append to the end of the array.
* If you do not want the function to append elements, call
* unset on the array before passing it to
* exec.
* </p>
* @param return_var int[optional] <p>
* If the return_var argument is present
* along with the output argument, then the
* return status of the executed command will be written to this
* variable.
* </p>
* @return string The last line from the result of the command. If you need to execute a
* command and have all the data from the command passed directly back without
* any interference, use the passthru function.
* </p>
* <p>
* To get the output of the executed command, be sure to set and use the
* output parameter.
*/
function exec ($command, array &$output = null, &$return_var = null) {}
/**
* Execute an external program and display the output
* @link http://www.php.net/manual/en/function.system.php
* @param command string <p>
* The command that will be executed.
* </p>
* @param return_var int[optional] <p>
* If the return_var argument is present, then the
* return status of the executed command will be written to this
* variable.
* </p>
* @return string the last line of the command output on success, and false
* on failure.
*/
function system ($command, &$return_var = null) {}
/**
* Escape shell metacharacters
* @link http://www.php.net/manual/en/function.escapeshellcmd.php
* @param command string <p>
* The command that will be escaped.
* </p>
* @return string The escaped string.
*/
function escapeshellcmd ($command) {}
/**
* Escape a string to be used as a shell argument
* @link http://www.php.net/manual/en/function.escapeshellarg.php
* @param arg string <p>
* The argument that will be escaped.
* </p>
* @return string The escaped string.
*/
function escapeshellarg ($arg) {}
/**
* Execute an external program and display raw output
* @link http://www.php.net/manual/en/function.passthru.php
* @param command string <p>
* The command that will be executed.
* </p>
* @param return_var int[optional] <p>
* If the return_var argument is present, the
* return status of the Unix command will be placed here.
* </p>
* @return void
*/
function passthru ($command, &$return_var = null) {}
/**
* Execute command via shell and return the complete output as a string
* @link http://www.php.net/manual/en/function.shell-exec.php
* @param cmd string <p>
* The command that will be executed.
* </p>
* @return string The output from the executed command or &null; if an error occurred or the
* command produces no output.
* </p>
*
* <p>
* This function can return &null; both when an error occurs or the program
* produces no output. It is not possible to detect execution failures using
* this function. exec should be used when access to the
* program exit code is required.
*/
function shell_exec ($cmd) {}
/**
* Execute a command and open file pointers for input/output
* @link http://www.php.net/manual/en/function.proc-open.php
* @param cmd string <p>
* The command to execute
* </p>
* @param descriptorspec array <p>
* An indexed array where the key represents the descriptor number and the
* value represents how PHP will pass that descriptor to the child
* process. 0 is stdin, 1 is stdout, while 2 is stderr.
* </p>
* <p>
* Each element can be:
*
* An array describing the pipe to pass to the process. The first
* element is the descriptor type and the second element is an option for
* the given type. Valid types are pipe (the second
* element is either r to pass the read end of the pipe
* to the process, or w to pass the write end) and
* file (the second element is a filename).
*
*
* A stream resource representing a real file descriptor (e.g. opened file,
* a socket, STDIN).
*
*
* </p>
* <p>
* The file descriptor numbers are not limited to 0, 1 and 2 - you may
* specify any valid file descriptor number and it will be passed to the
* child process. This allows your script to interoperate with other
* scripts that run as "co-processes". In particular, this is useful for
* passing passphrases to programs like PGP, GPG and openssl in a more
* secure manner. It is also useful for reading status information
* provided by those programs on auxiliary file descriptors.
* </p>
* @param pipes array <p>
* Will be set to an indexed array of file pointers that correspond to
* PHP's end of any pipes that are created.
* </p>
* @param cwd string[optional] <p>
* The initial working dir for the command. This must be an
* absolute directory path, or &null;
* if you want to use the default value (the working dir of the current
* PHP process)
* </p>
* @param env array[optional] <p>
* An array with the environment variables for the command that will be
* run, or &null; to use the same environment as the current PHP process
* </p>
* @param other_options array[optional] <p>
* Allows you to specify additional options. Currently supported options
* include:
*
*
* suppress_errors (windows only): suppresses errors
* generated by this function when it's set to true
*
*
* bypass_shell (windows only): bypass
* cmd.exe shell when set to true
*
*
* </p>
* @return resource a resource representing the process, which should be freed using
* proc_close when you are finished with it. On failure
* returns false.
*/
function proc_open ($cmd, array $descriptorspec, array &$pipes, $cwd = null, array $env = null, array $other_options = null) {}
/**
* Close a process opened by <function>proc_open</function> and return the exit code of that process
* @link http://www.php.net/manual/en/function.proc-close.php
* @param process resource <p>
* The proc_open resource that will
* be closed.
* </p>
* @return int the termination status of the process that was run. In case of
* an error then -1 is returned.
*/
function proc_close ($process) {}
/**
* Kills a process opened by proc_open
* @link http://www.php.net/manual/en/function.proc-terminate.php
* @param process resource <p>
* The proc_open resource that will
* be closed.
* </p>
* @param signal int[optional] <p>
* This optional parameter is only useful on POSIX
* operating systems; you may specify a signal to send to the process
* using the kill(2) system call. The default is
* SIGTERM.
* </p>
* @return bool the termination status of the process that was run.
*/
function proc_terminate ($process, $signal = null) {}
/**
* Get information about a process opened by <function>proc_open</function>
* @link http://www.php.net/manual/en/function.proc-get-status.php
* @param process resource <p>
* The proc_open resource that will
* be evaluated.
* </p>
* @return array An array of collected information on success, and false
* on failure. The returned array contains the following elements:
* </p>
* <p>
*
*
*
* <tr valign="top"><td>element</td><td>type</td><td>description</td></tr>
*
*
* <tr valign="top">
* <td>command</td>
* <td>string</td>
* <td>
* The command string that was passed to proc_open.
* </td>
* </tr>
* <tr valign="top">
* <td>pid</td>
* <td>int</td>
* <td>process id</td>
* </tr>
* <tr valign="top">
* <td>running</td>
* <td>bool</td>
* <td>
* true if the process is still running, false if it has
* terminated.
* </td>
* </tr>
* <tr valign="top">
* <td>signaled</td>
* <td>bool</td>
* <td>
* true if the child process has been terminated by
* an uncaught signal. Always set to false on Windows.
* </td>
* </tr>
* <tr valign="top">
* <td>stopped</td>
* <td>bool</td>
* <td>
* true if the child process has been stopped by a
* signal. Always set to false on Windows.
* </td>
* </tr>
* <tr valign="top">
* <td>exitcode</td>
* <td>int</td>
* <td>
* The exit code returned by the process (which is only
* meaningful if running is false).
* Only first call of this function return real value, next calls return
* -1.
* </td>
* </tr>
* <tr valign="top">
* <td>termsig</td>
* <td>int</td>
* <td>
* The number of the signal that caused the child process to terminate
* its execution (only meaningful if signaled is true).
* </td>
* </tr>
* <tr valign="top">
* <td>stopsig</td>
* <td>int</td>
* <td>
* The number of the signal that caused the child process to stop its
* execution (only meaningful if stopped is true).
* </td>
* </tr>
*/
function proc_get_status ($process) {}
/**
* Change the priority of the current process
* @link http://www.php.net/manual/en/function.proc-nice.php
* @param increment int <p>
* The increment value of the priority change.
* </p>
* @return bool Returns true on success, false on failure.
* If an error occurs, like the user lacks permission to change the priority,
* an error of level E_WARNING is also generated.
*/
function proc_nice ($increment) {}
/**
* Generate a random integer
* @link http://www.php.net/manual/en/function.rand.php
* @param min[optional]
* @param max[optional]
* @return int A pseudo random value between min
* (or 0) and max (or getrandmax, inclusive).
*/
function rand ($min, $max) {}
/**
* Seed the random number generator
* @link http://www.php.net/manual/en/function.srand.php
* @param seed int[optional] <p>
* Optional seed value
* </p>
* @return void
*/
function srand ($seed = null) {}
/**
* Show largest possible random value
* @link http://www.php.net/manual/en/function.getrandmax.php
* @return int The largest possible random value returned by rand
*/
function getrandmax () {}
/**
* Generate a better random value
* @link http://www.php.net/manual/en/function.mt-rand.php
* @param min[optional]
* @param max[optional]
* @return int A random integer value between min (or 0)
* and max (or mt_getrandmax, inclusive),
* or false if max is less than min.
*/
function mt_rand ($min, $max) {}
/**
* Seed the better random number generator
* @link http://www.php.net/manual/en/function.mt-srand.php
* @param seed int[optional] <p>
* An optional seed value
* </p>
* @return void
*/
function mt_srand ($seed = null) {}
/**
* Show largest possible random value
* @link http://www.php.net/manual/en/function.mt-getrandmax.php
* @return int the maximum random value returned by mt_rand
*/
function mt_getrandmax () {}
/**
* Get port number associated with an Internet service and protocol
* @link http://www.php.net/manual/en/function.getservbyname.php
* @param service string <p>
* The Internet service name, as a string.
* </p>
* @param protocol string <p>
* protocol is either "tcp"
* or "udp" (in lowercase).
* </p>
* @return int the port number, or false if service or
* protocol is not found.
*/
function getservbyname ($service, $protocol) {}
/**
* Get Internet service which corresponds to port and protocol
* @link http://www.php.net/manual/en/function.getservbyport.php
* @param port int <p>
* The port number.
* </p>
* @param protocol string <p>
* protocol is either "tcp"
* or "udp" (in lowercase).
* </p>
* @return string the Internet service name as a string.
*/
function getservbyport ($port, $protocol) {}
/**
* Get protocol number associated with protocol name
* @link http://www.php.net/manual/en/function.getprotobyname.php
* @param name string <p>
* The protocol name.
* </p>
* @return int the protocol number, &return.falseforfailure;.
*/
function getprotobyname ($name) {}
/**
* Get protocol name associated with protocol number
* @link http://www.php.net/manual/en/function.getprotobynumber.php
* @param number int <p>
* The protocol number.
* </p>
* @return string the protocol name as a string, &return.falseforfailure;.
*/
function getprotobynumber ($number) {}
/**
* Gets PHP script owner's UID
* @link http://www.php.net/manual/en/function.getmyuid.php
* @return int the user ID of the current script, or false on error.
*/
function getmyuid () {}
/**
* Get PHP script owner's GID
* @link http://www.php.net/manual/en/function.getmygid.php
* @return int the group ID of the current script, or false on error.
*/
function getmygid () {}
/**
* Gets PHP's process ID
* @link http://www.php.net/manual/en/function.getmypid.php
* @return int the current PHP process ID, or false on error.
*/
function getmypid () {}
/**
* Gets the inode of the current script
* @link http://www.php.net/manual/en/function.getmyinode.php
* @return int the current script's inode as an integer, or false on error.
*/
function getmyinode () {}
/**
* Gets time of last page modification
* @link http://www.php.net/manual/en/function.getlastmod.php
* @return int the time of the last modification of the current
* page. The value returned is a Unix timestamp, suitable for
* feeding to date. Returns false on error.
*/
function getlastmod () {}
/**
* Decodes data encoded with MIME base64
* @link http://www.php.net/manual/en/function.base64-decode.php
* @param data string <p>
* The encoded data.
* </p>
* @param strict bool[optional] <p>
* Returns false if input contains character from outside the base64
* alphabet.
* </p>
* @return string the original data&return.falseforfailure;. The returned data may be
* binary.
*/
function base64_decode ($data, $strict = null) {}
/**
* Encodes data with MIME base64
* @link http://www.php.net/manual/en/function.base64-encode.php
* @param data string <p>
* The data to encode.
* </p>
* @return string The encoded data, as a string&return.falseforfailure;.
*/
function base64_encode ($data) {}
/**
* Creates a password hash
* @link http://www.php.net/manual/en/function.password-hash.php
* @param password string <p>
* &password.parameter.password;
* </p>
*
* <p>
* Using the PASSWORD_BCRYPT for the
* algo parameter, will result
* in the password parameter being truncated to a
* maximum length of 72 characters.
* </p>
* @param algo integer <p>
* &password.parameter.algo;
* </p>
* @param options array[optional] <p>
* &password.parameter.options;
* </p>
* <p>
* If omitted, a random salt will be created and the default cost will be
* used.
* </p>
* @return string the hashed password, &return.falseforfailure;.
* </p>
* <p>
* The used algorithm, cost and salt are returned as part of the hash. Therefore,
* all information that's needed to verify the hash is included in it. This allows
* the password_verify function to verify the hash without
* needing separate storage for the salt or algorithm information.
*/
function password_hash ($password, $algo, array $options = null) {}
/**
* Returns information about the given hash
* @link http://www.php.net/manual/en/function.password-get-info.php
* @param hash string <p>
* &password.parameter.hash;
* </p>
* @return array an associative array with three elements:
*
*
*
* algo, which will match a
* password algorithm constant
*
*
*
*
* algoName, which has the human readable name of the
* algorithm
*
*
*
*
* options, which includes the options
* provided when calling password_hash
*/
function password_get_info ($hash) {}
/**
* Checks if the given hash matches the given options
* @link http://www.php.net/manual/en/function.password-needs-rehash.php
* @param hash string <p>
* &password.parameter.hash;
* </p>
* @param algo integer <p>
* &password.parameter.algo;
* </p>
* @param options array[optional] <p>
* &password.parameter.options;
* </p>
* @return boolean true if the hash should be rehashed to match the given
* algo and options, or false
* otherwise.
*/
function password_needs_rehash ($hash, $algo, array $options = null) {}
/**
* Verifies that a password matches a hash
* @link http://www.php.net/manual/en/function.password-verify.php
* @param password string <p>
* &password.parameter.password;
* </p>
* @param hash string <p>
* &password.parameter.hash;
* </p>
* @return boolean true if the password and hash match, or false otherwise.
*/
function password_verify ($password, $hash) {}
/**
* Uuencode a string
* @link http://www.php.net/manual/en/function.convert-uuencode.php
* @param data string <p>
* The data to be encoded &return.falseforfailure;.
* </p>
* @return string the uuencoded data.
*/
function convert_uuencode ($data) {}
/**
* Decode a uuencoded string
* @link http://www.php.net/manual/en/function.convert-uudecode.php
* @param data string <p>
* The uuencoded data.
* </p>
* @return string the decoded data as a string &return.falseforfailure;.
*/
function convert_uudecode ($data) {}
/**
* Absolute value
* @link http://www.php.net/manual/en/function.abs.php
* @param number mixed <p>
* The numeric value to process
* </p>
* @return number The absolute value of number. If the
* argument number is
* of type float, the return type is also float,
* otherwise it is integer (as float usually has a
* bigger value range than integer).
*/
function abs ($number) {}
/**
* Round fractions up
* @link http://www.php.net/manual/en/function.ceil.php
* @param value float <p>
* The value to round
* </p>
* @return float value rounded up to the next highest
* integer.
* The return value of ceil is still of type
* float as the value range of float is
* usually bigger than that of integer.
*/
function ceil ($value) {}
/**
* Round fractions down
* @link http://www.php.net/manual/en/function.floor.php
* @param value float <p>
* The numeric value to round
* </p>
* @return float value rounded to the next lowest integer.
* The return value of floor is still of type
* float because the value range of float is
* usually bigger than that of integer.
*/
function floor ($value) {}
/**
* Rounds a float
* @link http://www.php.net/manual/en/function.round.php
* @param val float <p>
* The value to round
* </p>
* @param precision int[optional] <p>
* The optional number of decimal digits to round to.
* </p>
* @param mode int[optional] <p>
* Use one of the following constants to specify the mode in which rounding occurs.
*
*
*
* <tr valign="top">
* <td>Constant</td>
* <td>&Description;</td>
* </tr>
*
*
* <tr valign="top">
* <td>PHP_ROUND_HALF_UP</td>
* <td>
* Round val up to precision decimal places
* away from zero, when it is half way there. Making 1.5 into 2 and -1.5 into -2.
* </td>
* </tr>
* <tr valign="top">
* <td>PHP_ROUND_HALF_DOWN</td>
* <td>
* Round val down to precision decimal places
* towards zero, when it is half way there. Making 1.5 into 1 and -1.5 into -1.
* </td>
* </tr>
* <tr valign="top">
* <td>PHP_ROUND_HALF_EVEN</td>
* <td>
* Round val to precision decimal places
* towards the next even value.
* </td>
* </tr>
* <tr valign="top">
* <td>PHP_ROUND_HALF_ODD</td>
* <td>
* Round val to precision decimal places
* towards the next odd value.
* </td>
* </tr>
*
*
*
* </p>
* @return float The rounded value
*/
function round ($val, $precision = null, $mode = null) {}
/**
* Sine
* @link http://www.php.net/manual/en/function.sin.php
* @param arg float <p>
* A value in radians
* </p>
* @return float The sine of arg
*/
function sin ($arg) {}
/**
* Cosine
* @link http://www.php.net/manual/en/function.cos.php
* @param arg float <p>
* An angle in radians
* </p>
* @return float The cosine of arg
*/
function cos ($arg) {}
/**
* Tangent
* @link http://www.php.net/manual/en/function.tan.php
* @param arg float <p>
* The argument to process in radians
* </p>
* @return float The tangent of arg
*/
function tan ($arg) {}
/**
* Arc sine
* @link http://www.php.net/manual/en/function.asin.php
* @param arg float <p>
* The argument to process
* </p>
* @return float The arc sine of arg in radians
*/
function asin ($arg) {}
/**
* Arc cosine
* @link http://www.php.net/manual/en/function.acos.php
* @param arg float <p>
* The argument to process
* </p>
* @return float The arc cosine of arg in radians.
*/
function acos ($arg) {}
/**
* Arc tangent
* @link http://www.php.net/manual/en/function.atan.php
* @param arg float <p>
* The argument to process
* </p>
* @return float The arc tangent of arg in radians.
*/
function atan ($arg) {}
/**
* Inverse hyperbolic tangent
* @link http://www.php.net/manual/en/function.atanh.php
* @param arg float <p>
* The argument to process
* </p>
* @return float Inverse hyperbolic tangent of arg
*/
function atanh ($arg) {}
/**
* Arc tangent of two variables
* @link http://www.php.net/manual/en/function.atan2.php
* @param y float <p>
* Dividend parameter
* </p>
* @param x float <p>
* Divisor parameter
* </p>
* @return float The arc tangent of y/x
* in radians.
*/
function atan2 ($y, $x) {}
/**
* Hyperbolic sine
* @link http://www.php.net/manual/en/function.sinh.php
* @param arg float <p>
* The argument to process
* </p>
* @return float The hyperbolic sine of arg
*/
function sinh ($arg) {}
/**
* Hyperbolic cosine
* @link http://www.php.net/manual/en/function.cosh.php
* @param arg float <p>
* The argument to process
* </p>
* @return float The hyperbolic cosine of arg
*/
function cosh ($arg) {}
/**
* Hyperbolic tangent
* @link http://www.php.net/manual/en/function.tanh.php
* @param arg float <p>
* The argument to process
* </p>
* @return float The hyperbolic tangent of arg
*/
function tanh ($arg) {}
/**
* Inverse hyperbolic sine
* @link http://www.php.net/manual/en/function.asinh.php
* @param arg float <p>
* The argument to process
* </p>
* @return float The inverse hyperbolic sine of arg
*/
function asinh ($arg) {}
/**
* Inverse hyperbolic cosine
* @link http://www.php.net/manual/en/function.acosh.php
* @param arg float <p>
* The value to process
* </p>
* @return float The inverse hyperbolic cosine of arg
*/
function acosh ($arg) {}
/**
* Returns exp(number) - 1, computed in a way that is accurate even
when the value of number is close to zero
* @link http://www.php.net/manual/en/function.expm1.php
* @param arg float <p>
* The argument to process
* </p>
* @return float 'e' to the power of arg minus one
*/
function expm1 ($arg) {}
/**
* Returns log(1 + number), computed in a way that is accurate even when
the value of number is close to zero
* @link http://www.php.net/manual/en/function.log1p.php
* @param number float <p>
* The argument to process
* </p>
* @return float log(1 + number)
*/
function log1p ($number) {}
/**
* Get value of pi
* @link http://www.php.net/manual/en/function.pi.php
* @return float The value of pi as float.
*/
function pi () {}
/**
* Finds whether a value is a legal finite number
* @link http://www.php.net/manual/en/function.is-finite.php
* @param val float <p>
* The value to check
* </p>
* @return bool true if val is a legal finite
* number within the allowed range for a PHP float on this platform,
* else false.
*/
function is_finite ($val) {}
/**
* Finds whether a value is not a number
* @link http://www.php.net/manual/en/function.is-nan.php
* @param val float <p>
* The value to check
* </p>
* @return bool true if val is 'not a number',
* else false.
*/
function is_nan ($val) {}
/**
* Finds whether a value is infinite
* @link http://www.php.net/manual/en/function.is-infinite.php
* @param val float <p>
* The value to check
* </p>
* @return bool true if val is infinite, else false.
*/
function is_infinite ($val) {}
/**
* Exponential expression
* @link http://www.php.net/manual/en/function.pow.php
* @param base number <p>
* The base to use
* </p>
* @param exp number <p>
* The exponent
* </p>
* @return number base raised to the power of exp.
* If both arguments are non-negative integers and the result can be represented
* as an integer, the result will be returned with integer type,
* otherwise it will be returned as a float.
*/
function pow ($base, $exp) {}
/**
* Calculates the exponent of <constant>e</constant>
* @link http://www.php.net/manual/en/function.exp.php
* @param arg float <p>
* The argument to process
* </p>
* @return float 'e' raised to the power of arg
*/
function exp ($arg) {}
/**
* Natural logarithm
* @link http://www.php.net/manual/en/function.log.php
* @param arg float <p>
* The value to calculate the logarithm for
* </p>
* @param base float[optional] <p>
* The optional logarithmic base to use
* (defaults to 'e' and so to the natural logarithm).
* </p>
* @return float The logarithm of arg to
* base, if given, or the
* natural logarithm.
*/
function log ($arg, $base = null) {}
/**
* Base-10 logarithm
* @link http://www.php.net/manual/en/function.log10.php
* @param arg float <p>
* The argument to process
* </p>
* @return float The base-10 logarithm of arg
*/
function log10 ($arg) {}
/**
* Square root
* @link http://www.php.net/manual/en/function.sqrt.php
* @param arg float <p>
* The argument to process
* </p>
* @return float The square root of arg
* or the special value NAN for negative numbers.
*/
function sqrt ($arg) {}
/**
* Calculate the length of the hypotenuse of a right-angle triangle
* @link http://www.php.net/manual/en/function.hypot.php
* @param x float <p>
* Length of first side
* </p>
* @param y float <p>
* Length of second side
* </p>
* @return float Calculated length of the hypotenuse
*/
function hypot ($x, $y) {}
/**
* Converts the number in degrees to the radian equivalent
* @link http://www.php.net/manual/en/function.deg2rad.php
* @param number float <p>
* Angular value in degrees
* </p>
* @return float The radian equivalent of number
*/
function deg2rad ($number) {}
/**
* Converts the radian number to the equivalent number in degrees
* @link http://www.php.net/manual/en/function.rad2deg.php
* @param number float <p>
* A radian value
* </p>
* @return float The equivalent of number in degrees
*/
function rad2deg ($number) {}
/**
* Binary to decimal
* @link http://www.php.net/manual/en/function.bindec.php
* @param binary_string string <p>
* The binary string to convert
* </p>
* @return number The decimal value of binary_string
*/
function bindec ($binary_string) {}
/**
* Hexadecimal to decimal
* @link http://www.php.net/manual/en/function.hexdec.php
* @param hex_string string <p>
* The hexadecimal string to convert
* </p>
* @return number The decimal representation of hex_string
*/
function hexdec ($hex_string) {}
/**
* Octal to decimal
* @link http://www.php.net/manual/en/function.octdec.php
* @param octal_string string <p>
* The octal string to convert
* </p>
* @return number The decimal representation of octal_string
*/
function octdec ($octal_string) {}
/**
* Decimal to binary
* @link http://www.php.net/manual/en/function.decbin.php
* @param number int <p>
* Decimal value to convert
* </p>
* <table>
* Range of inputs on 32-bit machines
*
*
*
*
*
* <tr valign="top">
* <td>positive number</td>
* <td>negative number</td>
* <td>return value</td>
* </tr>
*
*
* <tr valign="top">
* <td>0</td>
* <td></td>
* <td>0</td>
* </tr>
* <tr valign="top">
* <td>1</td>
* <td></td>
* <td>1</td>
* </tr>
* <tr valign="top">
* <td>2</td>
* <td></td>
* <td>10</td>
* </tr>
* <tr valign="top">
* ... normal progression ...</td>
* </tr>
* <tr valign="top">
* <td>2147483646</td>
* <td></td>
* <td>1111111111111111111111111111110</td>
* </tr>
* <tr valign="top">
* <td>2147483647 (largest signed integer)</td>
* <td></td>
* <td>1111111111111111111111111111111 (31 1's)</td>
* </tr>
* <tr valign="top">
* <td>2147483648</td>
* <td>-2147483648</td>
* <td>10000000000000000000000000000000</td>
* </tr>
* <tr valign="top">
* ... normal progression ...</td>
* </tr>
* <tr valign="top">
* <td>4294967294</td>
* <td>-2</td>
* <td>11111111111111111111111111111110</td>
* </tr>
* <tr valign="top">
* <td>4294967295 (largest unsigned integer)</td>
* <td>-1</td>
* <td>11111111111111111111111111111111 (32 1's)</td>
* </tr>
*
*
* </table>
* <table>
* Range of inputs on 64-bit machines
*
*
*
*
*
* <tr valign="top">
* <td>positive number</td>
* <td>negative number</td>
* <td>return value</td>
* </tr>
*
*
* <tr valign="top">
* <td>0</td>
* <td></td>
* <td>0</td>
* </tr>
* <tr valign="top">
* <td>1</td>
* <td></td>
* <td>1</td>
* </tr>
* <tr valign="top">
* <td>2</td>
* <td></td>
* <td>10</td>
* </tr>
* <tr valign="top">
* ... normal progression ...</td>
* </tr>
* <tr valign="top">
* <td>9223372036854775806</td>
* <td></td>
* <td>111111111111111111111111111111111111111111111111111111111111110</td>
* </tr>
* <tr valign="top">
* <td>9223372036854775807 (largest signed integer)</td>
* <td></td>
* <td>111111111111111111111111111111111111111111111111111111111111111 (63 1's)</td>
* </tr>
* <tr valign="top">
* <td></td>
* <td>-9223372036854775808</td>
* <td>1000000000000000000000000000000000000000000000000000000000000000</td>
* </tr>
* <tr valign="top">
* ... normal progression ...</td>
* </tr>
* <tr valign="top">
* <td></td>
* <td>-2</td>
* <td>1111111111111111111111111111111111111111111111111111111111111110</td>
* </tr>
* <tr valign="top">
* <td></td>
* <td>-1</td>
* <td>1111111111111111111111111111111111111111111111111111111111111111 (64 1's)</td>
* </tr>
*
*
* </table>
* @return string Binary string representation of number
*/
function decbin ($number) {}
/**
* Decimal to octal
* @link http://www.php.net/manual/en/function.decoct.php
* @param number int <p>
* Decimal value to convert
* </p>
* @return string Octal string representation of number
*/
function decoct ($number) {}
/**
* Decimal to hexadecimal
* @link http://www.php.net/manual/en/function.dechex.php
* @param number int <p>
* The decimal value to convert.
* </p>
* <p>
* As PHP's integer type is signed, but
* dechex deals with unsigned integers, negative
* integers will be treated as though they were unsigned.
* </p>
* @return string Hexadecimal string representation of number.
*/
function dechex ($number) {}
/**
* Convert a number between arbitrary bases
* @link http://www.php.net/manual/en/function.base-convert.php
* @param number string <p>
* The number to convert
* </p>
* @param frombase int <p>
* The base number is in
* </p>
* @param tobase int <p>
* The base to convert number to
* </p>
* @return string number converted to base tobase
*/
function base_convert ($number, $frombase, $tobase) {}
/**
* Format a number with grouped thousands
* @link http://www.php.net/manual/en/function.number-format.php
* @param number float <p>
* The number being formatted.
* </p>
* @param decimals int[optional] <p>
* Sets the number of decimal points.
* </p>
* @return string A formatted version of number.
*/
function number_format ($number, $decimals = null) {}
/**
* Returns the floating point remainder (modulo) of the division
of the arguments
* @link http://www.php.net/manual/en/function.fmod.php
* @param x float <p>
* The dividend
* </p>
* @param y float <p>
* The divisor
* </p>
* @return float The floating point remainder of
* x/y
*/
function fmod ($x, $y) {}
/**
* Converts a packed internet address to a human readable representation
* @link http://www.php.net/manual/en/function.inet-ntop.php
* @param in_addr string <p>
* A 32bit IPv4, or 128bit IPv6 address.
* </p>
* @return string a string representation of the address&return.falseforfailure;.
*/
function inet_ntop ($in_addr) {}
/**
* Converts a human readable IP address to its packed in_addr representation
* @link http://www.php.net/manual/en/function.inet-pton.php
* @param address string <p>
* A human readable IPv4 or IPv6 address.
* </p>
* @return string the in_addr representation of the given
* address, or false if a syntactically invalid
* address is given (for example, an IPv4 address
* without dots or an IPv6 address without colons).
*/
function inet_pton ($address) {}
/**
* Converts a string containing an (IPv4) Internet Protocol dotted address into a proper address
* @link http://www.php.net/manual/en/function.ip2long.php
* @param ip_address string <p>
* A standard format address.
* </p>
* @return int the IPv4 address or false if ip_address
* is invalid.
*/
function ip2long ($ip_address) {}
/**
* Converts an (IPv4) Internet network address into a string in Internet standard dotted format
* @link http://www.php.net/manual/en/function.long2ip.php
* @param proper_address string <p>
* A proper address representation.
* </p>
* @return string the Internet IP address as a string.
*/
function long2ip ($proper_address) {}
/**
* Gets the value of an environment variable
* @link http://www.php.net/manual/en/function.getenv.php
* @param varname string <p>
* The variable name.
* </p>
* @return string the value of the environment variable
* varname, or false if the environment
* variable varname does not exist.
*/
function getenv ($varname) {}
/**
* Sets the value of an environment variable
* @link http://www.php.net/manual/en/function.putenv.php
* @param setting string <p>
* The setting, like "FOO=BAR"
* </p>
* @return bool Returns true on success, false on failure.
*/
function putenv ($setting) {}
/**
* Gets options from the command line argument list
* @link http://www.php.net/manual/en/function.getopt.php
* @param options string Each character in this string will be used as option characters and
* matched against options passed to the script starting with a single
* hyphen (-).
*
*
* For example, an option string "x" recognizes an
* option -x.
*
*
* Only a-z, A-Z and 0-9 are allowed.
* @param longopts array[optional] An array of options. Each element in this array will be used as option
* strings and matched against options passed to the script starting with
* two hyphens (--).
*
*
* For example, an longopts element "opt" recognizes an
* option --opt.
* @return array This function will return an array of option / argument pairs or false on
* failure.
* </p>
*
* <p>
* The parsing of options will end at the first non-option found, anything
* that follows is discarded.
*/
function getopt ($options, array $longopts = null) {}
/**
* Gets system load average
* @link http://www.php.net/manual/en/function.sys-getloadavg.php
* @return array an array with three samples (last 1, 5 and 15
* minutes).
*/
function sys_getloadavg () {}
/**
* Return current Unix timestamp with microseconds
* @link http://www.php.net/manual/en/function.microtime.php
* @param get_as_float bool[optional] <p>
* If used and set to true, microtime will return a
* float instead of a string, as described in
* the return values section below.
* </p>
* @return mixed By default, microtime returns a string in
* the form "msec sec", where sec is the number of seconds
* since the Unix epoch (0:00:00 January 1,1970 GMT), and msec
* measures microseconds that have elapsed since sec
* and is also expressed in seconds.
* </p>
* <p>
* If get_as_float is set to true, then
* microtime returns a float, which
* represents the current time in seconds since the Unix epoch accurate to the
* nearest microsecond.
*/
function microtime ($get_as_float = null) {}
/**
* Get current time
* @link http://www.php.net/manual/en/function.gettimeofday.php
* @param return_float bool[optional] <p>
* When set to true, a float instead of an array is returned.
* </p>
* @return mixed By default an array is returned. If return_float
* is set, then a float is returned.
* </p>
* <p>
* Array keys:
*
*
*
* "sec" - seconds since the Unix Epoch
*
*
*
*
* "usec" - microseconds
*
*
*
*
* "minuteswest" - minutes west of Greenwich
*
*
*
*
* "dsttime" - type of dst correction
*/
function gettimeofday ($return_float = null) {}
/**
* Gets the current resource usages
* @link http://www.php.net/manual/en/function.getrusage.php
* @param who int[optional] <p>
* If who is 1, getrusage will be called with
* RUSAGE_CHILDREN.
* </p>
* @return array an associative array containing the data returned from the system
* call. All entries are accessible by using their documented field names.
*/
function getrusage ($who = null) {}
/**
* Generate a unique ID
* @link http://www.php.net/manual/en/function.uniqid.php
* @param prefix string[optional] <p>
* Can be useful, for instance, if you generate identifiers
* simultaneously on several hosts that might happen to generate the
* identifier at the same microsecond.
* </p>
* <p>
* With an empty prefix, the returned string will
* be 13 characters long. If more_entropy is
* true, it will be 23 characters.
* </p>
* @param more_entropy bool[optional] <p>
* If set to true, uniqid will add additional
* entropy (using the combined linear congruential generator) at the end
* of the return value, which increases the likelihood that the result
* will be unique.
* </p>
* @return string the unique identifier, as a string.
*/
function uniqid ($prefix = null, $more_entropy = null) {}
/**
* Convert a quoted-printable string to an 8 bit string
* @link http://www.php.net/manual/en/function.quoted-printable-decode.php
* @param str string <p>
* The input string.
* </p>
* @return string the 8-bit binary string.
*/
function quoted_printable_decode ($str) {}
/**
* Convert a 8 bit string to a quoted-printable string
* @link http://www.php.net/manual/en/function.quoted-printable-encode.php
* @param str string <p>
* The input string.
* </p>
* @return string the encoded string.
*/
function quoted_printable_encode ($str) {}
/**
* Convert from one Cyrillic character set to another
* @link http://www.php.net/manual/en/function.convert-cyr-string.php
* @param str string <p>
* The string to be converted.
* </p>
* @param from string <p>
* The source Cyrillic character set, as a single character.
* </p>
* @param to string <p>
* The target Cyrillic character set, as a single character.
* </p>
* @return string the converted string.
*/
function convert_cyr_string ($str, $from, $to) {}
/**
* Gets the name of the owner of the current PHP script
* @link http://www.php.net/manual/en/function.get-current-user.php
* @return string the username as a string.
*/
function get_current_user () {}
/**
* Limits the maximum execution time
* @link http://www.php.net/manual/en/function.set-time-limit.php
* @param seconds int <p>
* The maximum execution time, in seconds. If set to zero, no time limit
* is imposed.
* </p>
* @return bool true on success, or false on failure.
*/
function set_time_limit ($seconds) {}
/**
* Call a header function
* @link http://www.php.net/manual/en/function.header-register-callback.php
* @param callback callable <p>
* Function called just before the headers are sent. It gets no parameters
* and the return value is ignored.
* </p>
* @return bool Returns true on success, false on failure.
*/
function header_register_callback ($callback) {}
/**
* Gets the value of a PHP configuration option
* @link http://www.php.net/manual/en/function.get-cfg-var.php
* @param option string <p>
* The configuration option name.
* </p>
* @return string the current value of the PHP configuration variable specified by
* option, or false if an error occurs.
*/
function get_cfg_var ($option) {}
/**
* &Alias; <function>set_magic_quotes_runtime</function>
* @link http://www.php.net/manual/en/function.magic-quotes-runtime.php
* @param new_setting
*/
function magic_quotes_runtime ($new_setting) {}
/**
* Sets the current active configuration setting of magic_quotes_runtime
* @link http://www.php.net/manual/en/function.set-magic-quotes-runtime.php
* @param new_setting bool <p>
* false for off, true for on.
* </p>
* @return bool Returns true on success, false on failure.
*/
function set_magic_quotes_runtime ($new_setting) {}
/**
* Gets the current configuration setting of magic_quotes_gpc
* @link http://www.php.net/manual/en/function.get-magic-quotes-gpc.php
* @return bool 0 if magic_quotes_gpc is off, 1 otherwise.
* Or always returns false as of PHP 5.4.0.
*/
function get_magic_quotes_gpc () {}
/**
* Gets the current active configuration setting of magic_quotes_runtime
* @link http://www.php.net/manual/en/function.get-magic-quotes-runtime.php
* @return bool 0 if magic_quotes_runtime is off, 1 otherwise.
* Or always returns false as of PHP 5.4.0.
*/
function get_magic_quotes_runtime () {}
/**
* Send an error message to the defined error handling routines
* @link http://www.php.net/manual/en/function.error-log.php
* @param message string <p>
* The error message that should be logged.
* </p>
* @param message_type int[optional] <p>
* Says where the error should go. The possible message types are as
* follows:
* </p>
* <p>
* <table>
* error_log log types
*
*
* <tr valign="top">
* <td>0</td>
* <td>
* message is sent to PHP's system logger, using
* the Operating System's system logging mechanism or a file, depending
* on what the error_log
* configuration directive is set to. This is the default option.
* </td>
* </tr>
* <tr valign="top">
* <td>1</td>
* <td>
* message is sent by email to the address in
* the destination parameter. This is the only
* message type where the fourth parameter,
* extra_headers is used.
* </td>
* </tr>
* <tr valign="top">
* <td>2</td>
* <td>
* No longer an option.
* </td>
* </tr>
* <tr valign="top">
* <td>3</td>
* <td>
* message is appended to the file
* destination. A newline is not automatically
* added to the end of the message string.
* </td>
* </tr>
* <tr valign="top">
* <td>4</td>
* <td>
* message is sent directly to the SAPI logging
* handler.
* </td>
* </tr>
*
*
* </table>
* </p>
* @param destination string[optional] <p>
* The destination. Its meaning depends on the
* message_type parameter as described above.
* </p>
* @param extra_headers string[optional] <p>
* The extra headers. It's used when the message_type
* parameter is set to 1.
* This message type uses the same internal function as
* mail does.
* </p>
* @return bool Returns true on success, false on failure.
*/
function error_log ($message, $message_type = null, $destination = null, $extra_headers = null) {}
/**
* Get the last occurred error
* @link http://www.php.net/manual/en/function.error-get-last.php
* @return array an associative array describing the last error with keys "type",
* "message", "file" and "line". If the error has been caused by a PHP
* internal function then the "message" begins with its name.
* Returns &null; if there hasn't been an error yet.
*/
function error_get_last () {}
/**
* Call the callback given by the first parameter
* @link http://www.php.net/manual/en/function.call-user-func.php
* @param callback callable <p>
* The callable to be called.
* </p>
* @param parameter mixed[optional] <p>
* Zero or more parameters to be passed to the callback.
* </p>
*
* <p>
* Note that the parameters for call_user_func are
* not passed by reference.
*
* call_user_func example and references
*
* ]]>
*
* &example.outputs;
*
*
*
* </p>
* @param _ mixed[optional]
* @return mixed the return value of the callback, or false on error.
*/
function call_user_func ($callback, $parameter = null, $_ = null) {}
/**
* Call a callback with an array of parameters
* @link http://www.php.net/manual/en/function.call-user-func-array.php
* @param callback callable <p>
* The callable to be called.
* </p>
* @param param_arr array <p>
* The parameters to be passed to the callback, as an indexed array.
* </p>
* @return mixed the return value of the callback, or false on error.
*/
function call_user_func_array ($callback, array $param_arr) {}
/**
* Call a user method on an specific object [deprecated]
* @link http://www.php.net/manual/en/function.call-user-method.php
* @param method_name string <p>
* The method name being called.
* </p>
* @param obj object <p>
* The object that method_name
* is being called on.
* </p>
* @param parameter mixed[optional]
* @param _ mixed[optional]
* @return mixed
*/
function call_user_method ($method_name, &$obj, $parameter = null, $_ = null) {}
/**
* Call a user method given with an array of parameters [deprecated]
* @link http://www.php.net/manual/en/function.call-user-method-array.php
* @param method_name string <p>
* The method name being called.
* </p>
* @param obj object <p>
* The object that method_name
* is being called on.
* </p>
* @param params array <p>
* An array of parameters.
* </p>
* @return mixed
*/
function call_user_method_array ($method_name, &$obj, array $params) {}
/**
* Call a static method
* @link http://www.php.net/manual/en/function.forward-static-call.php
* @param function callable <p>
* The function or method to be called. This parameter may be an array,
* with the name of the class, and the method, or a string, with a function
* name.
* </p>
* @param parameter mixed[optional] <p>
* Zero or more parameters to be passed to the function.
* </p>
* @param _ mixed[optional]
* @return mixed the function result, or false on error.
*/
function forward_static_call ($function, $parameter = null, $_ = null) {}
/**
* Call a static method and pass the arguments as array
* @link http://www.php.net/manual/en/function.forward-static-call-array.php
* @param function callable <p>
* The function or method to be called. This parameter may be an &array;,
* with the name of the class, and the method, or a &string;, with a function
* name.
* </p>
* @param parameters array
* @return mixed the function result, or false on error.
*/
function forward_static_call_array ($function, array $parameters) {}
/**
* Generates a storable representation of a value
* @link http://www.php.net/manual/en/function.serialize.php
* @param value mixed <p>
* The value to be serialized. serialize
* handles all types, except the resource-type.
* You can even serialize arrays that contain
* references to itself. Circular references inside the array/object you
* are serializing will also be stored. Any other
* reference will be lost.
* </p>
* <p>
* When serializing objects, PHP will attempt to call the member function
* __sleep() prior to serialization.
* This is to allow the object to do any last minute clean-up, etc. prior
* to being serialized. Likewise, when the object is restored using
* unserialize the __wakeup() member function is called.
* </p>
*
* <p>
* Object's private members have the class name prepended to the member
* name; protected members have a '*' prepended to the member name.
* These prepended values have null bytes on either side.
* </p>
* @return string a string containing a byte-stream representation of
* value that can be stored anywhere.
* </p>
* <p>
* Note that this is a binary string which may include null bytes, and needs
* to be stored and handled as such. For example,
* serialize output should generally be stored in a BLOB
* field in a database, rather than a CHAR or TEXT field.
*/
function serialize ($value) {}
/**
* Creates a PHP value from a stored representation
* @link http://www.php.net/manual/en/function.unserialize.php
* @param str string <p>
* The serialized string.
* </p>
* <p>
* If the variable being unserialized is an object, after successfully
* reconstructing the object PHP will automatically attempt to call the
* __wakeup() member
* function (if it exists).
* </p>
* <p>
*
* unserialize_callback_func directive
* <p>
* It's possible to set a callback-function which will be called,
* if an undefined class should be instantiated during unserializing.
* (to prevent getting an incomplete object "__PHP_Incomplete_Class".)
* Use your &php.ini;, ini_set or &htaccess;
* to define 'unserialize_callback_func'. Everytime an undefined class
* should be instantiated, it'll be called. To disable this feature just
* empty this setting.
* </p>
*
* </p>
* @return mixed The converted value is returned, and can be a boolean,
* integer, float, string,
* array or object.
* </p>
* <p>
* In case the passed string is not unserializeable, false is returned and
* E_NOTICE is issued.
*/
function unserialize ($str) {}
/**
* Dumps information about a variable
* @link http://www.php.net/manual/en/function.var-dump.php
* @param expression mixed <p>
* The variable you want to dump.
* </p>
* @param _ mixed[optional]
* @return void
*/
function var_dump ($expression, $_ = null) {}
/**
* Outputs or returns a parsable string representation of a variable
* @link http://www.php.net/manual/en/function.var-export.php
* @param expression mixed <p>
* The variable you want to export.
* </p>
* @param return bool[optional] <p>
* If used and set to true, var_export will return
* the variable representation instead of outputting it.
* </p>
* @return mixed the variable representation when the return
* parameter is used and evaluates to true. Otherwise, this function will
* return &null;.
*/
function var_export ($expression, $return = null) {}
/**
* Dumps a string representation of an internal zend value to output
* @link http://www.php.net/manual/en/function.debug-zval-dump.php
* @param variable mixed <p>
* The variable being evaluated.
* </p>
* @param _ mixed[optional]
* @return void
*/
function debug_zval_dump ($variable, $_ = null) {}
/**
* Prints human-readable information about a variable
* @link http://www.php.net/manual/en/function.print-r.php
* @param expression mixed <p>
* The expression to be printed.
* </p>
* @param return bool[optional] <p>
* If you would like to capture the output of print_r,
* use the return parameter. When this parameter is set
* to true, print_r will return the information rather than print it.
* </p>
* @return mixed If given a string, integer or float,
* the value itself will be printed. If given an array, values
* will be presented in a format that shows keys and elements. Similar
* notation is used for objects.
* </p>
* <p>
* When the return parameter is true, this function
* will return a string. Otherwise, the return value is true.
*/
function print_r ($expression, $return = null) {}
/**
* Returns the amount of memory allocated to PHP
* @link http://www.php.net/manual/en/function.memory-get-usage.php
* @param real_usage bool[optional] <p>
* Set this to true to get the real size of memory allocated from
* system. If not set or false only the memory used by
* emalloc() is reported.
* </p>
* @return int the memory amount in bytes.
*/
function memory_get_usage ($real_usage = null) {}
/**
* Returns the peak of memory allocated by PHP
* @link http://www.php.net/manual/en/function.memory-get-peak-usage.php
* @param real_usage bool[optional] <p>
* Set this to true to get the real size of memory allocated from
* system. If not set or false only the memory used by
* emalloc() is reported.
* </p>
* @return int the memory peak in bytes.
*/
function memory_get_peak_usage ($real_usage = null) {}
/**
* Register a function for execution on shutdown
* @link http://www.php.net/manual/en/function.register-shutdown-function.php
* @param callback callable <p>
* The shutdown callback to register.
* </p>
* <p>
* The shutdown callbacks are executed as the part of the request, so
* it's possible to send output from them and access output buffers.
* </p>
* @param parameter mixed[optional] <p>
* It is possible to pass parameters to the shutdown function by passing
* additional parameters.
* </p>
* @param _ mixed[optional]
* @return void
*/
function register_shutdown_function ($callback, $parameter = null, $_ = null) {}
/**
* Register a function for execution on each tick
* @link http://www.php.net/manual/en/function.register-tick-function.php
* @param function callable <p>
* The function name as a string, or an array consisting of an object and
* a method.
* </p>
* @param arg mixed[optional] <p>
* </p>
* @param _ mixed[optional]
* @return bool Returns true on success, false on failure.
*/
function register_tick_function ($function, $arg = null, $_ = null) {}
/**
* De-register a function for execution on each tick
* @link http://www.php.net/manual/en/function.unregister-tick-function.php
* @param function_name string <p>
* The function name, as a string.
* </p>
* @return void
*/
function unregister_tick_function ($function_name) {}
/**
* Syntax highlighting of a file
* @link http://www.php.net/manual/en/function.highlight-file.php
* @param filename string <p>
* Path to the PHP file to be highlighted.
* </p>
* @param return bool[optional] <p>
* Set this parameter to true to make this function return the
* highlighted code.
* </p>
* @return mixed If return is set to true, returns the highlighted
* code as a string instead of printing it out. Otherwise, it will return
* true on success, false on failure.
*/
function highlight_file ($filename, $return = null) {}
/**
* &Alias; <function>highlight_file</function>
* @link http://www.php.net/manual/en/function.show-source.php
* @param file_name
* @param return[optional]
*/
function show_source ($file_name, $return) {}
/**
* Syntax highlighting of a string
* @link http://www.php.net/manual/en/function.highlight-string.php
* @param str string <p>
* The PHP code to be highlighted. This should include the opening tag.
* </p>
* @param return bool[optional] <p>
* Set this parameter to true to make this function return the
* highlighted code.
* </p>
* @return mixed If return is set to true, returns the highlighted
* code as a string instead of printing it out. Otherwise, it will return
* true on success, false on failure.
*/
function highlight_string ($str, $return = null) {}
/**
* Return source with stripped comments and whitespace
* @link http://www.php.net/manual/en/function.php-strip-whitespace.php
* @param filename string <p>
* Path to the PHP file.
* </p>
* @return string The stripped source code will be returned on success, or an empty string
* on failure.
* </p>
*
* <p>
* This function works as described as of PHP 5.0.1. Before this it would
* only return an empty string. For more information on this bug and its
* prior behavior, see bug report
* #29606.
*/
function php_strip_whitespace ($filename) {}
/**
* Gets the value of a configuration option
* @link http://www.php.net/manual/en/function.ini-get.php
* @param varname string <p>
* The configuration option name.
* </p>
* @return string the value of the configuration option as a string on success, or an
* empty string for null values. Returns false if the
* configuration option doesn't exist.
*/
function ini_get ($varname) {}
/**
* Gets all configuration options
* @link http://www.php.net/manual/en/function.ini-get-all.php
* @param extension string[optional] <p>
* An optional extension name. If set, the function return only options
* specific for that extension.
* </p>
* @param details bool[optional] <p>
* Retrieve details settings or only the current value for each setting.
* Default is true (retrieve details).
* </p>
* @return array an associative array with directive name as the array key.
* </p>
* <p>
* When details is true (default) the array will
* contain global_value (set in
* &php.ini;), local_value (perhaps set with
* ini_set or &htaccess;), and
* access (the access level).
* </p>
* <p>
* When details is false the value will be the
* current value of the option.
* </p>
* <p>
* See the manual section
* for information on what access levels mean.
* </p>
*
* <p>
* It's possible for a directive to have multiple access levels, which is
* why access shows the appropriate bitmask values.
*/
function ini_get_all ($extension = null, $details = null) {}
/**
* Sets the value of a configuration option
* @link http://www.php.net/manual/en/function.ini-set.php
* @param varname string <p>
* </p>
* <p>
* Not all the available options can be changed using
* ini_set. There is a list of all available options
* in the appendix.
* </p>
* @param newvalue string <p>
* The new value for the option.
* </p>
* @return string the old value on success, false on failure.
*/
function ini_set ($varname, $newvalue) {}
/**
* &Alias; <function>ini_set</function>
* @link http://www.php.net/manual/en/function.ini-alter.php
* @param varname
* @param newvalue
*/
function ini_alter ($varname, $newvalue) {}
/**
* Restores the value of a configuration option
* @link http://www.php.net/manual/en/function.ini-restore.php
* @param varname string <p>
* The configuration option name.
* </p>
* @return void
*/
function ini_restore ($varname) {}
/**
* Gets the current include_path configuration option
* @link http://www.php.net/manual/en/function.get-include-path.php
* @return string the path, as a string.
*/
function get_include_path () {}
/**
* Sets the include_path configuration option
* @link http://www.php.net/manual/en/function.set-include-path.php
* @param new_include_path string <p>
* The new value for the include_path
* </p>
* @return string the old include_path on
* success&return.falseforfailure;.
*/
function set_include_path ($new_include_path) {}
/**
* Restores the value of the include_path configuration option
* @link http://www.php.net/manual/en/function.restore-include-path.php
* @return void
*/
function restore_include_path () {}
/**
* Send a cookie
* @link http://www.php.net/manual/en/function.setcookie.php
* @param name string <p>
* The name of the cookie.
* </p>
* @param value string[optional] <p>
* The value of the cookie. This value is stored on the clients computer;
* do not store sensitive information. Assuming the
* name is 'cookiename', this
* value is retrieved through $_COOKIE['cookiename']
* </p>
* @param expire int[optional] <p>
* The time the cookie expires. This is a Unix timestamp so is
* in number of seconds since the epoch. In other words, you'll
* most likely set this with the time function
* plus the number of seconds before you want it to expire. Or
* you might use mktime.
* time()+60*60*24*30 will set the cookie to
* expire in 30 days. If set to 0, or omitted, the cookie will expire at
* the end of the session (when the browser closes).
* </p>
* <p>
*
* <p>
* You may notice the expire parameter takes on a
* Unix timestamp, as opposed to the date format Wdy, DD-Mon-YYYY
* HH:MM:SS GMT, this is because PHP does this conversion
* internally.
* </p>
*
* </p>
* @param path string[optional] <p>
* The path on the server in which the cookie will be available on.
* If set to '/', the cookie will be available
* within the entire domain. If set to
* '/foo/', the cookie will only be available
* within the /foo/ directory and all
* sub-directories such as /foo/bar/ of
* domain. The default value is the
* current directory that the cookie is being set in.
* </p>
* @param domain string[optional] <p>
* The domain that the cookie is available to. Setting the domain to
* 'www.example.com' will make the cookie
* available in the www subdomain and higher subdomains.
* Cookies available to a lower domain, such as
* 'example.com' will be available to higher subdomains,
* such as 'www.example.com'.
*
* Older browsers still implementing the deprecated
* RFC 2109 may require a leading
* . to match all subdomains.
* </p>
* @param secure bool[optional] <p>
* Indicates that the cookie should only be transmitted over a
* secure HTTPS connection from the client. When set to true, the
* cookie will only be set if a secure connection exists.
* On the server-side, it's on the programmer to send this
* kind of cookie only on secure connection (e.g. with respect to
* $_SERVER["HTTPS"]).
* </p>
* @param httponly bool[optional] <p>
* When true the cookie will be made accessible only through the HTTP
* protocol. This means that the cookie won't be accessible by
* scripting languages, such as JavaScript. It has been suggested that
* this setting can effectively help to reduce identity theft through
* XSS attacks (although it is not supported by all browsers), but that
* claim is often disputed. Added in PHP 5.2.0.
* true or false
* </p>
* @return bool If output exists prior to calling this function,
* setcookie will fail and return false. If
* setcookie successfully runs, it will return true.
* This does not indicate whether the user accepted the cookie.
*/
function setcookie ($name, $value = null, $expire = null, $path = null, $domain = null, $secure = null, $httponly = null) {}
/**
* Send a cookie without urlencoding the cookie value
* @link http://www.php.net/manual/en/function.setrawcookie.php
* @param name string
* @param value string[optional]
* @param expire int[optional]
* @param path string[optional]
* @param domain string[optional]
* @param secure bool[optional]
* @param httponly bool[optional]
* @return bool Returns true on success, false on failure.
*/
function setrawcookie ($name, $value = null, $expire = null, $path = null, $domain = null, $secure = null, $httponly = null) {}
/**
* Send a raw HTTP header
* @link http://www.php.net/manual/en/function.header.php
* @param string string <p>
* The header string.
* </p>
* <p>
* There are two special-case header calls. The first is a header
* that starts with the string "HTTP/" (case is not
* significant), which will be used to figure out the HTTP status
* code to send. For example, if you have configured Apache to
* use a PHP script to handle requests for missing files (using
* the ErrorDocument directive), you may want to
* make sure that your script generates the proper status code.
* </p>
* <p>
*
*
* ]]>
*
*
* </p>
* <p>
* The second special case is the "Location:" header. Not only does
* it send this header back to the browser, but it also returns a
* REDIRECT (302) status code to the browser
* unless the 201 or
* a 3xx status code has already been set.
* </p>
* <p>
*
*
* ]]>
*
*
* </p>
* @param replace bool[optional] <p>
* The optional replace parameter indicates
* whether the header should replace a previous similar header, or
* add a second header of the same type. By default it will replace,
* but if you pass in false as the second argument you can force
* multiple headers of the same type. For example:
* </p>
* <p>
*
*
* ]]>
*
*
* </p>
* @param http_response_code int[optional] <p>
* Forces the HTTP response code to the specified value. Note that this
* parameter only has an effect if the string is
* not empty.
* </p>
* @return void
*/
function header ($string, $replace = null, $http_response_code = null) {}
/**
* Remove previously set headers
* @link http://www.php.net/manual/en/function.header-remove.php
* @param name string[optional] <p>
* The header name to be removed.
* </p>
*
*
* This parameter is case-insensitive.
* @return void
*/
function header_remove ($name = null) {}
/**
* Checks if or where headers have been sent
* @link http://www.php.net/manual/en/function.headers-sent.php
* @param file string[optional] <p>
* If the optional file and
* line parameters are set,
* headers_sent will put the PHP source file name
* and line number where output started in the file
* and line variables.
* </p>
* @param line int[optional] <p>
* The line number where the output started.
* </p>
* @return bool headers_sent will return false if no HTTP headers
* have already been sent or true otherwise.
*/
function headers_sent (&$file = null, &$line = null) {}
/**
* Returns a list of response headers sent (or ready to send)
* @link http://www.php.net/manual/en/function.headers-list.php
* @return array a numerically indexed array of headers.
*/
function headers_list () {}
/**
* Get or Set the HTTP response code
* @link http://www.php.net/manual/en/function.http-response-code.php
* @param response_code int[optional] <p>
* The optional response_code will set the response code.
* </p>
* <p>
*
*
* ]]>
*
*
* </p>
* @return int The current response code. By default the return value is int(200).
*/
function http_response_code ($response_code = null) {}
/**
* Check whether client disconnected
* @link http://www.php.net/manual/en/function.connection-aborted.php
* @return int 1 if client disconnected, 0 otherwise.
*/
function connection_aborted () {}
/**
* Returns connection status bitfield
* @link http://www.php.net/manual/en/function.connection-status.php
* @return int the connection status bitfield, which can be used against the
* CONNECTION_XXX constants to determine the connection
* status.
*/
function connection_status () {}
/**
* Set whether a client disconnect should abort script execution
* @link http://www.php.net/manual/en/function.ignore-user-abort.php
* @param value string[optional] <p>
* If set, this function will set the ignore_user_abort ini setting
* to the given value. If not, this function will
* only return the previous setting without changing it.
* </p>
* @return int the previous setting, as an integer.
*/
function ignore_user_abort ($value = null) {}
/**
* Parse a configuration file
* @link http://www.php.net/manual/en/function.parse-ini-file.php
* @param filename string <p>
* The filename of the ini file being parsed.
* </p>
* @param process_sections bool[optional] <p>
* By setting the process_sections
* parameter to true, you get a multidimensional array, with
* the section names and settings included. The default
* for process_sections is false
* </p>
* @param scanner_mode int[optional] <p>
* Can either be INI_SCANNER_NORMAL (default) or
* INI_SCANNER_RAW. If INI_SCANNER_RAW
* is supplied, then option values will not be parsed.
* </p>
* @return array The settings are returned as an associative array on success,
* and false on failure.
*/
function parse_ini_file ($filename, $process_sections = null, $scanner_mode = null) {}
/**
* Parse a configuration string
* @link http://www.php.net/manual/en/function.parse-ini-string.php
* @param ini string <p>
* The contents of the ini file being parsed.
* </p>
* @param process_sections bool[optional] <p>
* By setting the process_sections
* parameter to true, you get a multidimensional array, with
* the section names and settings included. The default
* for process_sections is false
* </p>
* @param scanner_mode int[optional] <p>
* Can either be INI_SCANNER_NORMAL (default) or
* INI_SCANNER_RAW. If INI_SCANNER_RAW
* is supplied, then option values will not be parsed.
* </p>
* @return array The settings are returned as an associative array on success,
* and false on failure.
*/
function parse_ini_string ($ini, $process_sections = null, $scanner_mode = null) {}
/**
* Tells whether the file was uploaded via HTTP POST
* @link http://www.php.net/manual/en/function.is-uploaded-file.php
* @param filename string <p>
* The filename being checked.
* </p>
* @return bool Returns true on success, false on failure.
*/
function is_uploaded_file ($filename) {}
/**
* Moves an uploaded file to a new location
* @link http://www.php.net/manual/en/function.move-uploaded-file.php
* @param filename string <p>
* The filename of the uploaded file.
* </p>
* @param destination string <p>
* The destination of the moved file.
* </p>
* @return bool true on success.
* </p>
* <p>
* If filename is not a valid upload file,
* then no action will occur, and
* move_uploaded_file will return
* false.
* </p>
* <p>
* If filename is a valid upload file, but
* cannot be moved for some reason, no action will occur, and
* move_uploaded_file will return
* false. Additionally, a warning will be issued.
*/
function move_uploaded_file ($filename, $destination) {}
/**
* Get the Internet host name corresponding to a given IP address
* @link http://www.php.net/manual/en/function.gethostbyaddr.php
* @param ip_address string <p>
* The host IP address.
* </p>
* @return string the host name on success, the unmodified ip_address
* on failure, or false on malformed input.
*/
function gethostbyaddr ($ip_address) {}
/**
* Get the IPv4 address corresponding to a given Internet host name
* @link http://www.php.net/manual/en/function.gethostbyname.php
* @param hostname string <p>
* The host name.
* </p>
* @return string the IPv4 address or a string containing the unmodified
* hostname on failure.
*/
function gethostbyname ($hostname) {}
/**
* Get a list of IPv4 addresses corresponding to a given Internet host
name
* @link http://www.php.net/manual/en/function.gethostbynamel.php
* @param hostname string <p>
* The host name.
* </p>
* @return array an array of IPv4 addresses or false if
* hostname could not be resolved.
*/
function gethostbynamel ($hostname) {}
/**
* Gets the host name
* @link http://www.php.net/manual/en/function.gethostname.php
* @return string a string with the hostname on success, otherwise false is
* returned.
*/
function gethostname () {}
/**
* &Alias; <function>checkdnsrr</function>
* @link http://www.php.net/manual/en/function.dns-check-record.php
* @param host
* @param type[optional]
*/
function dns_check_record ($host, $type) {}
/**
* Check DNS records corresponding to a given Internet host name or IP address
* @link http://www.php.net/manual/en/function.checkdnsrr.php
* @param host string <p>
* host may either be the IP address in
* dotted-quad notation or the host name.
* </p>
* @param type string[optional] <p>
* type may be any one of: A, MX, NS, SOA,
* PTR, CNAME, AAAA, A6, SRV, NAPTR, TXT or ANY.
* </p>
* @return bool true if any records are found; returns false if no records
* were found or if an error occurred.
*/
function checkdnsrr ($host, $type = null) {}
/**
* &Alias; <function>getmxrr</function>
* @link http://www.php.net/manual/en/function.dns-get-mx.php
* @param hostname
* @param mxhosts
* @param weight[optional]
*/
function dns_get_mx ($hostname, &$mxhosts, &$weight) {}
/**
* Get MX records corresponding to a given Internet host name
* @link http://www.php.net/manual/en/function.getmxrr.php
* @param hostname string <p>
* The Internet host name.
* </p>
* @param mxhosts array <p>
* A list of the MX records found is placed into the array
* mxhosts.
* </p>
* @param weight array[optional] <p>
* If the weight array is given, it will be filled
* with the weight information gathered.
* </p>
* @return bool true if any records are found; returns false if no records
* were found or if an error occurred.
*/
function getmxrr ($hostname, array &$mxhosts, array &$weight = null) {}
/**
* Fetch DNS Resource Records associated with a hostname
* @link http://www.php.net/manual/en/function.dns-get-record.php
* @param hostname string <p>
* hostname should be a valid DNS hostname such
* as "www.example.com". Reverse lookups can be generated
* using in-addr.arpa notation, but
* gethostbyaddr is more suitable for
* the majority of reverse lookups.
* </p>
*
* <p>
* Per DNS standards, email addresses are given in user.host format (for
* example: hostmaster.example.com as opposed to hostmaster@example.com),
* be sure to check this value and modify if necessary before using it
* with a functions such as mail.
* </p>
* @param type int[optional] <p>
* By default, dns_get_record will search for any
* resource records associated with hostname.
* To limit the query, specify the optional type
* parameter. May be any one of the following:
* DNS_A, DNS_CNAME,
* DNS_HINFO, DNS_MX,
* DNS_NS, DNS_PTR,
* DNS_SOA, DNS_TXT,
* DNS_AAAA, DNS_SRV,
* DNS_NAPTR, DNS_A6,
* DNS_ALL or DNS_ANY.
* </p>
*
* <p>
* Because of eccentricities in the performance of libresolv
* between platforms, DNS_ANY will not
* always return every record, the slower DNS_ALL
* will collect all records more reliably.
* </p>
* @param authns array[optional] <p>
* Passed by reference and, if given, will be populated with Resource
* Records for the Authoritative Name Servers.
* </p>
* @param addtl array[optional] <p>
* Passed by reference and, if given, will be populated with any
* Additional Records.
* </p>
* @param raw bool[optional] <p>
* In case of raw mode, we query only the requestd type instead of looping
* type by type before going with the additional info stuff.
* </p>
* @return array This function returns an array of associative arrays,
* &return.falseforfailure;. Each associative array contains
* at minimum the following keys:
* <table>
* Basic DNS attributes
*
*
* <tr valign="top">
* <td>Attribute</td>
* <td>Meaning</td>
* </tr>
*
*
* <tr valign="top">
* <td>host</td>
* <td>
* The record in the DNS namespace to which the rest of the associated data refers.
* </td>
* </tr>
* <tr valign="top">
* <td>class</td>
* <td>
* dns_get_record only returns Internet class records and as
* such this parameter will always return IN.
* </td>
* </tr>
* <tr valign="top">
* <td>type</td>
* <td>
* String containing the record type. Additional attributes will also be contained
* in the resulting array dependant on the value of type. See table below.
* </td>
* </tr>
* <tr valign="top">
* <td>ttl</td>
* <td>
* "Time To Live" remaining for this record. This will not equal
* the record's original ttl, but will rather equal the original ttl minus whatever
* length of time has passed since the authoritative name server was queried.
* </td>
* </tr>
*
*
* </table>
* </p>
* <p>
* <table>
* Other keys in associative arrays dependant on 'type'
*
*
* <tr valign="top">
* <td>Type</td>
* <td>Extra Columns</td>
* </tr>
*
*
* <tr valign="top">
* <td>A</td>
* <td>
* ip: An IPv4 addresses in dotted decimal notation.
* </td>
* </tr>
* <tr valign="top">
* <td>MX</td>
* <td>
* pri: Priority of mail exchanger.
* Lower numbers indicate greater priority.
* target: FQDN of the mail exchanger.
* See also dns_get_mx.
* </td>
* </tr>
* <tr valign="top">
* <td>CNAME</td>
* <td>
* target: FQDN of location in DNS namespace to which
* the record is aliased.
* </td>
* </tr>
* <tr valign="top">
* <td>NS</td>
* <td>
* target: FQDN of the name server which is authoritative
* for this hostname.
* </td>
* </tr>
* <tr valign="top">
* <td>PTR</td>
* <td>
* target: Location within the DNS namespace to which
* this record points.
* </td>
* </tr>
* <tr valign="top">
* <td>TXT</td>
* <td>
* txt: Arbitrary string data associated with this record.
* </td>
* </tr>
* <tr valign="top">
* <td>HINFO</td>
* <td>
* cpu: IANA number designating the CPU of the machine
* referenced by this record.
* os: IANA number designating the Operating System on
* the machine referenced by this record.
* See IANA's Operating System
* Names for the meaning of these values.
* </td>
* </tr>
* <tr valign="top">
* <td>SOA</td>
* <td>
* mname: FQDN of the machine from which the resource
* records originated.
* rname: Email address of the administrative contain
* for this domain.
* serial: Serial # of this revision of the requested
* domain.
* refresh: Refresh interval (seconds) secondary name
* servers should use when updating remote copies of this domain.
* retry: Length of time (seconds) to wait after a
* failed refresh before making a second attempt.
* expire: Maximum length of time (seconds) a secondary
* DNS server should retain remote copies of the zone data without a
* successful refresh before discarding.
* minimum-ttl: Minimum length of time (seconds) a
* client can continue to use a DNS resolution before it should request
* a new resolution from the server. Can be overridden by individual
* resource records.
* </td>
* </tr>
* <tr valign="top">
* <td>AAAA</td>
* <td>
* ipv6: IPv6 address
* </td>
* </tr>
* <tr valign="top">
* <td>A6(PHP >= 5.1.0)</td>
* <td>
* masklen: Length (in bits) to inherit from the target
* specified by chain.
* ipv6: Address for this specific record to merge with
* chain.
* chain: Parent record to merge with
* ipv6 data.
* </td>
* </tr>
* <tr valign="top">
* <td>SRV</td>
* <td>
* pri: (Priority) lowest priorities should be used first.
* weight: Ranking to weight which of commonly prioritized
* targets should be chosen at random.
* target and port: hostname and port
* where the requested service can be found.
* For additional information see: RFC 2782
* </td>
* </tr>
* <tr valign="top">
* <td>NAPTR</td>
* <td>
* order and pref: Equivalent to
* pri and weight above.
* flags, services, regex,
* and replacement: Parameters as defined by
* RFC 2915.
* </td>
* </tr>
*
*
* </table>
*/
function dns_get_record ($hostname, $type = null, array &$authns = null, array &$addtl = null, &$raw = null) {}
/**
* Get the integer value of a variable
* @link http://www.php.net/manual/en/function.intval.php
* @param var mixed <p>
* The scalar value being converted to an integer
* </p>
* @param base int[optional] <p>
* The base for the conversion
* </p>
*
* <p>
* If base is 0, the base used is determined
* by the format of var:
*
*
*
* if string includes a "0x" (or "0X") prefix, the base is taken
* as 16 (hex); otherwise,
* @return int The integer value of var on success, or 0 on
* failure. Empty arrays return 0, non-empty arrays return 1.
* </p>
* <p>
* The maximum value depends on the system. 32 bit systems have a
* maximum signed integer range of -2147483648 to 2147483647. So for example
* on such a system, intval('1000000000000') will return
* 2147483647. The maximum signed integer value for 64 bit systems is
* 9223372036854775807.
* </p>
* <p>
* Strings will most likely return 0 although this depends on the
* leftmost characters of the string. The common rules of
* integer casting
* apply.
*/
function intval ($var, $base = null) {}
/**
* Get float value of a variable
* @link http://www.php.net/manual/en/function.floatval.php
* @param var mixed <p>
* May be any scalar type. floatval should not be used
* on objects, as doing so will emit an E_NOTICE level
* error and return 1.
* </p>
* @return float The float value of the given variable. Empty arrays return 0, non-empty
* arrays return 1.
* </p>
* <p>
* Strings will most likely return 0 although this depends on the
* leftmost characters of the string. The common rules of
* float casting
* apply.
*/
function floatval ($var) {}
/**
* &Alias; <function>floatval</function>
* @link http://www.php.net/manual/en/function.doubleval.php
* @param var
*/
function doubleval ($var) {}
/**
* Get string value of a variable
* @link http://www.php.net/manual/en/function.strval.php
* @param var mixed <p>
* The variable that is being converted to a string.
* </p>
* <p>
* var may be any scalar type or an object that
* implements the __toString()
* method. You cannot use strval on arrays or on
* objects that do not implement the
* __toString() method.
* </p>
* @return string The string value of var.
*/
function strval ($var) {}
/**
* Get the boolean value of a variable
* @link http://www.php.net/manual/en/function.boolval.php
* @param var mixed <p>
* The scalar value being converted to a boolean.
* </p>
* @return boolean The boolean value of var.
*/
function boolval ($var) {}
/**
* Get the type of a variable
* @link http://www.php.net/manual/en/function.gettype.php
* @param var mixed <p>
* The variable being type checked.
* </p>
* @return string Possible values for the returned string are:
*
*
*
* "boolean"
*
*
*
*
* "integer"
*
*
*
*
* "double" (for historical reasons "double" is
* returned in case of a float, and not simply
* "float")
*
*
*
*
* "string"
*
*
*
*
* "array"
*
*
*
*
* "object"
*
*
*
*
* "resource"
*
*
*
*
* "NULL"
*
*
*
*
* "unknown type"
*/
function gettype ($var) {}
/**
* Set the type of a variable
* @link http://www.php.net/manual/en/function.settype.php
* @param var mixed <p>
* The variable being converted.
* </p>
* @param type string <p>
* Possibles values of type are:
*
*
*
* "boolean" (or, since PHP 4.2.0, "bool")
* @return bool Returns true on success, false on failure.
*/
function settype (&$var, $type) {}
/**
* Finds whether a variable is &null;
* @link http://www.php.net/manual/en/function.is-null.php
* @param var mixed <p>
* The variable being evaluated.
* </p>
* @return bool true if var is null, false
* otherwise.
*/
function is_null ($var) {}
/**
* Finds whether a variable is a resource
* @link http://www.php.net/manual/en/function.is-resource.php
* @param var mixed <p>
* The variable being evaluated.
* </p>
* @return bool true if var is a resource,
* false otherwise.
*/
function is_resource ($var) {}
/**
* Finds out whether a variable is a boolean
* @link http://www.php.net/manual/en/function.is-bool.php
* @param var mixed <p>
* The variable being evaluated.
* </p>
* @return bool true if var is a boolean,
* false otherwise.
*/
function is_bool ($var) {}
/**
* &Alias; <function>is_int</function>
* @link http://www.php.net/manual/en/function.is-long.php
* @param var
*/
function is_long ($var) {}
/**
* Finds whether the type of a variable is float
* @link http://www.php.net/manual/en/function.is-float.php
* @param var mixed <p>
* The variable being evaluated.
* </p>
* @return bool true if var is a float,
* false otherwise.
*/
function is_float ($var) {}
/**
* Find whether the type of a variable is integer
* @link http://www.php.net/manual/en/function.is-int.php
* @param var mixed <p>
* The variable being evaluated.
* </p>
* @return bool true if var is an integer,
* false otherwise.
*/
function is_int ($var) {}
/**
* &Alias; <function>is_int</function>
* @link http://www.php.net/manual/en/function.is-integer.php
* @param var
*/
function is_integer ($var) {}
/**
* &Alias; <function>is_float</function>
* @link http://www.php.net/manual/en/function.is-double.php
* @param var
*/
function is_double ($var) {}
/**
* &Alias; <function>is_float</function>
* @link http://www.php.net/manual/en/function.is-real.php
* @param var
*/
function is_real ($var) {}
/**
* Finds whether a variable is a number or a numeric string
* @link http://www.php.net/manual/en/function.is-numeric.php
* @param var mixed <p>
* The variable being evaluated.
* </p>
* @return bool true if var is a number or a numeric
* string, false otherwise.
*/
function is_numeric ($var) {}
/**
* Find whether the type of a variable is string
* @link http://www.php.net/manual/en/function.is-string.php
* @param var mixed <p>
* The variable being evaluated.
* </p>
* @return bool true if var is of type string,
* false otherwise.
*/
function is_string ($var) {}
/**
* Finds whether a variable is an array
* @link http://www.php.net/manual/en/function.is-array.php
* @param var mixed <p>
* The variable being evaluated.
* </p>
* @return bool true if var is an array,
* false otherwise.
*/
function is_array ($var) {}
/**
* Finds whether a variable is an object
* @link http://www.php.net/manual/en/function.is-object.php
* @param var mixed <p>
* The variable being evaluated.
* </p>
* @return bool true if var is an object,
* false otherwise.
*/
function is_object ($var) {}
/**
* Finds whether a variable is a scalar
* @link http://www.php.net/manual/en/function.is-scalar.php
* @param var mixed <p>
* The variable being evaluated.
* </p>
* @return bool true if var is a scalar false
* otherwise.
*/
function is_scalar ($var) {}
/**
* Verify that the contents of a variable can be called as a function
* @link http://www.php.net/manual/en/function.is-callable.php
* @param name callable <p>
* The callback function to check
* </p>
* @param syntax_only bool[optional] <p>
* If set to true the function only verifies that
* name might be a function or method. It will only
* reject simple variables that are not strings, or an array that does
* not have a valid structure to be used as a callback. The valid ones
* are supposed to have only 2 entries, the first of which is an object
* or a string, and the second a string.
* </p>
* @param callable_name string[optional] <p>
* Receives the "callable name". In the example below it is
* "someClass::someMethod". Note, however, that despite the implication
* that someClass::SomeMethod() is a callable static method, this is not
* the case.
* </p>
* @return bool true if name is callable, false
* otherwise.
*/
function is_callable ($name, $syntax_only = null, &$callable_name = null) {}
/**
* Closes process file pointer
* @link http://www.php.net/manual/en/function.pclose.php
* @param handle resource <p>
* The file pointer must be valid, and must have been returned by a
* successful call to popen.
* </p>
* @return int the termination status of the process that was run. In case of
* an error then -1 is returned.
*/
function pclose ($handle) {}
/**
* Opens process file pointer
* @link http://www.php.net/manual/en/function.popen.php
* @param command string <p>
* The command
* </p>
* @param mode string <p>
* The mode
* </p>
* @return resource a file pointer identical to that returned by
* fopen, except that it is unidirectional (may
* only be used for reading or writing) and must be closed with
* pclose. This pointer may be used with
* fgets, fgetss, and
* fwrite. When the mode is 'r', the returned
* file pointer equals to the STDOUT of the command, when the mode
* is 'w', the returned file pointer equals to the STDIN of the
* command.
* </p>
* <p>
* If an error occurs, returns false.
*/
function popen ($command, $mode) {}
/**
* Outputs a file
* @link http://www.php.net/manual/en/function.readfile.php
* @param filename string <p>
* The filename being read.
* </p>
* @param use_include_path bool[optional] <p>
* You can use the optional second parameter and set it to true, if
* you want to search for the file in the include_path, too.
* </p>
* @param context resource[optional] <p>
* A context stream resource.
* </p>
* @return int the number of bytes read from the file. If an error
* occurs, false is returned and unless the function was called as
* @readfile, an error message is printed.
*/
function readfile ($filename, $use_include_path = null, $context = null) {}
/**
* Rewind the position of a file pointer
* @link http://www.php.net/manual/en/function.rewind.php
* @param handle resource <p>
* The file pointer must be valid, and must point to a file
* successfully opened by fopen.
* </p>
* @return bool Returns true on success, false on failure.
*/
function rewind ($handle) {}
/**
* Removes directory
* @link http://www.php.net/manual/en/function.rmdir.php
* @param dirname string <p>
* Path to the directory.
* </p>
* @param context resource[optional] ¬e.context-support;
* @return bool Returns true on success, false on failure.
*/
function rmdir ($dirname, $context = null) {}
/**
* Changes the current umask
* @link http://www.php.net/manual/en/function.umask.php
* @param mask int[optional] <p>
* The new umask.
* </p>
* @return int umask without arguments simply returns the
* current umask otherwise the old umask is returned.
*/
function umask ($mask = null) {}
/**
* Closes an open file pointer
* @link http://www.php.net/manual/en/function.fclose.php
* @param handle resource <p>
* The file pointer must be valid, and must point to a file successfully
* opened by fopen or fsockopen.
* </p>
* @return bool Returns true on success, false on failure.
*/
function fclose ($handle) {}
/**
* Tests for end-of-file on a file pointer
* @link http://www.php.net/manual/en/function.feof.php
* @param handle resource &fs.validfp.all;
* @return bool true if the file pointer is at EOF or an error occurs
* (including socket timeout); otherwise returns false.
*/
function feof ($handle) {}
/**
* Gets character from file pointer
* @link http://www.php.net/manual/en/function.fgetc.php
* @param handle resource &fs.validfp.all;
* @return string a string containing a single character read from the file pointed
* to by handle. Returns false on EOF.
*/
function fgetc ($handle) {}
/**
* Gets line from file pointer
* @link http://www.php.net/manual/en/function.fgets.php
* @param handle resource &fs.validfp.all;
* @param length int[optional] <p>
* Reading ends when length - 1 bytes have been
* read, or a newline (which is included in the return value), or an EOF
* (whichever comes first). If no length is specified, it will keep
* reading from the stream until it reaches the end of the line.
* </p>
*
* <p>
* Until PHP 4.3.0, omitting it would assume 1024 as the line length.
* If the majority of the lines in the file are all larger than 8KB,
* it is more resource efficient for your script to specify the maximum
* line length.
* </p>
* @return string a string of up to length - 1 bytes read from
* the file pointed to by handle. If there is no more data
* to read in the file pointer, then false is returned.
* </p>
* <p>
* If an error occurs, false is returned.
*/
function fgets ($handle, $length = null) {}
/**
* Gets line from file pointer and strip HTML tags
* @link http://www.php.net/manual/en/function.fgetss.php
* @param handle resource &fs.validfp.all;
* @param length int[optional] <p>
* Length of the data to be retrieved.
* </p>
* @param allowable_tags string[optional] <p>
* You can use the optional third parameter to specify tags which should
* not be stripped.
* </p>
* @return string a string of up to length - 1 bytes read from
* the file pointed to by handle, with all HTML and PHP
* code stripped.
* </p>
* <p>
* If an error occurs, returns false.
*/
function fgetss ($handle, $length = null, $allowable_tags = null) {}
/**
* Binary-safe file read
* @link http://www.php.net/manual/en/function.fread.php
* @param handle resource &fs.file.pointer;
* @param length int <p>
* Up to length number of bytes read.
* </p>
* @return string the read string &return.falseforfailure;.
*/
function fread ($handle, $length) {}
/**
* Opens file or URL
* @link http://www.php.net/manual/en/function.fopen.php
* @param filename string <p>
* If filename is of the form "scheme://...", it
* is assumed to be a URL and PHP will search for a protocol handler
* (also known as a wrapper) for that scheme. If no wrappers for that
* protocol are registered, PHP will emit a notice to help you track
* potential problems in your script and then continue as though
* filename specifies a regular file.
* </p>
* <p>
* If PHP has decided that filename specifies
* a local file, then it will try to open a stream on that file.
* The file must be accessible to PHP, so you need to ensure that
* the file access permissions allow this access.
* If you have enabled &safemode;,
* or open_basedir further
* restrictions may apply.
* </p>
* <p>
* If PHP has decided that filename specifies
* a registered protocol, and that protocol is registered as a
* network URL, PHP will check to make sure that
* allow_url_fopen is
* enabled. If it is switched off, PHP will emit a warning and
* the fopen call will fail.
* </p>
*
* <p>
* The list of supported protocols can be found in . Some protocols (also referred to as
* wrappers) support context
* and/or &php.ini; options. Refer to the specific page for the
* protocol in use for a list of options which can be set. (e.g.
* &php.ini; value user_agent used by the
* http wrapper).
* </p>
*
* <p>
* On the Windows platform, be careful to escape any backslashes
* used in the path to the file, or use forward slashes.
*
*
* ]]>
*
*
* </p>
* @param mode string <p>
* The mode parameter specifies the type of access
* you require to the stream. It may be any of the following:
* <table>
*
* A list of possible modes for fopen
* using mode
*
*
*
* <tr valign="top">
* <td>mode</td>
* <td>Description</td>
* </tr>
*
*
* <tr valign="top">
* <td>'r'</td>
* <td>
* Open for reading only; place the file pointer at the
* beginning of the file.
* </td>
* </tr>
* <tr valign="top">
* <td>'r+'</td>
* <td>
* Open for reading and writing; place the file pointer at
* the beginning of the file.
* </td>
* </tr>
* <tr valign="top">
* <td>'w'</td>
* <td>
* Open for writing only; place the file pointer at the
* beginning of the file and truncate the file to zero length.
* If the file does not exist, attempt to create it.
* </td>
* </tr>
* <tr valign="top">
* <td>'w+'</td>
* <td>
* Open for reading and writing; place the file pointer at
* the beginning of the file and truncate the file to zero
* length. If the file does not exist, attempt to create it.
* </td>
* </tr>
* <tr valign="top">
* <td>'a'</td>
* <td>
* Open for writing only; place the file pointer at the end of
* the file. If the file does not exist, attempt to create it.
* </td>
* </tr>
* <tr valign="top">
* <td>'a+'</td>
* <td>
* Open for reading and writing; place the file pointer at
* the end of the file. If the file does not exist, attempt to
* create it.
* </td>
* </tr>
* <tr valign="top">
* <td>'x'</td>
* <td>
* Create and open for writing only; place the file pointer at the
* beginning of the file. If the file already exists, the
* fopen call will fail by returning false and
* generating an error of level E_WARNING. If
* the file does not exist, attempt to create it. This is equivalent
* to specifying O_EXCL|O_CREAT flags for the
* underlying open(2) system call.
* </td>
* </tr>
* <tr valign="top">
* <td>'x+'</td>
* <td>
* Create and open for reading and writing; otherwise it has the
* same behavior as 'x'.
* </td>
* </tr>
* <tr valign="top">
* <td>'c'</td>
* <td>
* Open the file for writing only. If the file does not exist, it is
* created. If it exists, it is neither truncated (as opposed to
* 'w'), nor the call to this function fails (as is
* the case with 'x'). The file pointer is
* positioned on the beginning of the file. This may be useful if it's
* desired to get an advisory lock (see flock)
* before attempting to modify the file, as using
* 'w' could truncate the file before the lock
* was obtained (if truncation is desired,
* ftruncate can be used after the lock is
* requested).
* </td>
* </tr>
* <tr valign="top">
* <td>'c+'</td>
* <td>
* Open the file for reading and writing; otherwise it has the same
* behavior as 'c'.
* </td>
* </tr>
*
*
* </table>
* </p>
*
* <p>
* Different operating system families have different line-ending
* conventions. When you write a text file and want to insert a line
* break, you need to use the correct line-ending character(s) for your
* operating system. Unix based systems use \n as the
* line ending character, Windows based systems use \r\n
* as the line ending characters and Macintosh based systems use
* \r as the line ending character.
* </p>
* <p>
* If you use the wrong line ending characters when writing your files, you
* might find that other applications that open those files will "look
* funny".
* </p>
* <p>
* Windows offers a text-mode translation flag ('t')
* which will transparently translate \n to
* \r\n when working with the file. In contrast, you
* can also use 'b' to force binary mode, which will not
* translate your data. To use these flags, specify either
* 'b' or 't' as the last character
* of the mode parameter.
* </p>
* <p>
* The default translation mode depends on the SAPI and version of PHP that
* you are using, so you are encouraged to always specify the appropriate
* flag for portability reasons. You should use the 't'
* mode if you are working with plain-text files and you use
* \n to delimit your line endings in your script, but
* expect your files to be readable with applications such as notepad. You
* should use the 'b' in all other cases.
* </p>
* <p>
* If you do not specify the 'b' flag when working with binary files, you
* may experience strange problems with your data, including broken image
* files and strange problems with \r\n characters.
* </p>
*
*
* <p>
* For portability, it is strongly recommended that you always
* use the 'b' flag when opening files with fopen.
* </p>
*
*
* <p>
* Again, for portability, it is also strongly recommended that
* you re-write code that uses or relies upon the 't'
* mode so that it uses the correct line endings and
* 'b' mode instead.
* </p>
* @param use_include_path bool[optional] <p>
* The optional third use_include_path parameter
* can be set to '1' or true if you want to search for the file in the
* include_path, too.
* </p>
* @param context resource[optional] ¬e.context-support;
* @return resource a file pointer resource on success, or false on error.
*/
function fopen ($filename, $mode, $use_include_path = null, $context = null) {}
/**
* Output all remaining data on a file pointer
* @link http://www.php.net/manual/en/function.fpassthru.php
* @param handle resource &fs.validfp.all;
* @return int If an error occurs, fpassthru returns
* false. Otherwise, fpassthru returns
* the number of characters read from handle
* and passed through to the output.
*/
function fpassthru ($handle) {}
/**
* Truncates a file to a given length
* @link http://www.php.net/manual/en/function.ftruncate.php
* @param handle resource <p>
* The file pointer.
* </p>
*
* <p>
* The handle must be open for writing.
* </p>
* @param size int <p>
* The size to truncate to.
* </p>
*
* <p>
* If size is larger than the file then the file
* is extended with null bytes.
* </p>
* <p>
* If size is smaller than the file then the file
* is truncated to that size.
* </p>
* @return bool Returns true on success, false on failure.
*/
function ftruncate ($handle, $size) {}
/**
* Gets information about a file using an open file pointer
* @link http://www.php.net/manual/en/function.fstat.php
* @param handle resource &fs.file.pointer;
* @return array an array with the statistics of the file; the format of the array
* is described in detail on the stat manual page.
*/
function fstat ($handle) {}
/**
* Seeks on a file pointer
* @link http://www.php.net/manual/en/function.fseek.php
* @param handle resource &fs.file.pointer;
* @param offset int <p>
* The offset.
* </p>
* <p>
* To move to a position before the end-of-file, you need to pass
* a negative value in offset and
* set whence
* to SEEK_END.
* </p>
* @param whence int[optional] <p>
* whence values are:
*
* SEEK_SET - Set position equal to offset bytes.
* SEEK_CUR - Set position to current location plus offset.
* SEEK_END - Set position to end-of-file plus offset.
*
* </p>
* @return int Upon success, returns 0; otherwise, returns -1.
*/
function fseek ($handle, $offset, $whence = null) {}
/**
* Returns the current position of the file read/write pointer
* @link http://www.php.net/manual/en/function.ftell.php
* @param handle resource <p>
* The file pointer must be valid, and must point to a file successfully
* opened by fopen or popen.
* ftell gives undefined results for append-only streams
* (opened with "a" flag).
* </p>
* @return int the position of the file pointer referenced by
* handle as an integer; i.e., its offset into the file stream.
* </p>
* <p>
* If an error occurs, returns false.
*/
function ftell ($handle) {}
/**
* Flushes the output to a file
* @link http://www.php.net/manual/en/function.fflush.php
* @param handle resource &fs.validfp.all;
* @return bool Returns true on success, false on failure.
*/
function fflush ($handle) {}
/**
* Binary-safe file write
* @link http://www.php.net/manual/en/function.fwrite.php
* @param handle resource &fs.file.pointer;
* @param string string <p>
* The string that is to be written.
* </p>
* @param length int[optional] <p>
* If the length argument is given, writing will
* stop after length bytes have been written or
* the end of string is reached, whichever comes
* first.
* </p>
* <p>
* Note that if the length argument is given,
* then the magic_quotes_runtime
* configuration option will be ignored and no slashes will be
* stripped from string.
* </p>
* @return int
*/
function fwrite ($handle, $string, $length = null) {}
/**
* &Alias; <function>fwrite</function>
* @link http://www.php.net/manual/en/function.fputs.php
* @param fp
* @param str
* @param length[optional]
*/
function fputs ($fp, $str, $length) {}
/**
* Makes directory
* @link http://www.php.net/manual/en/function.mkdir.php
* @param pathname string <p>
* The directory path.
* </p>
* @param mode int[optional] <p>
* The mode is 0777 by default, which means the widest possible
* access. For more information on modes, read the details
* on the chmod page.
* </p>
*
* <p>
* mode is ignored on Windows.
* </p>
*
* <p>
* Note that you probably want to specify the mode as an octal number,
* which means it should have a leading zero. The mode is also modified
* by the current umask, which you can change using
* umask.
* </p>
* @param recursive bool[optional] <p>
* Allows the creation of nested directories specified in the
* pathname.
* </p>
* @param context resource[optional] ¬e.context-support;
* @return bool Returns true on success, false on failure.
*/
function mkdir ($pathname, $mode = null, $recursive = null, $context = null) {}
/**
* Renames a file or directory
* @link http://www.php.net/manual/en/function.rename.php
* @param oldname string <p>
* </p>
*
* <p>
* The old name. The wrapper used in oldname
* must match the wrapper used in
* newname.
* </p>
* @param newname string <p>
* The new name.
* </p>
* @param context resource[optional] ¬e.context-support;
* @return bool Returns true on success, false on failure.
*/
function rename ($oldname, $newname, $context = null) {}
/**
* Copies file
* @link http://www.php.net/manual/en/function.copy.php
* @param source string <p>
* Path to the source file.
* </p>
* @param dest string <p>
* The destination path. If dest is a URL, the
* copy operation may fail if the wrapper does not support overwriting of
* existing files.
* </p>
*
* <p>
* If the destination file already exists, it will be overwritten.
* </p>
* @param context resource[optional] <p>
* A valid context resource created with
* stream_context_create.
* </p>
* @return bool Returns true on success, false on failure.
*/
function copy ($source, $dest, $context = null) {}
/**
* Create file with unique file name
* @link http://www.php.net/manual/en/function.tempnam.php
* @param dir string <p>
* The directory where the temporary filename will be created.
* </p>
* @param prefix string <p>
* The prefix of the generated temporary filename.
* </p>
*
*
* Windows uses only the first three characters of prefix.
* @return string the new temporary filename (with path), or false on
* failure.
*/
function tempnam ($dir, $prefix) {}
/**
* Creates a temporary file
* @link http://www.php.net/manual/en/function.tmpfile.php
* @return resource a file handle, similar to the one returned by
* fopen, for the new file&return.falseforfailure;.
*/
function tmpfile () {}
/**
* Reads entire file into an array
* @link http://www.php.net/manual/en/function.file.php
* @param filename string <p>
* Path to the file.
* </p>
* &tip.fopen-wrapper;
* @param flags int[optional] <p>
* The optional parameter flags can be one, or
* more, of the following constants:
*
*
*
* FILE_USE_INCLUDE_PATH
*
*
*
* Search for the file in the include_path.
* @param context resource[optional] <p>
* A context resource created with the
* stream_context_create function.
* </p>
* <p>
* ¬e.context-support;
* </p>
* @return array the file in an array. Each element of the array corresponds to a
* line in the file, with the newline still attached. Upon failure,
* file returns false.
* </p>
*
* <p>
* Each line in the resulting array will include the line ending, unless
* FILE_IGNORE_NEW_LINES is used, so you still need to
* use rtrim if you do not want the line ending
* present.
*/
function file ($filename, $flags = null, $context = null) {}
/**
* Reads entire file into a string
* @link http://www.php.net/manual/en/function.file-get-contents.php
* @param filename string <p>
* Name of the file to read.
* </p>
* @param use_include_path bool[optional] <p>
* As of PHP 5 the FILE_USE_INCLUDE_PATH constant can be used
* to trigger include path
* search.
* </p>
* @param context resource[optional] <p>
* A valid context resource created with
* stream_context_create. If you don't need to use a
* custom context, you can skip this parameter by &null;.
* </p>
* @param offset int[optional] <p>
* The offset where the reading starts on the original stream.
* </p>
* <p>
* Seeking (offset) is not supported with remote files.
* Attempting to seek on non-local files may work with small offsets, but this
* is unpredictable because it works on the buffered stream.
* </p>
* @param maxlen int[optional] <p>
* Maximum length of data read. The default is to read until end
* of file is reached. Note that this parameter is applied to the
* stream processed by the filters.
* </p>
* @return string The function returns the read data &return.falseforfailure;.
*/
function file_get_contents ($filename, $use_include_path = null, $context = null, $offset = null, $maxlen = null) {}
/**
* Write a string to a file
* @link http://www.php.net/manual/en/function.file-put-contents.php
* @param filename string <p>
* Path to the file where to write the data.
* </p>
* @param data mixed <p>
* The data to write. Can be either a string, an
* array or a stream resource.
* </p>
* <p>
* If data is a stream resource, the
* remaining buffer of that stream will be copied to the specified file.
* This is similar with using stream_copy_to_stream.
* </p>
* <p>
* You can also specify the data parameter as a single
* dimension array. This is equivalent to
* file_put_contents($filename, implode('', $array)).
* </p>
* @param flags int[optional] <p>
* The value of flags can be any combination of
* the following flags, joined with the binary OR (|)
* operator.
* </p>
* <p>
* <table>
* Available flags
*
*
* <tr valign="top">
* <td>Flag</td>
* <td>Description</td>
* </tr>
*
*
* <tr valign="top">
* <td>
* FILE_USE_INCLUDE_PATH
* </td>
* <td>
* Search for filename in the include directory.
* See include_path for more
* information.
* </td>
* </tr>
* <tr valign="top">
* <td>
* FILE_APPEND
* </td>
* <td>
* If file filename already exists, append
* the data to the file instead of overwriting it.
* </td>
* </tr>
* <tr valign="top">
* <td>
* LOCK_EX
* </td>
* <td>
* Acquire an exclusive lock on the file while proceeding to the
* writing.
* </td>
* </tr>
*
*
* </table>
* </p>
* @param context resource[optional] <p>
* A valid context resource created with
* stream_context_create.
* </p>
* @return int This function returns the number of bytes that were written to the file, or
* false on failure.
*/
function file_put_contents ($filename, $data, $flags = null, $context = null) {}
/**
* Runs the equivalent of the select() system call on the given
arrays of streams with a timeout specified by tv_sec and tv_usec
* @link http://www.php.net/manual/en/function.stream-select.php
* @param read array <p>
* The streams listed in the read array will be watched to
* see if characters become available for reading (more precisely, to see if
* a read will not block - in particular, a stream resource is also ready on
* end-of-file, in which case an fread will return
* a zero length string).
* </p>
* @param write array <p>
* The streams listed in the write array will be
* watched to see if a write will not block.
* </p>
* @param except array <p>
* The streams listed in the except array will be
* watched for high priority exceptional ("out-of-band") data arriving.
* </p>
*
* <p>
* When stream_select returns, the arrays
* read, write and
* except are modified to indicate which stream
* resource(s) actually changed status.
* </p>
*
*
* You do not need to pass every array to
* stream_select. You can leave it out and use an
* empty array or &null; instead. Also do not forget that those arrays are
* passed by reference and will be modified after
* stream_select returns.
* @param tv_sec int <p>
* The tv_sec and tv_usec
* together form the timeout parameter,
* tv_sec specifies the number of seconds while
* tv_usec the number of microseconds.
* The timeout is an upper bound on the amount of time
* that stream_select will wait before it returns.
* If tv_sec and tv_usec are
* both set to 0, stream_select will
* not wait for data - instead it will return immediately, indicating the
* current status of the streams.
* </p>
* <p>
* If tv_sec is &null; stream_select
* can block indefinitely, returning only when an event on one of the
* watched streams occurs (or if a signal interrupts the system call).
* </p>
*
* <p>
* Using a timeout value of 0 allows you to
* instantaneously poll the status of the streams, however, it is NOT a
* good idea to use a 0 timeout value in a loop as it
* will cause your script to consume too much CPU time.
* </p>
* <p>
* It is much better to specify a timeout value of a few seconds, although
* if you need to be checking and running other code concurrently, using a
* timeout value of at least 200000 microseconds will
* help reduce the CPU usage of your script.
* </p>
* <p>
* Remember that the timeout value is the maximum time that will elapse;
* stream_select will return as soon as the
* requested streams are ready for use.
* </p>
* @param tv_usec int[optional] <p>
* See tv_sec description.
* </p>
* @return int On success stream_select returns the number of
* stream resources contained in the modified arrays, which may be zero if
* the timeout expires before anything interesting happens. On error false
* is returned and a warning raised (this can happen if the system call is
* interrupted by an incoming signal).
*/
function stream_select (array &$read, array &$write, array &$except, $tv_sec, $tv_usec = null) {}
/**
* Creates a stream context
* @link http://www.php.net/manual/en/function.stream-context-create.php
* @param options array[optional] <p>
* Must be an associative array of associative arrays in the format
* $arr['wrapper']['option'] = $value.
* </p>
* <p>
* Default to an empty array.
* </p>
* @param params array[optional] <p>
* Must be an associative array in the format
* $arr['parameter'] = $value.
* Refer to context parameters for
* a listing of standard stream parameters.
* </p>
* @return resource A stream context resource.
*/
function stream_context_create (array $options = null, array $params = null) {}
/**
* Set parameters for a stream/wrapper/context
* @link http://www.php.net/manual/en/function.stream-context-set-params.php
* @param stream_or_context resource <p>
* The stream or context to apply the parameters too.
* </p>
* @param params array <p>
* An array of parameters to set.
* </p>
*
* <p>
* params should be an associative array of the structure:
* $params['paramname'] = "paramvalue";.
* </p>
* @return bool Returns true on success, false on failure.
*/
function stream_context_set_params ($stream_or_context, array $params) {}
/**
* Retrieves parameters from a context
* @link http://www.php.net/manual/en/function.stream-context-get-params.php
* @param stream_or_context resource <p>
* A stream resource or a
* context resource
* </p>
* @return array an associate array containing all context options and parameters.
*/
function stream_context_get_params ($stream_or_context) {}
/**
* Sets an option for a stream/wrapper/context
* @link http://www.php.net/manual/en/function.stream-context-set-option.php
* @param stream_or_context resource <p>
* The stream or context resource to apply the options to.
* </p>
* @param wrapper string
* @param option string
* @param value mixed
* @return bool Returns true on success, false on failure.
*/
function stream_context_set_option ($stream_or_context, $wrapper, $option, $value) {}
/**
* Retrieve options for a stream/wrapper/context
* @link http://www.php.net/manual/en/function.stream-context-get-options.php
* @param stream_or_context resource <p>
* The stream or context to get options from
* </p>
* @return array an associative array with the options.
*/
function stream_context_get_options ($stream_or_context) {}
/**
* Retrieve the default stream context
* @link http://www.php.net/manual/en/function.stream-context-get-default.php
* @param options array[optional] options must be an associative
* array of associative arrays in the format
* $arr['wrapper']['option'] = $value.
*
*
* <p>
* As of PHP 5.3.0, the stream_context_set_default function
* can be used to set the default context.
* </p>
* @return resource A stream context resource.
*/
function stream_context_get_default (array $options = null) {}
/**
* Set the default stream context
* @link http://www.php.net/manual/en/function.stream-context-set-default.php
* @param options array <p>
* The options to set for the default context.
* </p>
*
* <p>
* options must be an associative
* array of associative arrays in the format
* $arr['wrapper']['option'] = $value.
* </p>
* @return resource the default stream context.
*/
function stream_context_set_default (array $options) {}
/**
* Attach a filter to a stream
* @link http://www.php.net/manual/en/function.stream-filter-prepend.php
* @param stream resource <p>
* The target stream.
* </p>
* @param filtername string <p>
* The filter name.
* </p>
* @param read_write int[optional] <p>
* By default, stream_filter_prepend will
* attach the filter to the read filter chain
* if the file was opened for reading (i.e. File Mode:
* r, and/or +). The filter
* will also be attached to the write filter chain
* if the file was opened for writing (i.e. File Mode:
* w, a, and/or +).
* STREAM_FILTER_READ,
* STREAM_FILTER_WRITE, and/or
* STREAM_FILTER_ALL can also be passed to the
* read_write parameter to override this behavior.
* See stream_filter_append for an example of
* using this parameter.
* </p>
* @param params mixed[optional] <p>
* This filter will be added with the specified params
* to the beginning of the list and will therefore be
* called first during stream operations. To add a filter to the end of the
* list, use stream_filter_append.
* </p>
* @return resource a resource which can be used to refer to this filter
* instance during a call to stream_filter_remove.
*/
function stream_filter_prepend ($stream, $filtername, $read_write = null, $params = null) {}
/**
* Attach a filter to a stream
* @link http://www.php.net/manual/en/function.stream-filter-append.php
* @param stream resource <p>
* The target stream.
* </p>
* @param filtername string <p>
* The filter name.
* </p>
* @param read_write int[optional] <p>
* By default, stream_filter_append will
* attach the filter to the read filter chain
* if the file was opened for reading (i.e. File Mode:
* r, and/or +). The filter
* will also be attached to the write filter chain
* if the file was opened for writing (i.e. File Mode:
* w, a, and/or +).
* STREAM_FILTER_READ,
* STREAM_FILTER_WRITE, and/or
* STREAM_FILTER_ALL can also be passed to the
* read_write parameter to override this behavior.
* </p>
* @param params mixed[optional] <p>
* This filter will be added with the specified
* params to the end of
* the list and will therefore be called last during stream operations.
* To add a filter to the beginning of the list, use
* stream_filter_prepend.
* </p>
* @return resource a resource which can be used to refer to this filter
* instance during a call to stream_filter_remove.
*/
function stream_filter_append ($stream, $filtername, $read_write = null, $params = null) {}
/**
* Remove a filter from a stream
* @link http://www.php.net/manual/en/function.stream-filter-remove.php
* @param stream_filter resource <p>
* The stream filter to be removed.
* </p>
* @return bool Returns true on success, false on failure.
*/
function stream_filter_remove ($stream_filter) {}
/**
* Open Internet or Unix domain socket connection
* @link http://www.php.net/manual/en/function.stream-socket-client.php
* @param remote_socket string <p>
* Address to the socket to connect to.
* </p>
* @param errno int[optional] <p>
* Will be set to the system level error number if connection fails.
* </p>
* @param errstr string[optional] <p>
* Will be set to the system level error message if the connection fails.
* </p>
* @param timeout float[optional] <p>
* Number of seconds until the connect() system call
* should timeout.
*
*
* This parameter only applies when not making asynchronous
* connection attempts.
*
*
*
* <p>
* To set a timeout for reading/writing data over the socket, use the
* stream_set_timeout, as the
* timeout only applies while making connecting
* the socket.
* </p>
*
* </p>
* @param flags int[optional] <p>
* Bitmask field which may be set to any combination of connection flags.
* Currently the select of connection flags is limited to
* STREAM_CLIENT_CONNECT (default),
* STREAM_CLIENT_ASYNC_CONNECT and
* STREAM_CLIENT_PERSISTENT.
* </p>
* @param context resource[optional] <p>
* A valid context resource created with stream_context_create.
* </p>
* @return resource On success a stream resource is returned which may
* be used together with the other file functions (such as
* fgets, fgetss,
* fwrite, fclose, and
* feof), false on failure.
*/
function stream_socket_client ($remote_socket, &$errno = null, &$errstr = null, $timeout = null, $flags = null, $context = null) {}
/**
* Create an Internet or Unix domain server socket
* @link http://www.php.net/manual/en/function.stream-socket-server.php
* @param local_socket string <p>
* The type of socket created is determined by the transport specified
* using standard URL formatting: transport://target.
* </p>
* <p>
* For Internet Domain sockets (AF_INET) such as TCP and UDP, the
* target portion of the
* remote_socket parameter should consist of a
* hostname or IP address followed by a colon and a port number. For
* Unix domain sockets, the target portion should
* point to the socket file on the filesystem.
* </p>
* <p>
* Depending on the environment, Unix domain sockets may not be available.
* A list of available transports can be retrieved using
* stream_get_transports. See
* for a list of bulitin transports.
* </p>
* @param errno int[optional] <p>
* If the optional errno and errstr
* arguments are present they will be set to indicate the actual system
* level error that occurred in the system-level socket(),
* bind(), and listen() calls. If
* the value returned in errno is
* 0 and the function returned false, it is an
* indication that the error occurred before the bind()
* call. This is most likely due to a problem initializing the socket.
* Note that the errno and
* errstr arguments will always be passed by reference.
* </p>
* @param errstr string[optional] <p>
* See errno description.
* </p>
* @param flags int[optional] <p>
* A bitmask field which may be set to any combination of socket creation
* flags.
* </p>
*
* <p>
* For UDP sockets, you must use STREAM_SERVER_BIND as
* the flags parameter.
* </p>
* @param context resource[optional] <p>
* </p>
* @return resource the created stream, or false on error.
*/
function stream_socket_server ($local_socket, &$errno = null, &$errstr = null, $flags = null, $context = null) {}
/**
* Accept a connection on a socket created by <function>stream_socket_server</function>
* @link http://www.php.net/manual/en/function.stream-socket-accept.php
* @param server_socket resource <p>
* The server socket to accept a connection from.
* </p>
* @param timeout float[optional] <p>
* Override the default socket accept timeout. Time should be given in
* seconds.
* </p>
* @param peername string[optional] <p>
* Will be set to the name (address) of the client which connected, if
* included and available from the selected transport.
* </p>
*
* <p>
* Can also be determined later using
* stream_socket_get_name.
* </p>
* @return resource a stream to the accepted socket connection&return.falseforfailure;.
*/
function stream_socket_accept ($server_socket, $timeout = null, &$peername = null) {}
/**
* Retrieve the name of the local or remote sockets
* @link http://www.php.net/manual/en/function.stream-socket-get-name.php
* @param handle resource <p>
* The socket to get the name of.
* </p>
* @param want_peer bool <p>
* If set to true the remote socket name will be returned, if set
* to false the local socket name will be returned.
* </p>
* @return string The name of the socket.
*/
function stream_socket_get_name ($handle, $want_peer) {}
/**
* Receives data from a socket, connected or not
* @link http://www.php.net/manual/en/function.stream-socket-recvfrom.php
* @param socket resource <p>
* The remote socket.
* </p>
* @param length int <p>
* The number of bytes to receive from the socket.
* </p>
* @param flags int[optional] <p>
* The value of flags can be any combination
* of the following:
* <table>
* Possible values for flags
*
*
* <tr valign="top">
* <td>STREAM_OOB</td>
* <td>
* Process OOB (out-of-band) data.
* </td>
* </tr>
* <tr valign="top">
* <td>STREAM_PEEK</td>
* <td>
* Retrieve data from the socket, but do not consume the buffer.
* Subsequent calls to fread or
* stream_socket_recvfrom will see
* the same data.
* </td>
* </tr>
*
*
* </table>
* </p>
* @param address string[optional] <p>
* If address is provided it will be populated with
* the address of the remote socket.
* </p>
* @return string the read data, as a string
*/
function stream_socket_recvfrom ($socket, $length, $flags = null, &$address = null) {}
/**
* Sends a message to a socket, whether it is connected or not
* @link http://www.php.net/manual/en/function.stream-socket-sendto.php
* @param socket resource <p>
* The socket to send data to.
* </p>
* @param data string <p>
* The data to be sent.
* </p>
* @param flags int[optional] <p>
* The value of flags can be any combination
* of the following:
* <table>
* possible values for flags
*
*
* <tr valign="top">
* <td>STREAM_OOB</td>
* <td>
* Process OOB (out-of-band) data.
* </td>
* </tr>
*
*
* </table>
* </p>
* @param address string[optional] <p>
* The address specified when the socket stream was created will be used
* unless an alternate address is specified in address.
* </p>
* <p>
* If specified, it must be in dotted quad (or [ipv6]) format.
* </p>
* @return int a result code, as an integer.
*/
function stream_socket_sendto ($socket, $data, $flags = null, $address = null) {}
/**
* Turns encryption on/off on an already connected socket
* @link http://www.php.net/manual/en/function.stream-socket-enable-crypto.php
* @param stream resource <p>
* The stream resource.
* </p>
* @param enable bool <p>
* Enable/disable cryptography on the stream.
* </p>
* @param crypto_type int[optional] <p>
* Setup encryption on the stream.
* Valid methods are
*
* STREAM_CRYPTO_METHOD_SSLv2_CLIENT
* @param session_stream resource[optional] <p>
* Seed the stream with settings from session_stream.
* </p>
* @return mixed true on success, false if negotiation has failed or
* 0 if there isn't enough data and you should try again
* (only for non-blocking sockets).
*/
function stream_socket_enable_crypto ($stream, $enable, $crypto_type = null, $session_stream = null) {}
/**
* Shutdown a full-duplex connection
* @link http://www.php.net/manual/en/function.stream-socket-shutdown.php
* @param stream resource <p>
* An open stream (opened with stream_socket_client,
* for example)
* </p>
* @param how int <p>
* One of the following constants: STREAM_SHUT_RD
* (disable further receptions), STREAM_SHUT_WR
* (disable further transmissions) or
* STREAM_SHUT_RDWR (disable further receptions and
* transmissions).
* </p>
* @return bool Returns true on success, false on failure.
*/
function stream_socket_shutdown ($stream, $how) {}
/**
* Creates a pair of connected, indistinguishable socket streams
* @link http://www.php.net/manual/en/function.stream-socket-pair.php
* @param domain int <p>
* The protocol family to be used: STREAM_PF_INET,
* STREAM_PF_INET6 or
* STREAM_PF_UNIX
* </p>
* @param type int <p>
* The type of communication to be used:
* STREAM_SOCK_DGRAM,
* STREAM_SOCK_RAW,
* STREAM_SOCK_RDM,
* STREAM_SOCK_SEQPACKET or
* STREAM_SOCK_STREAM
* </p>
* @param protocol int <p>
* The protocol to be used: STREAM_IPPROTO_ICMP,
* STREAM_IPPROTO_IP,
* STREAM_IPPROTO_RAW,
* STREAM_IPPROTO_TCP or
* STREAM_IPPROTO_UDP
* </p>
* @return array an array with the two socket resources on success, or
* false on failure.
*/
function stream_socket_pair ($domain, $type, $protocol) {}
/**
* Copies data from one stream to another
* @link http://www.php.net/manual/en/function.stream-copy-to-stream.php
* @param source resource <p>
* The source stream
* </p>
* @param dest resource <p>
* The destination stream
* </p>
* @param maxlength int[optional] <p>
* Maximum bytes to copy
* </p>
* @param offset int[optional] <p>
* The offset where to start to copy data
* </p>
* @return int the total count of bytes copied.
*/
function stream_copy_to_stream ($source, $dest, $maxlength = null, $offset = null) {}
/**
* Reads remainder of a stream into a string
* @link http://www.php.net/manual/en/function.stream-get-contents.php
* @param handle resource <p>
* A stream resource (e.g. returned from fopen)
* </p>
* @param maxlength int[optional] <p>
* The maximum bytes to read. Defaults to -1 (read all the remaining
* buffer).
* </p>
* @param offset int[optional] <p>
* Seek to the specified offset before reading. If this number is negative,
* no seeking will occur and reading will start from the current position.
* </p>
* @return string a string&return.falseforfailure;.
*/
function stream_get_contents ($handle, $maxlength = null, $offset = null) {}
/**
* Tells whether the stream supports locking.
* @link http://www.php.net/manual/en/function.stream-supports-lock.php
* @param stream resource <p>
* The stream to check.
* </p>
* @return bool Returns true on success, false on failure.
*/
function stream_supports_lock ($stream) {}
/**
* Gets line from file pointer and parse for CSV fields
* @link http://www.php.net/manual/en/function.fgetcsv.php
* @param handle resource <p>
* A valid file pointer to a file successfully opened by
* fopen, popen, or
* fsockopen.
* </p>
* @param length int[optional] <p>
* Must be greater than the longest line (in characters) to be found in
* the CSV file (allowing for trailing line-end characters). It became
* optional in PHP 5. Omitting this parameter (or setting it to 0 in PHP
* 5.1.0 and later) the maximum line length is not limited, which is
* slightly slower.
* </p>
* @param delimiter string[optional] <p>
* Set the field delimiter (one character only).
* </p>
* @param enclosure string[optional] <p>
* Set the field enclosure character (one character only).
* </p>
* @param escape string[optional] <p>
* Set the escape character (one character only). Defaults as a backslash.
* </p>
* @return array an indexed array containing the fields read.
* </p>
*
* <p>
* A blank line in a CSV file will be returned as an array
* comprising a single null field, and will not be treated
* as an error.
* </p>
*
* ¬e.line-endings;
* <p>
* fgetcsv returns &null; if an invalid
* handle is supplied or false on other errors,
* including end of file.
*/
function fgetcsv ($handle, $length = null, $delimiter = null, $enclosure = null, $escape = null) {}
/**
* Format line as CSV and write to file pointer
* @link http://www.php.net/manual/en/function.fputcsv.php
* @param handle resource &fs.validfp.all;
* @param fields array <p>
* An array of values.
* </p>
* @param delimiter string[optional] <p>
* The optional delimiter parameter sets the field
* delimiter (one character only).
* </p>
* @param enclosure string[optional] <p>
* The optional enclosure parameter sets the field
* enclosure (one character only).
* </p>
* @return int the length of the written string&return.falseforfailure;.
*/
function fputcsv ($handle, array $fields, $delimiter = null, $enclosure = null) {}
/**
* Portable advisory file locking
* @link http://www.php.net/manual/en/function.flock.php
* @param handle resource &fs.file.pointer;
* @param operation int <p>
* operation is one of the following:
*
*
*
* LOCK_SH to acquire a shared lock (reader).
* @param wouldblock int[optional] <p>
* The optional third argument is set to 1 if the lock would block
* (EWOULDBLOCK errno condition). (not supported on Windows)
* </p>
* @return bool Returns true on success, false on failure.
*/
function flock ($handle, $operation, &$wouldblock = null) {}
/**
* Extracts all meta tag content attributes from a file and returns an array
* @link http://www.php.net/manual/en/function.get-meta-tags.php
* @param filename string <p>
* The path to the HTML file, as a string. This can be a local file or an
* URL.
* </p>
* <p>
*
* What get_meta_tags parses
*
* ]]>
*
*
* (pay attention to line endings - PHP uses a native function to
* parse the input, so a Mac file won't work on Unix).
* </p>
* @param use_include_path bool[optional] <p>
* Setting use_include_path to true will result
* in PHP trying to open the file along the standard include path as per
* the include_path directive.
* This is used for local files, not URLs.
* </p>
* @return array an array with all the parsed meta tags.
* </p>
* <p>
* The value of the name property becomes the key, the value of the content
* property becomes the value of the returned array, so you can easily use
* standard array functions to traverse it or access single values.
* Special characters in the value of the name property are substituted with
* '_', the rest is converted to lower case. If two meta tags have the same
* name, only the last one is returned.
*/
function get_meta_tags ($filename, $use_include_path = null) {}
/**
* Set read file buffering on the given stream
* @link http://www.php.net/manual/en/function.stream-set-read-buffer.php
* @param stream resource <p>
* The file pointer.
* </p>
* @param buffer int <p>
* The number of bytes to buffer. If buffer
* is 0 then read operations are unbuffered. This ensures that all reads
* with fread are completed before other processes are
* allowed to read from that input stream.
* </p>
* @return int 0 on success, or EOF if the request
* cannot be honored.
*/
function stream_set_read_buffer ($stream, $buffer) {}
/**
* Sets write file buffering on the given stream
* @link http://www.php.net/manual/en/function.stream-set-write-buffer.php
* @param stream resource <p>
* The file pointer.
* </p>
* @param buffer int <p>
* The number of bytes to buffer. If buffer
* is 0 then write operations are unbuffered. This ensures that all writes
* with fwrite are completed before other processes are
* allowed to write to that output stream.
* </p>
* @return int 0 on success, or EOF if the request cannot be honored.
*/
function stream_set_write_buffer ($stream, $buffer) {}
/**
* &Alias; <function>stream_set_write_buffer</function>
* @link http://www.php.net/manual/en/function.set-file-buffer.php
* @param fp
* @param buffer
*/
function set_file_buffer ($fp, $buffer) {}
/**
* Set the stream chunk size
* @link http://www.php.net/manual/en/function.stream-set-chunk-size.php
* @param fp resource <p>
* The target stream.
* </p>
* @param chunk_size int <p>
* The desired new chunk size.
* </p>
* @return int the previous chunk size on success.
* </p>
* <p>
* Will return false if chunk_size is less than 1 or
* greater than PHP_INT_MAX.
*/
function stream_set_chunk_size ($fp, $chunk_size) {}
/**
* &Alias; <function>stream_set_blocking</function>
* @link http://www.php.net/manual/en/function.set-socket-blocking.php
* @param socket
* @param mode
*/
function set_socket_blocking ($socket, $mode) {}
/**
* Set blocking/non-blocking mode on a stream
* @link http://www.php.net/manual/en/function.stream-set-blocking.php
* @param stream resource <p>
* The stream.
* </p>
* @param mode int <p>
* If mode is 0, the given stream
* will be switched to non-blocking mode, and if 1, it
* will be switched to blocking mode. This affects calls like
* fgets and fread
* that read from the stream. In non-blocking mode an
* fgets call will always return right away
* while in blocking mode it will wait for data to become available
* on the stream.
* </p>
* @return bool Returns true on success, false on failure.
*/
function stream_set_blocking ($stream, $mode) {}
/**
* &Alias; <function>stream_set_blocking</function>
* @link http://www.php.net/manual/en/function.socket-set-blocking.php
* @param socket
* @param mode
*/
function socket_set_blocking ($socket, $mode) {}
/**
* Retrieves header/meta data from streams/file pointers
* @link http://www.php.net/manual/en/function.stream-get-meta-data.php
* @param stream resource <p>
* The stream can be any stream created by fopen,
* fsockopen and pfsockopen.
* </p>
* @return array The result array contains the following items:
* </p>
*
*
* <p>
* timed_out (bool) - true if the stream
* timed out while waiting for data on the last call to
* fread or fgets.
* </p>
*
*
* <p>
* blocked (bool) - true if the stream is
* in blocking IO mode. See stream_set_blocking.
* </p>
*
*
* <p>
* eof (bool) - true if the stream has reached
* end-of-file. Note that for socket streams this member can be true
* even when unread_bytes is non-zero. To
* determine if there is more data to be read, use
* feof instead of reading this item.
* </p>
*
*
* <p>
* unread_bytes (int) - the number of bytes
* currently contained in the PHP's own internal buffer.
* </p>
*
*
* You shouldn't use this value in a script.
*
*
*
*
* <p>
* stream_type (string) - a label describing
* the underlying implementation of the stream.
* </p>
*
*
* <p>
* wrapper_type (string) - a label describing
* the protocol wrapper implementation layered over the stream.
* See for more information about wrappers.
* </p>
*
*
* <p>
* wrapper_data (mixed) - wrapper specific
* data attached to this stream. See for
* more information about wrappers and their wrapper data.
* </p>
*
*
*
* <p>
* mode (string) - the type of access required for
* this stream (see Table 1 of the fopen() reference)
* </p>
*
*
* <p>
* seekable (bool) - whether the current stream can
* be seeked.
* </p>
*
*
* <p>
* uri (string) - the URI/filename associated with this
* stream.
*/
function stream_get_meta_data ($stream) {}
/**
* Gets line from stream resource up to a given delimiter
* @link http://www.php.net/manual/en/function.stream-get-line.php
* @param handle resource <p>
* A valid file handle.
* </p>
* @param length int <p>
* The number of bytes to read from the handle.
* </p>
* @param ending string[optional] <p>
* An optional string delimiter.
* </p>
* @return string a string of up to length bytes read from the file
* pointed to by handle.
* </p>
* <p>
* If an error occurs, returns false.
*/
function stream_get_line ($handle, $length, $ending = null) {}
/**
* Register a URL wrapper implemented as a PHP class
* @link http://www.php.net/manual/en/function.stream-wrapper-register.php
* @param protocol string <p>
* The wrapper name to be registered.
* </p>
* @param classname string <p>
* The classname which implements the protocol.
* </p>
* @param flags int[optional] <p>
* Should be set to STREAM_IS_URL if
* protocol is a URL protocol. Default is 0, local
* stream.
* </p>
* @return bool Returns true on success, false on failure.
* </p>
* <p>
* stream_wrapper_register will return false if the
* protocol already has a handler.
*/
function stream_wrapper_register ($protocol, $classname, $flags = null) {}
/**
* &Alias; <function>stream_wrapper_register</function>
* @link http://www.php.net/manual/en/function.stream-register-wrapper.php
* @param protocol
* @param classname
* @param flags[optional]
*/
function stream_register_wrapper ($protocol, $classname, $flags) {}
/**
* Unregister a URL wrapper
* @link http://www.php.net/manual/en/function.stream-wrapper-unregister.php
* @param protocol string <p>
* </p>
* @return bool Returns true on success, false on failure.
*/
function stream_wrapper_unregister ($protocol) {}
/**
* Restores a previously unregistered built-in wrapper
* @link http://www.php.net/manual/en/function.stream-wrapper-restore.php
* @param protocol string <p>
* </p>
* @return bool Returns true on success, false on failure.
*/
function stream_wrapper_restore ($protocol) {}
/**
* Retrieve list of registered streams
* @link http://www.php.net/manual/en/function.stream-get-wrappers.php
* @return array an indexed array containing the name of all stream wrappers
* available on the running system.
*/
function stream_get_wrappers () {}
/**
* Retrieve list of registered socket transports
* @link http://www.php.net/manual/en/function.stream-get-transports.php
* @return array an indexed array of socket transports names.
*/
function stream_get_transports () {}
/**
* Resolve filename against the include path
* @link http://www.php.net/manual/en/function.stream-resolve-include-path.php
* @param filename string <p>
* The filename to resolve.
* </p>
* @param context resource[optional] <p>
* A valid context resource created with stream_context_create.
* </p>
* @return string a string containing the resolved absolute filename, &return.falseforfailure;.
*/
function stream_resolve_include_path ($filename, $context = null) {}
/**
* Checks if a stream is a local stream
* @link http://www.php.net/manual/en/function.stream-is-local.php
* @param stream_or_url mixed <p>
* The stream resource or URL to check.
* </p>
* @return bool Returns true on success, false on failure.
*/
function stream_is_local ($stream_or_url) {}
/**
* Fetches all the headers sent by the server in response to a HTTP request
* @link http://www.php.net/manual/en/function.get-headers.php
* @param url string <p>
* The target URL.
* </p>
* @param format int[optional] <p>
* If the optional format parameter is set to non-zero,
* get_headers parses the response and sets the
* array's keys.
* </p>
* @return array an indexed or associative array with the headers, or false on
* failure.
*/
function get_headers ($url, $format = null) {}
/**
* Set timeout period on a stream
* @link http://www.php.net/manual/en/function.stream-set-timeout.php
* @param stream resource <p>
* The target stream.
* </p>
* @param seconds int <p>
* The seconds part of the timeout to be set.
* </p>
* @param microseconds int[optional] <p>
* The microseconds part of the timeout to be set.
* </p>
* @return bool Returns true on success, false on failure.
*/
function stream_set_timeout ($stream, $seconds, $microseconds = null) {}
/**
* &Alias; <function>stream_set_timeout</function>
* @link http://www.php.net/manual/en/function.socket-set-timeout.php
* @param stream
* @param seconds
* @param microseconds
*/
function socket_set_timeout ($stream, $seconds, $microseconds) {}
/**
* &Alias; <function>stream_get_meta_data</function>
* @link http://www.php.net/manual/en/function.socket-get-status.php
* @param fp
*/
function socket_get_status ($fp) {}
/**
* Returns canonicalized absolute pathname
* @link http://www.php.net/manual/en/function.realpath.php
* @param path string <p>
* The path being checked.
*
* <p>
* Whilst a path must be supplied, the value can be blank or &null;
* In these cases, the value is interpreted as the current directory.
* </p>
*
* </p>
* @return string the canonicalized absolute pathname on success. The resulting path
* will have no symbolic link, '/./' or '/../' components.
* </p>
* <p>
* realpath returns false on failure, e.g. if
* the file does not exist.
* </p>
*
* <p>
* The running script must have executable permissions on all directories in
* the hierarchy, otherwise realpath will return
* false.
*/
function realpath ($path) {}
/**
* Match filename against a pattern
* @link http://www.php.net/manual/en/function.fnmatch.php
* @param pattern string <p>
* The shell wildcard pattern.
* </p>
* @param string string <p>
* The tested string. This function is especially useful for filenames,
* but may also be used on regular strings.
* </p>
* <p>
* The average user may be used to shell patterns or at least in their
* simplest form to '?' and '*'
* wildcards so using fnmatch instead of
* preg_match for
* frontend search expression input may be way more convenient for
* non-programming users.
* </p>
* @param flags int[optional] <p>
* The value of flags can be any combination of
* the following flags, joined with the
* binary OR (|) operator.
* <table>
*
* A list of possible flags for fnmatch
*
*
*
* <tr valign="top">
* <td>Flag</td>
* <td>Description</td>
* </tr>
*
*
* <tr valign="top">
* <td>FNM_NOESCAPE</td>
* <td>
* Disable backslash escaping.
* </td>
* </tr>
* <tr valign="top">
* <td>FNM_PATHNAME</td>
* <td>
* Slash in string only matches slash in the given pattern.
* </td>
* </tr>
* <tr valign="top">
* <td>FNM_PERIOD</td>
* <td>
* Leading period in string must be exactly matched by period in the given pattern.
* </td>
* </tr>
* <tr valign="top">
* <td>FNM_CASEFOLD</td>
* <td>
* Caseless match. Part of the GNU extension.
* </td>
* </tr>
*
*
* </table>
* </p>
* @return bool true if there is a match, false otherwise.
*/
function fnmatch ($pattern, $string, $flags = null) {}
/**
* Open Internet or Unix domain socket connection
* @link http://www.php.net/manual/en/function.fsockopen.php
* @param hostname string <p>
* If OpenSSL support is
* installed, you may prefix the hostname
* with either ssl:// or tls:// to
* use an SSL or TLS client connection over TCP/IP to connect to the
* remote host.
* </p>
* @param port int[optional] <p>
* The port number. This can be omitted and skipped with
* -1 for transports that do not use ports, such as
* unix://.
* </p>
* @param errno int[optional] <p>
* If provided, holds the system level error number that occurred in the
* system-level connect() call.
* </p>
* <p>
* If the value returned in errno is
* 0 and the function returned false, it is an
* indication that the error occurred before the
* connect() call. This is most likely due to a
* problem initializing the socket.
* </p>
* @param errstr string[optional] <p>
* The error message as a string.
* </p>
* @param timeout float[optional] <p>
* The connection timeout, in seconds.
* </p>
*
* <p>
* If you need to set a timeout for reading/writing data over the
* socket, use stream_set_timeout, as the
* timeout parameter to
* fsockopen only applies while connecting the
* socket.
* </p>
* @return resource fsockopen returns a file pointer which may be used
* together with the other file functions (such as
* fgets, fgetss,
* fwrite, fclose, and
* feof). If the call fails, it will return false
*/
function fsockopen ($hostname, $port = null, &$errno = null, &$errstr = null, $timeout = null) {}
/**
* Open persistent Internet or Unix domain socket connection
* @link http://www.php.net/manual/en/function.pfsockopen.php
* @param hostname string
* @param port int[optional]
* @param errno int[optional]
* @param errstr string[optional]
* @param timeout float[optional]
* @return resource
*/
function pfsockopen ($hostname, $port = null, &$errno = null, &$errstr = null, $timeout = null) {}
/**
* Pack data into binary string
* @link http://www.php.net/manual/en/function.pack.php
* @param format string <p>
* The format string consists of format codes
* followed by an optional repeater argument. The repeater argument can
* be either an integer value or * for repeating to
* the end of the input data. For a, A, h, H the repeat count specifies
* how many characters of one data argument are taken, for @ it is the
* absolute position where to put the next data, for everything else the
* repeat count specifies how many data arguments are consumed and packed
* into the resulting binary string.
* </p>
* <p>
* Currently implemented formats are:
* <table>
* pack format characters
*
*
* <tr valign="top">
* <td>Code</td>
* <td>Description</td>
* </tr>
*
*
* <tr valign="top">
* <td>a</td>
* <td>NUL-padded string</td>
* </tr>
* <tr valign="top">
* <td>A</td>
* <td>SPACE-padded string</td></tr>
* <tr valign="top">
* <td>h</td>
* <td>Hex string, low nibble first</td></tr>
* <tr valign="top">
* <td>H</td>
* <td>Hex string, high nibble first</td></tr>
* <tr valign="top"><td>c</td><td>signed char</td></tr>
* <tr valign="top">
* <td>C</td>
* <td>unsigned char</td></tr>
* <tr valign="top">
* <td>s</td>
* <td>signed short (always 16 bit, machine byte order)</td>
* </tr>
* <tr valign="top">
* <td>S</td>
* <td>unsigned short (always 16 bit, machine byte order)</td>
* </tr>
* <tr valign="top">
* <td>n</td>
* <td>unsigned short (always 16 bit, big endian byte order)</td>
* </tr>
* <tr valign="top">
* <td>v</td>
* <td>unsigned short (always 16 bit, little endian byte order)</td>
* </tr>
* <tr valign="top">
* <td>i</td>
* <td>signed integer (machine dependent size and byte order)</td>
* </tr>
* <tr valign="top">
* <td>I</td>
* <td>unsigned integer (machine dependent size and byte order)</td>
* </tr>
* <tr valign="top">
* <td>l</td>
* <td>signed long (always 32 bit, machine byte order)</td>
* </tr>
* <tr valign="top">
* <td>L</td>
* <td>unsigned long (always 32 bit, machine byte order)</td>
* </tr>
* <tr valign="top">
* <td>N</td>
* <td>unsigned long (always 32 bit, big endian byte order)</td>
* </tr>
* <tr valign="top">
* <td>V</td>
* <td>unsigned long (always 32 bit, little endian byte order)</td>
* </tr>
* <tr valign="top">
* <td>f</td>
* <td>float (machine dependent size and representation)</td>
* </tr>
* <tr valign="top">
* <td>d</td>
* <td>double (machine dependent size and representation)</td>
* </tr>
* <tr valign="top">
* <td>x</td>
* <td>NUL byte</td>
* </tr>
* <tr valign="top">
* <td>X</td>
* <td>Back up one byte</td>
* </tr>
* <tr valign="top">
* <td>Z</td>
* <td>NUL-padded string (new in PHP 5.5)</td>
* </tr>
* <tr valign="top">
* <td>@</td>
* <td>NUL-fill to absolute position</td>
* </tr>
*
*
* </table>
* </p>
* @param args mixed[optional] <p>
* </p>
* @param _ mixed[optional]
* @return string a binary string containing data.
*/
function pack ($format, $args = null, $_ = null) {}
/**
* Unpack data from binary string
* @link http://www.php.net/manual/en/function.unpack.php
* @param format string <p>
* See pack for an explanation of the format codes.
* </p>
* @param data string <p>
* The packed data.
* </p>
* @return array an associative array containing unpacked elements of binary
* string.
*/
function unpack ($format, $data) {}
/**
* Tells what the user's browser is capable of
* @link http://www.php.net/manual/en/function.get-browser.php
* @param user_agent string[optional] <p>
* The User Agent to be analyzed. By default, the value of HTTP
* User-Agent header is used; however, you can alter this (i.e., look up
* another browser's info) by passing this parameter.
* </p>
* <p>
* You can bypass this parameter with a &null; value.
* </p>
* @param return_array bool[optional] <p>
* If set to true, this function will return an array
* instead of an object.
* </p>
* @return mixed The information is returned in an object or an array which will contain
* various data elements representing, for instance, the browser's major and
* minor version numbers and ID string; true/false values for features
* such as frames, JavaScript, and cookies; and so forth.
* </p>
* <p>
* The cookies value simply means that the browser
* itself is capable of accepting cookies and does not mean the user has
* enabled the browser to accept cookies or not. The only way to test if
* cookies are accepted is to set one with setcookie,
* reload, and check for the value.
*/
function get_browser ($user_agent = null, $return_array = null) {}
/**
* One-way string hashing
* @link http://www.php.net/manual/en/function.crypt.php
* @param str string <p>
* The string to be hashed.
* </p>
*
* <p>
* Using the CRYPT_BLOWFISH algorithm, will result
* in the str parameter being truncated to a
* maximum length of 72 characters.
* </p>
* @param salt string[optional] <p>
* An optional salt string to base the hashing on. If not provided, the
* behaviour is defined by the algorithm implementation and can lead to
* unexpected results.
* </p>
* @return string the hashed string or a string that is shorter than 13 characters
* and is guaranteed to differ from the salt on failure.
*/
function crypt ($str, $salt = null) {}
/**
* Open directory handle
* @link http://www.php.net/manual/en/function.opendir.php
* @param path string <p>
* The directory path that is to be opened
* </p>
* @param context resource[optional] <p>
* For a description of the context parameter,
* refer to the streams section of
* the manual.
* </p>
* @return resource a directory handle resource on success, or
* false on failure.
* </p>
* <p>
* If path is not a valid directory or the
* directory can not be opened due to permission restrictions or
* filesystem errors, opendir returns false and
* generates a PHP error of level
* E_WARNING. You can suppress the error output of
* opendir by prepending
* '@' to the
* front of the function name.
*/
function opendir ($path, $context = null) {}
/**
* Close directory handle
* @link http://www.php.net/manual/en/function.closedir.php
* @param dir_handle resource[optional] <p>
* The directory handle resource previously opened
* with opendir. If the directory handle is
* not specified, the last link opened by opendir
* is assumed.
* </p>
* @return void
*/
function closedir ($dir_handle = null) {}
/**
* Change directory
* @link http://www.php.net/manual/en/function.chdir.php
* @param directory string <p>
* The new current directory
* </p>
* @return bool Returns true on success, false on failure.
*/
function chdir ($directory) {}
/**
* Gets the current working directory
* @link http://www.php.net/manual/en/function.getcwd.php
* @return string the current working directory on success, or false on
* failure.
* </p>
* <p>
* On some Unix variants, getcwd will return
* false if any one of the parent directories does not have the
* readable or search mode set, even if the current directory
* does. See chmod for more information on
* modes and permissions.
*/
function getcwd () {}
/**
* Rewind directory handle
* @link http://www.php.net/manual/en/function.rewinddir.php
* @param dir_handle resource[optional] <p>
* The directory handle resource previously opened
* with opendir. If the directory handle is
* not specified, the last link opened by opendir
* is assumed.
* </p>
* @return void
*/
function rewinddir ($dir_handle = null) {}
/**
* Read entry from directory handle
* @link http://www.php.net/manual/en/function.readdir.php
* @param dir_handle resource[optional] <p>
* The directory handle resource previously opened
* with opendir. If the directory handle is
* not specified, the last link opened by opendir
* is assumed.
* </p>
* @return string the entry name on success&return.falseforfailure;.
*/
function readdir ($dir_handle = null) {}
/**
* Return an instance of the Directory class
* @link http://www.php.net/manual/en/function.dir.php
* @param directory string <p>
* Directory to open
* </p>
* @param context resource[optional] <p>
* ¬e.context-support;
* </p>
* @return Directory an instance of Directory, or &null; with
* wrong parameters, or false in case of another error.
*/
function dir ($directory, $context = null) {}
/**
* List files and directories inside the specified path
* @link http://www.php.net/manual/en/function.scandir.php
* @param directory string <p>
* The directory that will be scanned.
* </p>
* @param sorting_order int[optional] <p>
* By default, the sorted order is alphabetical in ascending order. If
* the optional sorting_order is set to
* SCANDIR_SORT_DESCENDING, then the sort order is
* alphabetical in descending order. If it is set to
* SCANDIR_SORT_NONE then the result is unsorted.
* </p>
* @param context resource[optional] <p>
* For a description of the context parameter,
* refer to the streams section of
* the manual.
* </p>
* @return array an array of filenames on success, or false on
* failure. If directory is not a directory, then
* boolean false is returned, and an error of level
* E_WARNING is generated.
*/
function scandir ($directory, $sorting_order = null, $context = null) {}
/**
* Find pathnames matching a pattern
* @link http://www.php.net/manual/en/function.glob.php
* @param pattern string <p>
* The pattern. No tilde expansion or parameter substitution is done.
* </p>
* @param flags int[optional] <p>
* Valid flags:
*
*
*
* GLOB_MARK - Adds a slash to each directory returned
* @return array an array containing the matched files/directories, an empty array
* if no file matched or false on error.
* </p>
*
* <p>
* On some systems it is impossible to distinguish between empty match and an
* error.
*/
function glob ($pattern, $flags = null) {}
/**
* Gets last access time of file
* @link http://www.php.net/manual/en/function.fileatime.php
* @param filename string <p>
* Path to the file.
* </p>
* @return int the time the file was last accessed, &return.falseforfailure;.
* The time is returned as a Unix timestamp.
*/
function fileatime ($filename) {}
/**
* Gets inode change time of file
* @link http://www.php.net/manual/en/function.filectime.php
* @param filename string <p>
* Path to the file.
* </p>
* @return int the time the file was last changed, &return.falseforfailure;.
* The time is returned as a Unix timestamp.
*/
function filectime ($filename) {}
/**
* Gets file group
* @link http://www.php.net/manual/en/function.filegroup.php
* @param filename string <p>
* Path to the file.
* </p>
* @return int the group ID of the file, or false if
* an error occurs. The group ID is returned in numerical format, use
* posix_getgrgid to resolve it to a group name.
* Upon failure, false is returned.
*/
function filegroup ($filename) {}
/**
* Gets file inode
* @link http://www.php.net/manual/en/function.fileinode.php
* @param filename string <p>
* Path to the file.
* </p>
* @return int the inode number of the file, &return.falseforfailure;.
*/
function fileinode ($filename) {}
/**
* Gets file modification time
* @link http://www.php.net/manual/en/function.filemtime.php
* @param filename string <p>
* Path to the file.
* </p>
* @return int the time the file was last modified, &return.falseforfailure;.
* The time is returned as a Unix timestamp, which is
* suitable for the date function.
*/
function filemtime ($filename) {}
/**
* Gets file owner
* @link http://www.php.net/manual/en/function.fileowner.php
* @param filename string <p>
* Path to the file.
* </p>
* @return int the user ID of the owner of the file, &return.falseforfailure;.
* The user ID is returned in numerical format, use
* posix_getpwuid to resolve it to a username.
*/
function fileowner ($filename) {}
/**
* Gets file permissions
* @link http://www.php.net/manual/en/function.fileperms.php
* @param filename string <p>
* Path to the file.
* </p>
* @return int the file's permissions as a numeric mode. Lower bits of this mode
* are the same as the permissions expected by chmod,
* however on most platforms the return value will also include information on
* the type of file given as filename. The examples
* below demonstrate how to test the return value for specific permissions and
* file types on POSIX systems, including Linux and Mac OS X.
* </p>
* <p>
* For local files, the specific return value is that of the
* st_mode member of the structure returned by the C
* library's stat function. Exactly which bits are set
* can vary from platform to platform, and looking up your specific platform's
* documentation is recommended if parsing the non-permission bits of the
* return value is required.
*/
function fileperms ($filename) {}
/**
* Gets file size
* @link http://www.php.net/manual/en/function.filesize.php
* @param filename string <p>
* Path to the file.
* </p>
* @return int the size of the file in bytes, or false (and generates an error
* of level E_WARNING) in case of an error.
*/
function filesize ($filename) {}
/**
* Gets file type
* @link http://www.php.net/manual/en/function.filetype.php
* @param filename string <p>
* Path to the file.
* </p>
* @return string the type of the file. Possible values are fifo, char,
* dir, block, link, file, socket and unknown.
* </p>
* <p>
* Returns false if an error occurs. filetype will also
* produce an E_NOTICE message if the stat call fails
* or if the file type is unknown.
*/
function filetype ($filename) {}
/**
* Checks whether a file or directory exists
* @link http://www.php.net/manual/en/function.file-exists.php
* @param filename string <p>
* Path to the file or directory.
* </p>
* <p>
* On windows, use //computername/share/filename or
* \\computername\share\filename to check files on
* network shares.
* </p>
* @return bool true if the file or directory specified by
* filename exists; false otherwise.
* </p>
*
* <p>
* This function will return false for symlinks pointing to non-existing
* files.
* </p>
*
*
* <p>
* This function returns false for files inaccessible due to safe mode restrictions. However these
* files still can be included if
* they are located in safe_mode_include_dir.
* </p>
*
*
* <p>
* The check is done using the real UID/GID instead of the effective one.
*/
function file_exists ($filename) {}
/**
* Tells whether the filename is writable
* @link http://www.php.net/manual/en/function.is-writable.php
* @param filename string <p>
* The filename being checked.
* </p>
* @return bool true if the filename exists and is
* writable.
*/
function is_writable ($filename) {}
/**
* &Alias; <function>is_writable</function>
* @link http://www.php.net/manual/en/function.is-writeable.php
* @param filename
*/
function is_writeable ($filename) {}
/**
* Tells whether a file exists and is readable
* @link http://www.php.net/manual/en/function.is-readable.php
* @param filename string <p>
* Path to the file.
* </p>
* @return bool true if the file or directory specified by
* filename exists and is readable, false otherwise.
*/
function is_readable ($filename) {}
/**
* Tells whether the filename is executable
* @link http://www.php.net/manual/en/function.is-executable.php
* @param filename string <p>
* Path to the file.
* </p>
* @return bool true if the filename exists and is executable, or false on
* error.
*/
function is_executable ($filename) {}
/**
* Tells whether the filename is a regular file
* @link http://www.php.net/manual/en/function.is-file.php
* @param filename string <p>
* Path to the file.
* </p>
* @return bool true if the filename exists and is a regular file, false
* otherwise.
*/
function is_file ($filename) {}
/**
* Tells whether the filename is a directory
* @link http://www.php.net/manual/en/function.is-dir.php
* @param filename string <p>
* Path to the file. If filename is a relative
* filename, it will be checked relative to the current working
* directory. If filename is a symbolic or hard link
* then the link will be resolved and checked. If you have enabled &safemode;,
* or open_basedir further
* restrictions may apply.
* </p>
* @return bool true if the filename exists and is a directory, false
* otherwise.
*/
function is_dir ($filename) {}
/**
* Tells whether the filename is a symbolic link
* @link http://www.php.net/manual/en/function.is-link.php
* @param filename string <p>
* Path to the file.
* </p>
* @return bool true if the filename exists and is a symbolic link, false
* otherwise.
*/
function is_link ($filename) {}
/**
* Gives information about a file
* @link http://www.php.net/manual/en/function.stat.php
* @param filename string <p>
* Path to the file.
* </p>
* @return array <table>
* stat and fstat result
* format
*
*
* <tr valign="top">
* <td>Numeric</td>
* <td>Associative</td>
* <td>Description</td>
* </tr>
*
*
* <tr valign="top">
* <td>0</td>
* <td>dev</td>
* <td>device number</td>
* </tr>
* <tr valign="top">
* <td>1</td>
* <td>ino</td>
* <td>inode number *</td>
* </tr>
* <tr valign="top">
* <td>2</td>
* <td>mode</td>
* <td>inode protection mode</td>
* </tr>
* <tr valign="top">
* <td>3</td>
* <td>nlink</td>
* <td>number of links</td>
* </tr>
* <tr valign="top">
* <td>4</td>
* <td>uid</td>
* <td>userid of owner *</td>
* </tr>
* <tr valign="top">
* <td>5</td>
* <td>gid</td>
* <td>groupid of owner *</td>
* </tr>
* <tr valign="top">
* <td>6</td>
* <td>rdev</td>
* <td>device type, if inode device</td>
* </tr>
* <tr valign="top">
* <td>7</td>
* <td>size</td>
* <td>size in bytes</td>
* </tr>
* <tr valign="top">
* <td>8</td>
* <td>atime</td>
* <td>time of last access (Unix timestamp)</td>
* </tr>
* <tr valign="top">
* <td>9</td>
* <td>mtime</td>
* <td>time of last modification (Unix timestamp)</td>
* </tr>
* <tr valign="top">
* <td>10</td>
* <td>ctime</td>
* <td>time of last inode change (Unix timestamp)</td>
* </tr>
* <tr valign="top">
* <td>11</td>
* <td>blksize</td>
* <td>blocksize of filesystem IO **</td>
* </tr>
* <tr valign="top">
* <td>12</td>
* <td>blocks</td>
* <td>number of 512-byte blocks allocated **</td>
* </tr>
*
*
* </table>
* * On Windows this will always be 0.
* </p>
* <p>
* ** Only valid on systems supporting the st_blksize type - other
* systems (e.g. Windows) return -1.
* </p>
* <p>
* In case of error, stat returns false.
*/
function stat ($filename) {}
/**
* Gives information about a file or symbolic link
* @link http://www.php.net/manual/en/function.lstat.php
* @param filename string <p>
* Path to a file or a symbolic link.
* </p>
* @return array See the manual page for stat for information on
* the structure of the array that lstat returns.
* This function is identical to the stat function
* except that if the filename parameter is a symbolic
* link, the status of the symbolic link is returned, not the status of the
* file pointed to by the symbolic link.
*/
function lstat ($filename) {}
/**
* Changes file owner
* @link http://www.php.net/manual/en/function.chown.php
* @param filename string <p>
* Path to the file.
* </p>
* @param user mixed <p>
* A user name or number.
* </p>
* @return bool Returns true on success, false on failure.
*/
function chown ($filename, $user) {}
/**
* Changes file group
* @link http://www.php.net/manual/en/function.chgrp.php
* @param filename string <p>
* Path to the file.
* </p>
* @param group mixed <p>
* A group name or number.
* </p>
* @return bool Returns true on success, false on failure.
*/
function chgrp ($filename, $group) {}
/**
* Changes user ownership of symlink
* @link http://www.php.net/manual/en/function.lchown.php
* @param filename string <p>
* Path to the file.
* </p>
* @param user mixed <p>
* User name or number.
* </p>
* @return bool Returns true on success, false on failure.
*/
function lchown ($filename, $user) {}
/**
* Changes group ownership of symlink
* @link http://www.php.net/manual/en/function.lchgrp.php
* @param filename string <p>
* Path to the symlink.
* </p>
* @param group mixed <p>
* The group specified by name or number.
* </p>
* @return bool Returns true on success, false on failure.
*/
function lchgrp ($filename, $group) {}
/**
* Changes file mode
* @link http://www.php.net/manual/en/function.chmod.php
* @param filename string <p>
* Path to the file.
* </p>
* @param mode int <p>
* Note that mode is not automatically
* assumed to be an octal value, so to ensure the expected operation,
* you need to prefix mode with a zero (0).
* Strings such as "g+w" will not work properly.
* </p>
* <p>
*
*
* ]]>
*
*
* </p>
* <p>
* The mode parameter consists of three octal
* number components specifying access restrictions for the owner,
* the user group in which the owner is in, and to everybody else in
* this order. One component can be computed by adding up the needed
* permissions for that target user base. Number 1 means that you
* grant execute rights, number 2 means that you make the file
* writeable, number 4 means that you make the file readable. Add
* up these numbers to specify needed rights. You can also read more
* about modes on Unix systems with 'man 1 chmod'
* and 'man 2 chmod'.
* </p>
* <p>
* @return bool Returns true on success, false on failure.
*/
function chmod ($filename, $mode) {}
/**
* Sets access and modification time of file
* @link http://www.php.net/manual/en/function.touch.php
* @param filename string <p>
* The name of the file being touched.
* </p>
* @param time int[optional] <p>
* The touch time. If time is not supplied,
* the current system time is used.
* </p>
* @param atime int[optional] <p>
* If present, the access time of the given filename is set to
* the value of atime. Otherwise, it is set to
* the value passed to the time parameter.
* If neither are present, the current system time is used.
* </p>
* @return bool Returns true on success, false on failure.
*/
function touch ($filename, $time = null, $atime = null) {}
/**
* Clears file status cache
* @link http://www.php.net/manual/en/function.clearstatcache.php
* @param clear_realpath_cache bool[optional] <p>
* Whether to clear the realpath cache or not.
* </p>
* @param filename string[optional] <p>
* Clear the realpath and the stat cache for a specific filename only; only
* used if clear_realpath_cache is true.
* </p>
* @return void
*/
function clearstatcache ($clear_realpath_cache = null, $filename = null) {}
/**
* Returns the total size of a filesystem or disk partition
* @link http://www.php.net/manual/en/function.disk-total-space.php
* @param directory string <p>
* A directory of the filesystem or disk partition.
* </p>
* @return float the total number of bytes as a float
* &return.falseforfailure;.
*/
function disk_total_space ($directory) {}
/**
* Returns available space on filesystem or disk partition
* @link http://www.php.net/manual/en/function.disk-free-space.php
* @param directory string <p>
* A directory of the filesystem or disk partition.
* </p>
*
* <p>
* Given a file name instead of a directory, the behaviour of the
* function is unspecified and may differ between operating systems and
* PHP versions.
* </p>
* @return float the number of available bytes as a float
* &return.falseforfailure;.
*/
function disk_free_space ($directory) {}
/**
* &Alias; <function>disk_free_space</function>
* @link http://www.php.net/manual/en/function.diskfreespace.php
* @param path
*/
function diskfreespace ($path) {}
/**
* Get realpath cache size
* @link http://www.php.net/manual/en/function.realpath-cache-size.php
* @return int how much memory realpath cache is using.
*/
function realpath_cache_size () {}
/**
* Get realpath cache entries
* @link http://www.php.net/manual/en/function.realpath-cache-get.php
* @return array an array of realpath cache entries. The keys are original path
* entries, and the values are arrays of data items, containing the resolved
* path, expiration date, and other options kept in the cache.
*/
function realpath_cache_get () {}
/**
* Send mail
* @link http://www.php.net/manual/en/function.mail.php
* @param to string <p>
* Receiver, or receivers of the mail.
* </p>
* <p>
* The formatting of this string must comply with
* RFC 2822. Some examples are:
*
* user@example.com
* user@example.com, anotheruser@example.com
* User
* User , Another User
*
* </p>
* @param subject string <p>
* Subject of the email to be sent.
* </p>
*
* <p>
* Subject must satisfy RFC 2047.
* </p>
* @param message string <p>
* Message to be sent.
* </p>
* <p>
* Each line should be separated with a CRLF (\r\n). Lines should not be
* larger than 70 characters.
* </p>
*
* <p>
* (Windows only) When PHP is talking to a SMTP server directly, if a full
* stop is found on the start of a line, it is removed. To counter-act this,
* replace these occurrences with a double dot.
*
* ]]>
*
* </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).
* If outside data are used to compose this header, the data should be sanitized
* so that no unwanted headers could be injected.
* </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_parameters string[optional] <p>
* The additional_parameters parameter
* can be used to pass additional flags as command line options to the
* program configured to be used when sending mail, as defined by the
* sendmail_path configuration setting. For example,
* this can be used to set the envelope sender address when using
* sendmail with the -f sendmail option.
* </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 reasons,
* it is recommended for the user to sanitize this parameter to avoid adding unwanted
* parameters to the shell command.
* </p>
* <p>
* Since escapeshellcmd is applied automatically, some characters
* that are allowed as email addresses by internet RFCs cannot be used.
* mail can not allow such characters, so in programs where the use of
* such characters is required, alternative means of sending emails (such as using a framework
* or a library) is recommended.
* </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 true if the mail was successfully accepted for delivery, false otherwise.
* </p>
* <p>
* It is important to note that just because the mail was accepted for delivery,
* it does NOT mean the mail will actually reach the intended destination.
*/
function mail ($to, $subject, $message, $additional_headers = null, $additional_parameters = null) {}
/**
* Calculate the hash value needed by EZMLM
* @link http://www.php.net/manual/en/function.ezmlm-hash.php
* @param addr string <p>
* The email address that's being hashed.
* </p>
* @return int The hash value of addr.
*/
function ezmlm_hash ($addr) {}
/**
* Open connection to system logger
* @link http://www.php.net/manual/en/function.openlog.php
* @param ident string <p>
* The string ident is added to each message.
* </p>
* @param option int <p>
* The option argument is used to indicate
* what logging options will be used when generating a log message.
* <table>
* openlog Options
*
*
* <tr valign="top">
* <td>Constant</td>
* <td>Description</td>
* </tr>
*
*
* <tr valign="top">
* <td>LOG_CONS</td>
* <td>
* if there is an error while sending data to the system logger,
* write directly to the system console
* </td>
* </tr>
* <tr valign="top">
* <td>LOG_NDELAY</td>
* <td>
* open the connection to the logger immediately
* </td>
* </tr>
* <tr valign="top">
* <td>LOG_ODELAY</td>
* <td>
* (default) delay opening the connection until the first
* message is logged
* </td>
* </tr>
* <tr valign="top">
* <td>LOG_PERROR</td>
* <td>print log message also to standard error</td>
* </tr>
* <tr valign="top">
* <td>LOG_PID</td>
* <td>include PID with each message</td>
* </tr>
*
*
* </table>
* You can use one or more of this options. When using multiple options
* you need to OR them, i.e. to open the connection
* immediately, write to the console and include the PID in each message,
* you will use: LOG_CONS | LOG_NDELAY | LOG_PID
* </p>
* @param facility int <p>
* The facility argument is used to specify what
* type of program is logging the message. This allows you to specify
* (in your machine's syslog configuration) how messages coming from
* different facilities will be handled.
* <table>
* openlog Facilities
*
*
* <tr valign="top">
* <td>Constant</td>
* <td>Description</td>
* </tr>
*
*
* <tr valign="top">
* <td>LOG_AUTH</td>
* <td>
* security/authorization messages (use
* LOG_AUTHPRIV instead
* in systems where that constant is defined)
* </td>
* </tr>
* <tr valign="top">
* <td>LOG_AUTHPRIV</td>
* <td>security/authorization messages (private)</td>
* </tr>
* <tr valign="top">
* <td>LOG_CRON</td>
* <td>clock daemon (cron and at)</td>
* </tr>
* <tr valign="top">
* <td>LOG_DAEMON</td>
* <td>other system daemons</td>
* </tr>
* <tr valign="top">
* <td>LOG_KERN</td>
* <td>kernel messages</td>
* </tr>
* <tr valign="top">
* <td>LOG_LOCAL0 ... LOG_LOCAL7</td>
* <td>reserved for local use, these are not available in Windows</td>
* </tr>
* <tr valign="top">
* <td>LOG_LPR</td>
* <td>line printer subsystem</td>
* </tr>
* <tr valign="top">
* <td>LOG_MAIL</td>
* <td>mail subsystem</td>
* </tr>
* <tr valign="top">
* <td>LOG_NEWS</td>
* <td>USENET news subsystem</td>
* </tr>
* <tr valign="top">
* <td>LOG_SYSLOG</td>
* <td>messages generated internally by syslogd</td>
* </tr>
* <tr valign="top">
* <td>LOG_USER</td>
* <td>generic user-level messages</td>
* </tr>
* <tr valign="top">
* <td>LOG_UUCP</td>
* <td>UUCP subsystem</td>
* </tr>
*
*
* </table>
* </p>
*
* <p>
* LOG_USER is the only valid log type under Windows
* operating systems
* </p>
* @return bool Returns true on success, false on failure.
*/
function openlog ($ident, $option, $facility) {}
/**
* Generate a system log message
* @link http://www.php.net/manual/en/function.syslog.php
* @param priority int <p>
* priority is a combination of the facility and
* the level. Possible values are:
* <table>
* syslog Priorities (in descending order)
*
*
* <tr valign="top">
* <td>Constant</td>
* <td>Description</td>
* </tr>
*
*
* <tr valign="top">
* <td>LOG_EMERG</td>
* <td>system is unusable</td>
* </tr>
* <tr valign="top">
* <td>LOG_ALERT</td>
* <td>action must be taken immediately</td>
* </tr>
* <tr valign="top">
* <td>LOG_CRIT</td>
* <td>critical conditions</td>
* </tr>
* <tr valign="top">
* <td>LOG_ERR</td>
* <td>error conditions</td>
* </tr>
* <tr valign="top">
* <td>LOG_WARNING</td>
* <td>warning conditions</td>
* </tr>
* <tr valign="top">
* <td>LOG_NOTICE</td>
* <td>normal, but significant, condition</td>
* </tr>
* <tr valign="top">
* <td>LOG_INFO</td>
* <td>informational message</td>
* </tr>
* <tr valign="top">
* <td>LOG_DEBUG</td>
* <td>debug-level message</td>
* </tr>
*
*
* </table>
* </p>
* @param message string <p>
* The message to send, except that the two characters
* %m will be replaced by the error message string
* (strerror) corresponding to the present value of
* errno.
* </p>
* @return bool Returns true on success, false on failure.
*/
function syslog ($priority, $message) {}
/**
* Close connection to system logger
* @link http://www.php.net/manual/en/function.closelog.php
* @return bool Returns true on success, false on failure.
*/
function closelog () {}
/**
* Combined linear congruential generator
* @link http://www.php.net/manual/en/function.lcg-value.php
* @return float A pseudo random float value in the range of (0, 1)
*/
function lcg_value () {}
/**
* Calculate the metaphone key of a string
* @link http://www.php.net/manual/en/function.metaphone.php
* @param str string <p>
* The input string.
* </p>
* @param phonemes int[optional] <p>
* This parameter restricts the returned metaphone key to
* phonemes characters in length.
* The default value of 0 means no restriction.
* </p>
* @return string the metaphone key as a string, &return.falseforfailure;.
*/
function metaphone ($str, $phonemes = null) {}
/**
* Turn on output buffering
* @link http://www.php.net/manual/en/function.ob-start.php
* @param output_callback callable[optional] <p>
* An optional output_callback function may be
* specified. This function takes a string as a parameter and should
* return a string. The function will be called when
* the output buffer is flushed (sent) or cleaned (with
* ob_flush, ob_clean or similar
* function) or when the output buffer
* is flushed to the browser at the end of the request. When
* output_callback is called, it will receive the
* contents of the output buffer as its parameter and is expected to
* return a new output buffer as a result, which will be sent to the
* browser. If the output_callback is not a
* callable function, this function will return false.
* This is the callback signature:
* </p>
* <p>
*
* stringhandler
* stringbuffer
* intphase
*
*
*
* buffer
*
*
* Contents of the output buffer.
* @param chunk_size int[optional] <p>
* If the optional parameter chunk_size is passed, the
* buffer will be flushed after any output call which causes the buffer's
* length to equal or exceed chunk_size. The default
* value 0 means that the output function will only be
* called when the output buffer is closed.
* </p>
* <p>
* Prior to PHP 5.4.0, the value 1 was a special case
* value that set the chunk size to 4096 bytes.
* </p>
* @param flags int[optional] <p>
* The flags parameter is a bitmask that controls
* the operations that can be performed on the output buffer. The default
* is to allow output buffers to be cleaned, flushed and removed, which
* can be set explicitly via
* PHP_OUTPUT_HANDLER_CLEANABLE |
* PHP_OUTPUT_HANDLER_FLUSHABLE |
* PHP_OUTPUT_HANDLER_REMOVABLE, or
* PHP_OUTPUT_HANDLER_STDFLAGS as shorthand.
* </p>
* <p>
* Each flag controls access to a set of functions, as described below:
*
*
*
* <tr valign="top">
* <td>Constant</td>
* <td>Functions</td>
* </tr>
*
*
* <tr valign="top">
* <td>PHP_OUTPUT_HANDLER_CLEANABLE</td>
* <td>
* ob_clean,
* ob_end_clean, and
* ob_get_clean.
* </td>
* </tr>
* <tr valign="top">
* <td>PHP_OUTPUT_HANDLER_FLUSHABLE</td>
* <td>
* ob_end_flush,
* ob_flush, and
* ob_get_flush.
* </td>
* </tr>
* <tr valign="top">
* <td>PHP_OUTPUT_HANDLER_REMOVABLE</td>
* <td>
* ob_end_clean,
* ob_end_flush, and
* ob_get_flush.
* </td>
* </tr>
*
*
*
* </p>
* @return bool Returns true on success, false on failure.
*/
function ob_start ($output_callback = null, $chunk_size = null, $flags = null) {}
/**
* Flush (send) the output buffer
* @link http://www.php.net/manual/en/function.ob-flush.php
* @return void
*/
function ob_flush () {}
/**
* Clean (erase) the output buffer
* @link http://www.php.net/manual/en/function.ob-clean.php
* @return void
*/
function ob_clean () {}
/**
* Flush (send) the output buffer and turn off output buffering
* @link http://www.php.net/manual/en/function.ob-end-flush.php
* @return bool Returns true on success, false on failure. Reasons for failure are first that you called the
* function without an active buffer or that for some reason a buffer could
* not be deleted (possible for special buffer).
*/
function ob_end_flush () {}
/**
* Clean (erase) the output buffer and turn off output buffering
* @link http://www.php.net/manual/en/function.ob-end-clean.php
* @return bool Returns true on success, false on failure. Reasons for failure are first that you called the
* function without an active buffer or that for some reason a buffer could
* not be deleted (possible for special buffer).
*/
function ob_end_clean () {}
/**
* Flush the output buffer, return it as a string and turn off output buffering
* @link http://www.php.net/manual/en/function.ob-get-flush.php
* @return string the output buffer or false if no buffering is active.
*/
function ob_get_flush () {}
/**
* Get current buffer contents and delete current output buffer
* @link http://www.php.net/manual/en/function.ob-get-clean.php
* @return string the contents of the output buffer and end output buffering.
* If output buffering isn't active then false is returned.
*/
function ob_get_clean () {}
/**
* Return the length of the output buffer
* @link http://www.php.net/manual/en/function.ob-get-length.php
* @return int the length of the output buffer contents or false if no
* buffering is active.
*/
function ob_get_length () {}
/**
* Return the nesting level of the output buffering mechanism
* @link http://www.php.net/manual/en/function.ob-get-level.php
* @return int the level of nested output buffering handlers or zero if output
* buffering is not active.
*/
function ob_get_level () {}
/**
* Get status of output buffers
* @link http://www.php.net/manual/en/function.ob-get-status.php
* @param full_status bool[optional] <p>
* true to return all active output buffer levels. If false or not
* set, only the top level output buffer is returned.
* </p>
* @return array If called without the full_status parameter
* or with full_status = false a simple array
* with the following elements is returned:
*
*
* 2
* [type] => 0
* [status] => 0
* [name] => URL-Rewriter
* [del] => 1
* )
* ]]>
*
*
*
* Simple ob_get_status results
* KeyValue
* levelOutput nesting level
* typePHP_OUTPUT_HANDLER_INTERNAL (0) or PHP_OUTPUT_HANDLER_USER (1)
* statusOne of PHP_OUTPUT_HANDLER_START (0), PHP_OUTPUT_HANDLER_CONT (1) or PHP_OUTPUT_HANDLER_END (2)
* nameName of active output handler or ' default output handler' if none is set
* delErase-flag as set by ob_start
*
* </p>
* <p>
* If called with full_status = true an array
* with one element for each active output buffer level is returned.
* The output level is used as key of the top level array and each array
* element itself is another array holding status information
* on one active output level.
*
*
* Array
* (
* [chunk_size] => 0
* [size] => 40960
* [block_size] => 10240
* [type] => 1
* [status] => 0
* [name] => default output handler
* [del] => 1
* )
* [1] => Array
* (
* [chunk_size] => 0
* [size] => 40960
* [block_size] => 10240
* [type] => 0
* [buffer_size] => 0
* [status] => 0
* [name] => URL-Rewriter
* [del] => 1
* )
* )
* ]]>
*
*
* </p>
* <p>
* The full output contains these additional elements:
*
* Full ob_get_status results
* KeyValue
* chunk_sizeChunk size as set by ob_start
* size...
* blocksize...
*/
function ob_get_status ($full_status = null) {}
/**
* Return the contents of the output buffer
* @link http://www.php.net/manual/en/function.ob-get-contents.php
* @return string This will return the contents of the output buffer or false, if output
* buffering isn't active.
*/
function ob_get_contents () {}
/**
* Turn implicit flush on/off
* @link http://www.php.net/manual/en/function.ob-implicit-flush.php
* @param flag int[optional] <p>
* true to turn implicit flushing on, false otherwise.
* </p>
* @return void
*/
function ob_implicit_flush ($flag = null) {}
/**
* List all output handlers in use
* @link http://www.php.net/manual/en/function.ob-list-handlers.php
* @return array This will return an array with the output handlers in use (if any). If
* output_buffering is enabled or
* an anonymous function was used with ob_start,
* ob_list_handlers will return "default output
* handler".
*/
function ob_list_handlers () {}
/**
* Sort an array by key
* @link http://www.php.net/manual/en/function.ksort.php
* @param array array <p>
* The input array.
* </p>
* @param sort_flags int[optional] <p>
* You may modify the behavior of the sort using the optional
* parameter sort_flags, for details
* see sort.
* </p>
* @return bool Returns true on success, false on failure.
*/
function ksort (array &$array, $sort_flags = null) {}
/**
* Sort an array by key in reverse order
* @link http://www.php.net/manual/en/function.krsort.php
* @param array array <p>
* The input array.
* </p>
* @param sort_flags int[optional] <p>
* You may modify the behavior of the sort using the optional parameter
* sort_flags, for details see
* sort.
* </p>
* @return bool Returns true on success, false on failure.
*/
function krsort (array &$array, $sort_flags = null) {}
/**
* Sort an array using a "natural order" algorithm
* @link http://www.php.net/manual/en/function.natsort.php
* @param array array <p>
* The input array.
* </p>
* @return bool Returns true on success, false on failure.
*/
function natsort (array &$array) {}
/**
* Sort an array using a case insensitive "natural order" algorithm
* @link http://www.php.net/manual/en/function.natcasesort.php
* @param array array <p>
* The input array.
* </p>
* @return bool Returns true on success, false on failure.
*/
function natcasesort (array &$array) {}
/**
* Sort an array and maintain index association
* @link http://www.php.net/manual/en/function.asort.php
* @param array array <p>
* The input array.
* </p>
* @param sort_flags int[optional] <p>
* You may modify the behavior of the sort using the optional
* parameter sort_flags, for details
* see sort.
* </p>
* @return bool Returns true on success, false on failure.
*/
function asort (array &$array, $sort_flags = null) {}
/**
* Sort an array in reverse order and maintain index association
* @link http://www.php.net/manual/en/function.arsort.php
* @param array array <p>
* The input array.
* </p>
* @param sort_flags int[optional] <p>
* You may modify the behavior of the sort using the optional parameter
* sort_flags, for details see
* sort.
* </p>
* @return bool Returns true on success, false on failure.
*/
function arsort (array &$array, $sort_flags = null) {}
/**
* Sort an array
* @link http://www.php.net/manual/en/function.sort.php
* @param array array <p>
* The input array.
* </p>
* @param sort_flags int[optional] <p>
* The optional second parameter sort_flags
* may be used to modify the sorting behavior using these values:
* </p>
* <p>
* Sorting type flags:
*
*
* SORT_REGULAR - compare items normally
* (don't change types)
* @return bool Returns true on success, false on failure.
*/
function sort (array &$array, $sort_flags = null) {}
/**
* Sort an array in reverse order
* @link http://www.php.net/manual/en/function.rsort.php
* @param array array <p>
* The input array.
* </p>
* @param sort_flags int[optional] <p>
* You may modify the behavior of the sort using the optional
* parameter sort_flags, for details see
* sort.
* </p>
* @return bool Returns true on success, false on failure.
*/
function rsort (array &$array, $sort_flags = null) {}
/**
* Sort an array by values using a user-defined comparison function
* @link http://www.php.net/manual/en/function.usort.php
* @param array array <p>
* The input array.
* </p>
* @param value_compare_func callable <p>
* &return.callbacksort;
* </p>
* &callback.cmp;
*
* <p>
* Returning non-integer values from the comparison
* function, such as float, will result in an internal cast to
* integer of the callback's return value. So values such as
* 0.99 and 0.1 will both be cast to an integer value of 0, which will
* compare such values as equal.
* </p>
* @return bool Returns true on success, false on failure.
*/
function usort (array &$array, $value_compare_func) {}
/**
* Sort an array with a user-defined comparison function and maintain index association
* @link http://www.php.net/manual/en/function.uasort.php
* @param array array <p>
* The input array.
* </p>
* @param value_compare_func callable <p>
* See usort and uksort for
* examples of user-defined comparison functions.
* </p>
* @return bool Returns true on success, false on failure.
*/
function uasort (array &$array, $value_compare_func) {}
/**
* Sort an array by keys using a user-defined comparison function
* @link http://www.php.net/manual/en/function.uksort.php
* @param array array <p>
* The input array.
* </p>
* @param key_compare_func callable <p>
* &return.callbacksort;
* </p>
* &callback.cmp;
* @return bool Returns true on success, false on failure.
*/
function uksort (array &$array, $key_compare_func) {}
/**
* Shuffle an array
* @link http://www.php.net/manual/en/function.shuffle.php
* @param array array <p>
* The array.
* </p>
* @return bool Returns true on success, false on failure.
*/
function shuffle (array &$array) {}
/**
* Apply a user supplied function to every member of an array
* @link http://www.php.net/manual/en/function.array-walk.php
* @param array array <p>
* The input array.
* </p>
* @param callback callable <p>
* Typically, callback takes on two parameters.
* The array parameter's value being the first, and
* the key/index second.
* </p>
*
* <p>
* If callback needs to be working with the
* actual values of the array, specify the first parameter of
* callback as a
* reference. Then,
* any changes made to those elements will be made in the
* original array itself.
* </p>
*
*
* <p>
* Many internal functions (for example strtolower)
* will throw a warning if more than the expected number of argument
* are passed in and are not usable directly as a
* callback.
* </p>
*
* <p>
* Only the values of the array may potentially be
* changed; its structure cannot be altered, i.e., the programmer cannot
* add, unset or reorder elements. If the callback does not respect this
* requirement, the behavior of this function is undefined, and
* unpredictable.
* </p>
* @param userdata mixed[optional] <p>
* If the optional userdata parameter is supplied,
* it will be passed as the third parameter to the
* callback.
* </p>
* @return bool Returns true on success, false on failure.
*/
function array_walk (array &$array, $callback, $userdata = null) {}
/**
* Apply a user function recursively to every member of an array
* @link http://www.php.net/manual/en/function.array-walk-recursive.php
* @param array array <p>
* The input array.
* </p>
* @param callback callable <p>
* Typically, callback takes on two parameters.
* The array parameter's value being the first, and
* the key/index second.
* </p>
*
* <p>
* If callback needs to be working with the
* actual values of the array, specify the first parameter of
* callback as a
* reference. Then,
* any changes made to those elements will be made in the
* original array itself.
* </p>
* @param userdata mixed[optional] <p>
* If the optional userdata parameter is supplied,
* it will be passed as the third parameter to the
* callback.
* </p>
* @return bool Returns true on success, false on failure.
*/
function array_walk_recursive (array &$array, $callback, $userdata = null) {}
/**
* Count all elements in an array, or something in an object
* @link http://www.php.net/manual/en/function.count.php
* @param array_or_countable mixed <p>
* An array or Countable object.
* </p>
* @param mode int[optional] <p>
* If the optional mode parameter is set to
* COUNT_RECURSIVE (or 1), count
* will recursively count the array. This is particularly useful for
* counting all the elements of a multidimensional array.
* </p>
*
* <p>
* count can detect recursion to avoid an infinite
* loop, but will emit an E_WARNING every time it
* does (in case the array contains itself more than once) and return a
* count higher than may be expected.
* </p>
* @return int the number of elements in array_or_countable.
* If the parameter is not an array or not an object with
* implemented Countable interface,
* 1 will be returned.
* There is one exception, if array_or_countable is &null;,
* 0 will be returned.
* </p>
*
* <p>
* count may return 0 for a variable that isn't set,
* but it may also return 0 for a variable that has been initialized with an
* empty array. Use isset to test if a variable is set.
*/
function count ($array_or_countable, $mode = null) {}
/**
* Set the internal pointer of an array to its last element
* @link http://www.php.net/manual/en/function.end.php
* @param array array <p>
* The array. This array is passed by reference because it is modified by
* the function. This means you must pass it a real variable and not
* a function returning an array because only actual variables may be
* passed by reference.
* </p>
* @return mixed the value of the last element or false for empty array.
*/
function end (array &$array) {}
/**
* Rewind the internal array pointer
* @link http://www.php.net/manual/en/function.prev.php
* @param array array <p>
* The input array.
* </p>
* @return mixed the array value in the previous place that's pointed to by
* the internal array pointer, or false if there are no more
* elements.
*/
function prev (array &$array) {}
/**
* Advance the internal array pointer of an array
* @link http://www.php.net/manual/en/function.next.php
* @param array array <p>
* The array being affected.
* </p>
* @return mixed the array value in the next place that's pointed to by the
* internal array pointer, or false if there are no more elements.
*/
function next (array &$array) {}
/**
* Set the internal pointer of an array to its first element
* @link http://www.php.net/manual/en/function.reset.php
* @param array array <p>
* The input array.
* </p>
* @return mixed the value of the first array element, or false if the array is
* empty.
*/
function reset (array &$array) {}
/**
* Return the current element in an array
* @link http://www.php.net/manual/en/function.current.php
* @param array array <p>
* The array.
* </p>
* @return mixed The current function simply returns the
* value of the array element that's currently being pointed to by the
* internal pointer. It does not move the pointer in any way. If the
* internal pointer points beyond the end of the elements list or the array is
* empty, current returns false.
*/
function current (array &$array) {}
/**
* Fetch a key from an array
* @link http://www.php.net/manual/en/function.key.php
* @param array array <p>
* The array.
* </p>
* @return mixed The key function simply returns the
* key of the array element that's currently being pointed to by the
* internal pointer. It does not move the pointer in any way. If the
* internal pointer points beyond the end of the elements list or the array is
* empty, key returns &null;.
*/
function key (array &$array) {}
/**
* Find lowest value
* @link http://www.php.net/manual/en/function.min.php
* @param values array <p>
* An array containing the values.
* </p>
* @return mixed min returns the parameter value considered "lowest" according to standard
* comparisons. If multiple values of different types evaluate as equal (e.g. 0
* and 'abc') the first provided to the function will be returned.
*/
function min (array $values) {}
/**
* Find highest value
* @link http://www.php.net/manual/en/function.max.php
* @param values array <p>
* An array containing the values.
* </p>
* @return mixed max returns the parameter value considered "highest" according to standard
* comparisons. If multiple values of different types evaluate as equal (e.g. 0
* and 'abc') the first provided to the function will be returned.
*/
function max (array $values) {}
/**
* Checks if a value exists in an array
* @link http://www.php.net/manual/en/function.in-array.php
* @param needle mixed <p>
* The searched value.
* </p>
*
* <p>
* If needle is a string, the comparison is done
* in a case-sensitive manner.
* </p>
* @param haystack array <p>
* The array.
* </p>
* @param strict bool[optional] <p>
* If the third parameter strict is set to true
* then the in_array function will also check the
* types of the
* needle in the haystack.
* </p>
* @return bool true if needle is found in the array,
* false otherwise.
*/
function in_array ($needle, array $haystack, $strict = null) {}
/**
* Searches the array for a given value and returns the corresponding key if successful
* @link http://www.php.net/manual/en/function.array-search.php
* @param needle mixed <p>
* The searched value.
* </p>
*
* <p>
* If needle is a string, the comparison is done
* in a case-sensitive manner.
* </p>
* @param haystack array <p>
* The array.
* </p>
* @param strict bool[optional] <p>
* If the third parameter strict is set to true
* then the array_search function will search for
* identical elements in the
* haystack. This means it will also check the
* types of the
* needle in the haystack,
* and objects must be the same instance.
* </p>
* @return mixed the key for needle if it is found in the
* array, false otherwise.
* </p>
* <p>
* If needle is found in haystack
* more than once, the first matching key is returned. To return the keys for
* all matching values, use array_keys with the optional
* search_value parameter instead.
*/
function array_search ($needle, array $haystack, $strict = null) {}
/**
* Import variables into the current symbol table from an array
* @link http://www.php.net/manual/en/function.extract.php
* @param array array <p>
* Note that prefix is only required if
* flags is EXTR_PREFIX_SAME,
* EXTR_PREFIX_ALL, EXTR_PREFIX_INVALID
* or EXTR_PREFIX_IF_EXISTS. If
* the prefixed result is not a valid variable name, it is not
* imported into the symbol table. Prefixes are automatically separated from
* the array key by an underscore character.
* </p>
* @param flags int[optional] <p>
* The way invalid/numeric keys and collisions are treated is determined
* by the extraction flags. It can be one of the
* following values:
*
*
* EXTR_OVERWRITE
*
*
* If there is a collision, overwrite the existing variable.
* @param prefix string[optional] Only overwrite the variable if it already exists in the
* current symbol table, otherwise do nothing. This is useful
* for defining a list of valid variables and then extracting
* only those variables you have defined out of
* $_REQUEST, for example.
* @return int the number of variables successfully imported into the symbol
* table.
*/
function extract (array &$array, $flags = null, $prefix = null) {}
/**
* Create array containing variables and their values
* @link http://www.php.net/manual/en/function.compact.php
* @param varname1 mixed <p>
* compact takes a variable number of parameters.
* Each parameter can be either a string containing the name of the
* variable, or an array of variable names. The array can contain other
* arrays of variable names inside it; compact
* handles it recursively.
* </p>
* @param _ mixed[optional]
* @return array the output array with all the variables added to it.
*/
function compact ($varname1, $_ = null) {}
/**
* Fill an array with values
* @link http://www.php.net/manual/en/function.array-fill.php
* @param start_index int <p>
* The first index of the returned array.
* </p>
* <p>
* If start_index is negative,
* the first index of the returned array will be
* start_index and the following
* indices will start from zero
* (see example).
* </p>
* @param num int <p>
* Number of elements to insert.
* Must be greater than zero.
* </p>
* @param value mixed <p>
* Value to use for filling
* </p>
* @return array the filled array
*/
function array_fill ($start_index, $num, $value) {}
/**
* Fill an array with values, specifying keys
* @link http://www.php.net/manual/en/function.array-fill-keys.php
* @param keys array <p>
* Array of values that will be used as keys. Illegal values
* for key will be converted to string.
* </p>
* @param value mixed <p>
* Value to use for filling
* </p>
* @return array the filled array
*/
function array_fill_keys (array $keys, $value) {}
/**
* Create an array containing a range of elements
* @link http://www.php.net/manual/en/function.range.php
* @param start mixed <p>
* First value of the sequence.
* </p>
* @param end mixed <p>
* The sequence is ended upon reaching the
* end value.
* </p>
* @param step number[optional] <p>
* If a step value is given, it will be used as the
* increment between elements in the sequence. step
* should be given as a positive number. If not specified,
* step will default to 1.
* </p>
* @return array an array of elements from start to
* end, inclusive.
*/
function range ($start, $end, $step = null) {}
/**
* Sort multiple or multi-dimensional arrays
* @link http://www.php.net/manual/en/function.array-multisort.php
* @param array1 array <p>
* An array being sorted.
* </p>
* @param array1_sort_order mixed[optional] <p>
* The order used to sort the previous array argument. Either
* SORT_ASC to sort ascendingly or SORT_DESC
* to sort descendingly.
* </p>
* <p>
* This argument can be swapped with array1_sort_flags
* or omitted entirely, in which case SORT_ASC is assumed.
* </p>
* @param array1_sort_flags mixed[optional] <p>
* Sort options for the previous array argument:
* </p>
* <p>
* Sorting type flags:
*
*
* SORT_REGULAR - compare items normally
* (don't change types)
* @param _ mixed[optional]
* @return bool Returns true on success, false on failure.
*/
function array_multisort (array &$array1, $array1_sort_order = null, $array1_sort_flags = null, $_ = null) {}
/**
* Push one or more elements onto the end of array
* @link http://www.php.net/manual/en/function.array-push.php
* @param array array <p>
* The input array.
* </p>
* @param value1 mixed <p>
* The first value to push onto the end of the array.
* </p>
* @param _ mixed[optional]
* @return int the new number of elements in the array.
*/
function array_push (array &$array, $value1, $_ = null) {}
/**
* Pop the element off the end of array
* @link http://www.php.net/manual/en/function.array-pop.php
* @param array array <p>
* The array to get the value from.
* </p>
* @return mixed the last value of array.
* If array is empty (or is not an array),
* &null; will be returned.
*/
function array_pop (array &$array) {}
/**
* Shift an element off the beginning of array
* @link http://www.php.net/manual/en/function.array-shift.php
* @param array array <p>
* The input array.
* </p>
* @return mixed the shifted value, or &null; if array is
* empty or is not an array.
*/
function array_shift (array &$array) {}
/**
* Prepend one or more elements to the beginning of an array
* @link http://www.php.net/manual/en/function.array-unshift.php
* @param array array <p>
* The input array.
* </p>
* @param value1 mixed <p>
* First value to prepend.
* </p>
* @param _ mixed[optional]
* @return int the new number of elements in the array.
*/
function array_unshift (array &$array, $value1, $_ = null) {}
/**
* Remove a portion of the array and replace it with something else
* @link http://www.php.net/manual/en/function.array-splice.php
* @param input array <p>
* The input array.
* </p>
* @param offset int <p>
* If offset is positive then the start of removed
* portion is at that offset from the beginning of the
* input array. If offset
* is negative then it starts that far from the end of the
* input array.
* </p>
* @param length int[optional] <p>
* If length is omitted, removes everything
* from offset to the end of the array. If
* length is specified and is positive, then
* that many elements will be removed. If
* length is specified and is negative then
* the end of the removed portion will be that many elements from
* the end of the array. Tip: to remove everything from
* offset to the end of the array when
* replacement is also specified, use
* count($input) for
* length.
* </p>
* @param replacement mixed[optional] <p>
* If replacement array is specified, then the
* removed elements are replaced with elements from this array.
* </p>
* <p>
* If offset and length
* are such that nothing is removed, then the elements from the
* replacement array are inserted in the place
* specified by the offset. Note that keys in
* replacement array are not preserved.
* </p>
* <p>
* If replacement is just one element it is
* not necessary to put array()
* around it, unless the element is an array itself, an object or &null;.
* </p>
* @return array the array consisting of the extracted elements.
*/
function array_splice (array &$input, $offset, $length = null, $replacement = null) {}
/**
* Extract a slice of the array
* @link http://www.php.net/manual/en/function.array-slice.php
* @param array array <p>
* The input array.
* </p>
* @param offset int <p>
* If offset is non-negative, the sequence will
* start at that offset in the array. If
* offset is negative, the sequence will
* start that far from the end of the array.
* </p>
* @param length int[optional] <p>
* If length is given and is positive, then
* the sequence will have up to that many elements in it. If the array
* is shorter than the length, then only the
* available array elements will be present. If
* length is given and is negative then the
* sequence will stop that many elements from the end of the
* array. If it is omitted, then the sequence will have everything
* from offset up until the end of the
* array.
* </p>
* @param preserve_keys bool[optional] <p>
* Note that array_slice will reorder and reset the
* numeric array indices by default. You can change this behaviour by setting
* preserve_keys to true.
* </p>
* @return array the slice.
*/
function array_slice (array $array, $offset, $length = null, $preserve_keys = null) {}
/**
* Merge one or more arrays
* @link http://www.php.net/manual/en/function.array-merge.php
* @param array1 array <p>
* Initial array to merge.
* </p>
* @param _ array[optional]
* @return array the resulting array.
*/
function array_merge (array $array1, array $_ = null) {}
/**
* Merge two or more arrays recursively
* @link http://www.php.net/manual/en/function.array-merge-recursive.php
* @param array1 array <p>
* Initial array to merge.
* </p>
* @param _ array[optional]
* @return array An array of values resulted from merging the arguments together.
*/
function array_merge_recursive (array $array1, array $_ = null) {}
/**
* Replaces elements from passed arrays into the first array
* @link http://www.php.net/manual/en/function.array-replace.php
* @param array1 array <p>
* The array in which elements are replaced.
* </p>
* @param array2 array <p>
* The array from which elements will be extracted.
* </p>
* @param _ array[optional]
* @return array an array, or &null; if an error occurs.
*/
function array_replace (array $array1, array $array2, array $_ = null) {}
/**
* Replaces elements from passed arrays into the first array recursively
* @link http://www.php.net/manual/en/function.array-replace-recursive.php
* @param array1 array <p>
* The array in which elements are replaced.
* </p>
* @param array2 array <p>
* The array from which elements will be extracted.
* </p>
* @param _ array[optional]
* @return array an array, or &null; if an error occurs.
*/
function array_replace_recursive (array $array1, array $array2, array $_ = null) {}
/**
* Return all the keys or a subset of the keys of an array
* @link http://www.php.net/manual/en/function.array-keys.php
* @param array array <p>
* An array containing keys to return.
* </p>
* @param search_value mixed[optional] <p>
* If specified, then only keys containing these values are returned.
* </p>
* @param strict bool[optional] <p>
* Determines if strict comparison (===) should be used during the search.
* </p>
* @return array an array of all the keys in array.
*/
function array_keys (array $array, $search_value = null, $strict = null) {}
/**
* Return all the values of an array
* @link http://www.php.net/manual/en/function.array-values.php
* @param array array <p>
* The array.
* </p>
* @return array an indexed array of values.
*/
function array_values (array $array) {}
/**
* Counts all the values of an array
* @link http://www.php.net/manual/en/function.array-count-values.php
* @param array array <p>
* The array of values to count
* </p>
* @return array an associative array of values from array as
* keys and their count as value.
*/
function array_count_values (array $array) {}
/**
* Return the values from a single column in the input array
* @link http://www.php.net/manual/en/function.array-column.php
* @param array array <p>
* A multi-dimensional array (record set) from which to pull a column of
* values.
* </p>
* @param column_key mixed <p>
* The column of values to return. This value may be the integer key of the
* column you wish to retrieve, or it may be the string key name for an
* associative array. It may also be &null; to return complete arrays
* (useful together with index_key to reindex the
* array).
* </p>
* @param index_key mixed[optional] <p>
* The column to use as the index/keys for the returned array. This value
* may be the integer key of the column, or it may be the string key name.
* </p>
* @return array an array of values representing a single column from the input array.
*/
function array_column (array $array, $column_key, $index_key = null) {}
/**
* Return an array with elements in reverse order
* @link http://www.php.net/manual/en/function.array-reverse.php
* @param array array <p>
* The input array.
* </p>
* @param preserve_keys bool[optional] <p>
* If set to true numeric keys are preserved.
* Non-numeric keys are not affected by this setting and will always be preserved.
* </p>
* @return array the reversed array.
*/
function array_reverse (array $array, $preserve_keys = null) {}
/**
* Iteratively reduce the array to a single value using a callback function
* @link http://www.php.net/manual/en/function.array-reduce.php
* @param array array <p>
* The input array.
* </p>
* @param callback callable mixedcallback
* mixedcarry
* mixeditem
*
*
*
* carry
*
* <p>
* Holds the return value of the previous iteration; in the case of the
* first iteration it instead holds the value of
* initial.
* </p>
* @param initial mixed[optional] <p>
* If the optional initial is available, it will
* be used at the beginning of the process, or as a final result in case
* the array is empty.
* </p>
* @return mixed the resulting value.
* </p>
* <p>
* If the array is empty and initial is not passed,
* array_reduce returns &null;.
*/
function array_reduce (array $array, $callback, $initial = null) {}
/**
* Pad array to the specified length with a value
* @link http://www.php.net/manual/en/function.array-pad.php
* @param array array <p>
* Initial array of values to pad.
* </p>
* @param size int <p>
* New size of the array.
* </p>
* @param value mixed <p>
* Value to pad if array is less than
* size.
* </p>
* @return array a copy of the array padded to size specified
* by size with value
* value. If size is
* positive then the array is padded on the right, if it's negative then
* on the left. If the absolute value of size is less
* than or equal to the length of the array then no
* padding takes place.
*/
function array_pad (array $array, $size, $value) {}
/**
* Exchanges all keys with their associated values in an array
* @link http://www.php.net/manual/en/function.array-flip.php
* @param array array <p>
* An array of key/value pairs to be flipped.
* </p>
* @return array the flipped array on success and &null; on failure.
*/
function array_flip (array $array) {}
/**
* Changes the case of all keys in an array
* @link http://www.php.net/manual/en/function.array-change-key-case.php
* @param array array <p>
* The array to work on
* </p>
* @param case int[optional] <p>
* Either CASE_UPPER or
* CASE_LOWER (default)
* </p>
* @return array an array with its keys lower or uppercased, or false if
* array is not an array.
*/
function array_change_key_case (array $array, $case = null) {}
/**
* Pick one or more random entries out of an array
* @link http://www.php.net/manual/en/function.array-rand.php
* @param array array <p>
* The input array.
* </p>
* @param num int[optional] <p>
* Specifies how many entries should be picked.
* </p>
* @return mixed When picking only one entry, array_rand returns
* the key for a random entry. Otherwise, an array of keys for the random
* entries is returned. This is done so that random keys can be picked
* from the array as well as random values. Trying to pick more elements
* than there are in the array will result in an
* E_WARNING level error, and NULL will be returned.
*/
function array_rand (array $array, $num = null) {}
/**
* Removes duplicate values from an array
* @link http://www.php.net/manual/en/function.array-unique.php
* @param array array <p>
* The input array.
* </p>
* @param sort_flags int[optional] <p>
* The optional second parameter sort_flags
* may be used to modify the sorting behavior using these values:
* </p>
* <p>
* Sorting type flags:
*
*
* SORT_REGULAR - compare items normally
* (don't change types)
* @return array the filtered array.
*/
function array_unique (array $array, $sort_flags = null) {}
/**
* Computes the intersection of arrays
* @link http://www.php.net/manual/en/function.array-intersect.php
* @param array1 array <p>
* The array with master values to check.
* </p>
* @param array2 array <p>
* An array to compare values against.
* </p>
* @param _ array[optional]
* @return array an array containing all of the values in
* array1 whose values exist in all of the parameters.
*/
function array_intersect (array $array1, array $array2, array $_ = null) {}
/**
* Computes the intersection of arrays using keys for comparison
* @link http://www.php.net/manual/en/function.array-intersect-key.php
* @param array1 array <p>
* The array with master keys to check.
* </p>
* @param array2 array <p>
* An array to compare keys against.
* </p>
* @param _ array[optional]
* @return array an associative array containing all the entries of
* array1 which have keys that are present in all
* arguments.
*/
function array_intersect_key (array $array1, array $array2, array $_ = null) {}
/**
* Computes the intersection of arrays using a callback function on the keys for comparison
* @link http://www.php.net/manual/en/function.array-intersect-ukey.php
* @param array1 array <p>
* Initial array for comparison of the arrays.
* </p>
* @param array2 array <p>
* First array to compare keys against.
* </p>
* @param _ array[optional]
* @param key_compare_func callable <p>
* &return.callbacksort;
* </p>
* &callback.cmp;
* @return array the values of array1 whose keys exist
* in all the arguments.
*/
function array_intersect_ukey (array $array1, array $array2, array $_ = null, $key_compare_func) {}
/**
* Computes the intersection of arrays, compares data by a callback function
* @link http://www.php.net/manual/en/function.array-uintersect.php
* @param array1 array <p>
* The first array.
* </p>
* @param array2 array <p>
* The second array.
* </p>
* @param _ array[optional]
* @param value_compare_func callable <p>
* &return.callbacksort;
* </p>
* &callback.cmp;
* @return array an array containing all the values of array1
* that are present in all the arguments.
*/
function array_uintersect (array $array1, array $array2, array $_ = null, $value_compare_func) {}
/**
* Computes the intersection of arrays with additional index check
* @link http://www.php.net/manual/en/function.array-intersect-assoc.php
* @param array1 array <p>
* The array with master values to check.
* </p>
* @param array2 array <p>
* An array to compare values against.
* </p>
* @param _ array[optional]
* @return array an associative array containing all the values in
* array1 that are present in all of the arguments.
*/
function array_intersect_assoc (array $array1, array $array2, array $_ = null) {}
/**
* Computes the intersection of arrays with additional index check, compares data by a callback function
* @link http://www.php.net/manual/en/function.array-uintersect-assoc.php
* @param array1 array <p>
* The first array.
* </p>
* @param array2 array <p>
* The second array.
* </p>
* @param _ array[optional]
* @param value_compare_func callable <p>
* &return.callbacksort;
* </p>
* &callback.cmp;
* @return array an array containing all the values of
* array1 that are present in all the arguments.
*/
function array_uintersect_assoc (array $array1, array $array2, array $_ = null, $value_compare_func) {}
/**
* Computes the intersection of arrays with additional index check, compares indexes by a callback function
* @link http://www.php.net/manual/en/function.array-intersect-uassoc.php
* @param array1 array <p>
* Initial array for comparison of the arrays.
* </p>
* @param array2 array <p>
* First array to compare keys against.
* </p>
* @param _ array[optional]
* @param key_compare_func callable <p>
* &return.callbacksort;
* </p>
* &callback.cmp;
* @return array the values of array1 whose values exist
* in all of the arguments.
*/
function array_intersect_uassoc (array $array1, array $array2, array $_ = null, $key_compare_func) {}
/**
* Computes the intersection of arrays with additional index check, compares data and indexes by a callback functions
* @link http://www.php.net/manual/en/function.array-uintersect-uassoc.php
* @param array1 array <p>
* The first array.
* </p>
* @param array2 array <p>
* The second array.
* </p>
* @param _ array[optional]
* @param value_compare_func callable <p>
* &return.callbacksort;
* </p>
* &callback.cmp;
* @param key_compare_func callable <p>
* Key comparison callback function.
* </p>
* @return array an array containing all the values of
* array1 that are present in all the arguments.
*/
function array_uintersect_uassoc (array $array1, array $array2, array $_ = null, $value_compare_func, $key_compare_func) {}
/**
* Computes the difference of arrays
* @link http://www.php.net/manual/en/function.array-diff.php
* @param array1 array <p>
* The array to compare from
* </p>
* @param array2 array <p>
* An array to compare against
* </p>
* @param _ array[optional]
* @return array an array containing all the entries from
* array1 that are not present in any of the other arrays.
*/
function array_diff (array $array1, array $array2, array $_ = null) {}
/**
* Computes the difference of arrays using keys for comparison
* @link http://www.php.net/manual/en/function.array-diff-key.php
* @param array1 array <p>
* The array to compare from
* </p>
* @param array2 array <p>
* An array to compare against
* </p>
* @param _ array[optional]
* @return array an array containing all the entries from
* array1 whose keys are not present in any of the
* other arrays.
*/
function array_diff_key (array $array1, array $array2, array $_ = null) {}
/**
* Computes the difference of arrays using a callback function on the keys for comparison
* @link http://www.php.net/manual/en/function.array-diff-ukey.php
* @param array1 array <p>
* The array to compare from
* </p>
* @param array2 array <p>
* An array to compare against
* </p>
* @param _ array[optional]
* @param key_compare_func callable <p>
* &return.callbacksort;
* </p>
* &callback.cmp;
* @return array an array containing all the entries from
* array1 that are not present in any of the other arrays.
*/
function array_diff_ukey (array $array1, array $array2, array $_ = null, $key_compare_func) {}
/**
* Computes the difference of arrays by using a callback function for data comparison
* @link http://www.php.net/manual/en/function.array-udiff.php
* @param array1 array <p>
* The first array.
* </p>
* @param array2 array <p>
* The second array.
* </p>
* @param _ array[optional]
* @param value_compare_func callable <p>
* The callback comparison function.
* </p>
* <p>
* &return.callbacksort;
* </p>
* &callback.cmp;
* @return array an array containing all the values of array1
* that are not present in any of the other arguments.
*/
function array_udiff (array $array1, array $array2, array $_ = null, $value_compare_func) {}
/**
* Computes the difference of arrays with additional index check
* @link http://www.php.net/manual/en/function.array-diff-assoc.php
* @param array1 array <p>
* The array to compare from
* </p>
* @param array2 array <p>
* An array to compare against
* </p>
* @param _ array[optional]
* @return array an array containing all the values from
* array1 that are not present in any of the other arrays.
*/
function array_diff_assoc (array $array1, array $array2, array $_ = null) {}
/**
* Computes the difference of arrays with additional index check, compares data by a callback function
* @link http://www.php.net/manual/en/function.array-udiff-assoc.php
* @param array1 array <p>
* The first array.
* </p>
* @param array2 array <p>
* The second array.
* </p>
* @param _ array[optional]
* @param value_compare_func callable <p>
* &return.callbacksort;
* </p>
* &callback.cmp;
* @return array array_udiff_assoc returns an array
* containing all the values from array1
* that are not present in any of the other arguments.
* Note that the keys are used in the comparison unlike
* array_diff and array_udiff.
* The comparison of arrays' data is performed by using an user-supplied
* callback. In this aspect the behaviour is opposite to the behaviour of
* array_diff_assoc which uses internal function for
* comparison.
*/
function array_udiff_assoc (array $array1, array $array2, array $_ = null, $value_compare_func) {}
/**
* Computes the difference of arrays with additional index check which is performed by a user supplied callback function
* @link http://www.php.net/manual/en/function.array-diff-uassoc.php
* @param array1 array <p>
* The array to compare from
* </p>
* @param array2 array <p>
* An array to compare against
* </p>
* @param _ array[optional]
* @param key_compare_func callable <p>
* &return.callbacksort;
* </p>
* &callback.cmp;
* @return array an array containing all the entries from
* array1 that are not present in any of the other arrays.
*/
function array_diff_uassoc (array $array1, array $array2, array $_ = null, $key_compare_func) {}
/**
* Computes the difference of arrays with additional index check, compares data and indexes by a callback function
* @link http://www.php.net/manual/en/function.array-udiff-uassoc.php
* @param array1 array <p>
* The first array.
* </p>
* @param array2 array <p>
* The second array.
* </p>
* @param _ array[optional]
* @param value_compare_func callable <p>
* &return.callbacksort;
* </p>
* &callback.cmp;
* @param key_compare_func callable <p>
* The comparison of keys (indices) is done also by the callback function
* key_compare_func. This behaviour is unlike what
* array_udiff_assoc does, since the latter compares
* the indices by using an internal function.
* </p>
* @return array an array containing all the values from
* array1 that are not present in any of the other
* arguments.
*/
function array_udiff_uassoc (array $array1, array $array2, array $_ = null, $value_compare_func, $key_compare_func) {}
/**
* Calculate the sum of values in an array
* @link http://www.php.net/manual/en/function.array-sum.php
* @param array array <p>
* The input array.
* </p>
* @return number the sum of values as an integer or float.
*/
function array_sum (array $array) {}
/**
* Calculate the product of values in an array
* @link http://www.php.net/manual/en/function.array-product.php
* @param array array <p>
* The array.
* </p>
* @return number the product as an integer or float.
*/
function array_product (array $array) {}
/**
* Filters elements of an array using a callback function
* @link http://www.php.net/manual/en/function.array-filter.php
* @param array array <p>
* The array to iterate over
* </p>
* @param callback callable[optional] <p>
* The callback function to use
* </p>
* <p>
* If no callback is supplied, all entries of
* array equal to false (see
* converting to
* boolean) will be removed.
* </p>
* @param flag int[optional] <p>
* Flag determining what arguments are sent to callback:
*
*
* ARRAY_FILTER_USE_KEY - pass key as the only argument
* to callback instead of the value
* @return array the filtered array.
*/
function array_filter (array $array, $callback = null, $flag = null) {}
/**
* Applies the callback to the elements of the given arrays
* @link http://www.php.net/manual/en/function.array-map.php
* @param callback callable <p>
* Callback function to run for each element in each array.
* </p>
* @param array1 array <p>
* An array to run through the callback function.
* </p>
* @param _ array[optional]
* @return array an array containing all the elements of array1
* after applying the callback function to each one.
*/
function array_map ($callback, array $array1, array $_ = null) {}
/**
* Split an array into chunks
* @link http://www.php.net/manual/en/function.array-chunk.php
* @param array array <p>
* The array to work on
* </p>
* @param size int <p>
* The size of each chunk
* </p>
* @param preserve_keys bool[optional] <p>
* When set to true keys will be preserved.
* Default is false which will reindex the chunk numerically
* </p>
* @return array a multidimensional numerically indexed array, starting with zero,
* with each dimension containing size elements.
*/
function array_chunk (array $array, $size, $preserve_keys = null) {}
/**
* Creates an array by using one array for keys and another for its values
* @link http://www.php.net/manual/en/function.array-combine.php
* @param keys array <p>
* Array of keys to be used. Illegal values for key will be
* converted to string.
* </p>
* @param values array <p>
* Array of values to be used
* </p>
* @return array the combined array, false if the number of elements
* for each array isn't equal.
*/
function array_combine (array $keys, array $values) {}
/**
* Checks if the given key or index exists in the array
* @link http://www.php.net/manual/en/function.array-key-exists.php
* @param key mixed <p>
* Value to check.
* </p>
* @param array array <p>
* An array with keys to check.
* </p>
* @return bool Returns true on success, false on failure.
*/
function array_key_exists ($key, array $array) {}
/**
* &Alias; <function>current</function>
* @link http://www.php.net/manual/en/function.pos.php
* @param arg
*/
function pos (&$arg) {}
/**
* &Alias; <function>count</function>
* @link http://www.php.net/manual/en/function.sizeof.php
* @param var
* @param mode[optional]
*/
function sizeof ($var, $mode) {}
/**
* &Alias; <function>array_key_exists</function>
* @link http://www.php.net/manual/en/function.key-exists.php
* @param key
* @param search
*/
function key_exists ($key, $search) {}
/**
* Checks if assertion is &false;
* @link http://www.php.net/manual/en/function.assert.php
* @param assertion mixed <p>
* The assertion.
* </p>
* @param description string[optional] <p>
* An optional description that will be included in the failure message if
* the assertion fails.
* </p>
* @return bool false if the assertion is false, true otherwise.
*/
function assert ($assertion, $description = null) {}
/**
* Set/get the various assert flags
* @link http://www.php.net/manual/en/function.assert-options.php
* @param what int <p>
* <table>
* Assert Options
*
*
* <tr valign="top">
* <td>Option</td>
* <td>INI Setting</td>
* <td>Default value</td>
* <td>Description</td>
* </tr>
*
*
* <tr valign="top">
* <td>ASSERT_ACTIVE</td>
* <td>assert.active</td>
* <td>1</td>
* <td>enable assert evaluation</td>
* </tr>
* <tr valign="top">
* <td>ASSERT_WARNING</td>
* <td>assert.warning</td>
* <td>1</td>
* <td>issue a PHP warning for each failed assertion</td>
* </tr>
* <tr valign="top">
* <td>ASSERT_BAIL</td>
* <td>assert.bail</td>
* <td>0</td>
* <td>terminate execution on failed assertions</td>
* </tr>
* <tr valign="top">
* <td>ASSERT_QUIET_EVAL</td>
* <td>assert.quiet_eval</td>
* <td>0</td>
* <td>
* disable error_reporting during assertion expression
* evaluation
* </td>
* </tr>
* <tr valign="top">
* <td>ASSERT_CALLBACK</td>
* <td>assert.callback</td>
* <td)<&null;)</td>
* <td>Callback to call on failed assertions</td>
* </tr>
*
*
* </table>
* </p>
* @param value mixed[optional] <p>
* An optional new value for the option.
* </p>
* @return mixed the original setting of any option or false on errors.
*/
function assert_options ($what, $value = null) {}
/**
* Compares two "PHP-standardized" version number strings
* @link http://www.php.net/manual/en/function.version-compare.php
* @param version1 string <p>
* First version number.
* </p>
* @param version2 string <p>
* Second version number.
* </p>
* @param operator string[optional] <p>
* If the third optional operator argument is
* specified, test for a particular relationship. The possible operators
* are: =, ge,
* ==, =, eq,
* !=, , ne
* respectively.
* </p>
* <p>
* This parameter is case-sensitive, values should be lowercase.
* </p>
* @return mixed By default, version_compare returns
* -1 if the first version is lower than the second,
* 0 if they are equal, and
* 1 if the second is lower.
* </p>
* <p>
* When using the optional operator argument, the
* function will return true if the relationship is the one specified
* by the operator, false otherwise.
*/
function version_compare ($version1, $version2, $operator = null) {}
/**
* Convert a pathname and a project identifier to a System V IPC key
* @link http://www.php.net/manual/en/function.ftok.php
* @param pathname string <p>
* Path to an accessible file.
* </p>
* @param proj string <p>
* Project identifier. This must be a one character string.
* </p>
* @return int On success the return value will be the created key value, otherwise
* -1 is returned.
*/
function ftok ($pathname, $proj) {}
/**
* Perform the rot13 transform on a string
* @link http://www.php.net/manual/en/function.str-rot13.php
* @param str string <p>
* The input string.
* </p>
* @return string the ROT13 version of the given string.
*/
function str_rot13 ($str) {}
/**
* Retrieve list of registered filters
* @link http://www.php.net/manual/en/function.stream-get-filters.php
* @return array an indexed array containing the name of all stream filters
* available.
*/
function stream_get_filters () {}
/**
* Register a user defined stream filter
* @link http://www.php.net/manual/en/function.stream-filter-register.php
* @param filtername string <p>
* The filter name to be registered.
* </p>
* @param classname string <p>
* To implement a filter, you need to define a class as an extension of
* php_user_filter with a number of member
* functions. When performing read/write operations on the stream
* to which your filter is attached, PHP will pass the data through your
* filter (and any other filters attached to that stream) so that the
* data may be modified as desired. You must implement the methods
* exactly as described in php_user_filter - doing
* otherwise will lead to undefined behaviour.
* </p>
* @return bool Returns true on success, false on failure.
* </p>
* <p>
* stream_filter_register will return false if the
* filtername is already defined.
*/
function stream_filter_register ($filtername, $classname) {}
/**
* Return a bucket object from the brigade for operating on
* @link http://www.php.net/manual/en/function.stream-bucket-make-writeable.php
* @param brigade resource
* @return object
*/
function stream_bucket_make_writeable ($brigade) {}
/**
* Prepend bucket to brigade
* @link http://www.php.net/manual/en/function.stream-bucket-prepend.php
* @param brigade resource <p>
* brigade is a resource pointing to a bucket brigade
* which contains one or more bucket objects.
* </p>
* @param bucket resource <p>
* A bucket object.
* </p>
* @return void
*/
function stream_bucket_prepend ($brigade, $bucket) {}
/**
* Append bucket to brigade
* @link http://www.php.net/manual/en/function.stream-bucket-append.php
* @param brigade resource
* @param bucket resource
* @return void
*/
function stream_bucket_append ($brigade, $bucket) {}
/**
* Create a new bucket for use on the current stream
* @link http://www.php.net/manual/en/function.stream-bucket-new.php
* @param stream resource
* @param buffer string
* @return object
*/
function stream_bucket_new ($stream, $buffer) {}
/**
* Add URL rewriter values
* @link http://www.php.net/manual/en/function.output-add-rewrite-var.php
* @param name string <p>
* The variable name.
* </p>
* @param value string <p>
* The variable value.
* </p>
* @return bool Returns true on success, false on failure.
*/
function output_add_rewrite_var ($name, $value) {}
/**
* Reset URL rewriter values
* @link http://www.php.net/manual/en/function.output-reset-rewrite-vars.php
* @return bool Returns true on success, false on failure.
*/
function output_reset_rewrite_vars () {}
/**
* Returns directory path used for temporary files
* @link http://www.php.net/manual/en/function.sys-get-temp-dir.php
* @return string the path of the temporary directory.
*/
function sys_get_temp_dir () {}
/**
* Loads a PHP extension at runtime
* @link http://www.php.net/manual/en/function.dl.php
* @param library string <p>
* This parameter is only the filename of the
* extension to load which also depends on your platform. For example,
* the sockets extension (if compiled
* as a shared module, not the default!) would be called
* sockets.so on Unix platforms whereas it is called
* php_sockets.dll on the Windows platform.
* </p>
* <p>
* The directory where the extension is loaded from depends on your
* platform:
* </p>
* <p>
* Windows - If not explicitly set in the &php.ini;, the extension is
* loaded from C:\php4\extensions\ (PHP 4) or
* C:\php5\ (PHP 5) by default.
* </p>
* <p>
* Unix - If not explicitly set in the &php.ini;, the default extension
* directory depends on
*
*
*
* whether PHP has been built with --enable-debug
* or not
* @return bool Returns true on success, false on failure. If the functionality of loading modules is not available
* or has been disabled (either by setting
* enable_dl off or by enabling &safemode;
* in &php.ini;) an E_ERROR is emitted
* and execution is stopped. If dl fails because the
* specified library couldn't be loaded, in addition to false an
* E_WARNING message is emitted.
*/
function dl ($library) {}
/**
* Sets the process title
* @link http://www.php.net/manual/en/function.cli-set-process-title.php
* @param title string <p>
* The new title.
* </p>
* @return bool Returns true on success, false on failure.
*/
function cli_set_process_title ($title) {}
/**
* Returns the current process title
* @link http://www.php.net/manual/en/function.cli-get-process-title.php
* @return string Return a string with the current process title or &null; on error.
*/
function cli_get_process_title () {}
define ('CONNECTION_ABORTED', 1);
define ('CONNECTION_NORMAL', 0);
define ('CONNECTION_TIMEOUT', 2);
define ('INI_USER', 1);
define ('INI_PERDIR', 2);
define ('INI_SYSTEM', 4);
define ('INI_ALL', 7);
/**
* Normal INI scanner mode (since PHP 5.3).
* @link http://www.php.net/manual/en/filesystem.constants.php
*/
define ('INI_SCANNER_NORMAL', 0);
/**
* Raw INI scanner mode (since PHP 5.3).
* @link http://www.php.net/manual/en/filesystem.constants.php
*/
define ('INI_SCANNER_RAW', 1);
define ('PHP_URL_SCHEME', 0);
define ('PHP_URL_HOST', 1);
define ('PHP_URL_PORT', 2);
define ('PHP_URL_USER', 3);
define ('PHP_URL_PASS', 4);
define ('PHP_URL_PATH', 5);
define ('PHP_URL_QUERY', 6);
define ('PHP_URL_FRAGMENT', 7);
define ('PHP_QUERY_RFC1738', 1);
define ('PHP_QUERY_RFC3986', 2);
define ('M_E', 2.718281828459);
define ('M_LOG2E', 1.442695040889);
define ('M_LOG10E', 0.43429448190325);
define ('M_LN2', 0.69314718055995);
define ('M_LN10', 2.302585092994);
/**
* Round halves up
* @link http://www.php.net/manual/en/math.constants.php
*/
define ('M_PI', 3.1415926535898);
define ('M_PI_2', 1.5707963267949);
define ('M_PI_4', 0.78539816339745);
define ('M_1_PI', 0.31830988618379);
define ('M_2_PI', 0.63661977236758);
define ('M_SQRTPI', 1.7724538509055);
define ('M_2_SQRTPI', 1.1283791670955);
define ('M_LNPI', 1.1447298858494);
define ('M_EULER', 0.57721566490153);
define ('M_SQRT2', 1.4142135623731);
define ('M_SQRT1_2', 0.70710678118655);
define ('M_SQRT3', 1.7320508075689);
define ('INF', INF);
define ('NAN', NAN);
define ('PHP_ROUND_HALF_UP', 1);
/**
* Round halves down
* @link http://www.php.net/manual/en/math.constants.php
*/
define ('PHP_ROUND_HALF_DOWN', 2);
/**
* Round halves to even numbers
* @link http://www.php.net/manual/en/math.constants.php
*/
define ('PHP_ROUND_HALF_EVEN', 3);
/**
* Round halves to odd numbers
* @link http://www.php.net/manual/en/math.constants.php
*/
define ('PHP_ROUND_HALF_ODD', 4);
define ('INFO_GENERAL', 1);
/**
* PHP Credits. See also phpcredits.
* @link http://www.php.net/manual/en/info.constants.php
*/
define ('INFO_CREDITS', 2);
/**
* Current Local and Master values for PHP directives. See
* also ini_get.
* @link http://www.php.net/manual/en/info.constants.php
*/
define ('INFO_CONFIGURATION', 4);
/**
* Loaded modules and their respective settings.
* @link http://www.php.net/manual/en/info.constants.php
*/
define ('INFO_MODULES', 8);
/**
* Environment Variable information that's also available in
* $_ENV.
* @link http://www.php.net/manual/en/info.constants.php
*/
define ('INFO_ENVIRONMENT', 16);
/**
* Shows all
* predefined variables from EGPCS (Environment, GET,
* POST, Cookie, Server).
* @link http://www.php.net/manual/en/info.constants.php
*/
define ('INFO_VARIABLES', 32);
/**
* PHP License information. See also the license faq.
* @link http://www.php.net/manual/en/info.constants.php
*/
define ('INFO_LICENSE', 64);
/**
* Unused
* @link http://www.php.net/manual/en/info.constants.php
*/
define ('INFO_ALL', 4294967295);
/**
* A list of the core developers
* @link http://www.php.net/manual/en/info.constants.php
*/
define ('CREDITS_GROUP', 1);
/**
* General credits: Language design and concept, PHP
* authors and SAPI module.
* @link http://www.php.net/manual/en/info.constants.php
*/
define ('CREDITS_GENERAL', 2);
/**
* A list of the server API modules for PHP, and their authors.
* @link http://www.php.net/manual/en/info.constants.php
*/
define ('CREDITS_SAPI', 4);
/**
* A list of the extension modules for PHP, and their authors.
* @link http://www.php.net/manual/en/info.constants.php
*/
define ('CREDITS_MODULES', 8);
/**
* The credits for the documentation team.
* @link http://www.php.net/manual/en/info.constants.php
*/
define ('CREDITS_DOCS', 16);
/**
* Usually used in combination with the other flags. Indicates
* that a complete stand-alone HTML page needs to be
* printed including the information indicated by the other
* flags.
* @link http://www.php.net/manual/en/info.constants.php
*/
define ('CREDITS_FULLPAGE', 32);
/**
* The credits for the quality assurance team.
* @link http://www.php.net/manual/en/info.constants.php
*/
define ('CREDITS_QA', 64);
/**
* The configuration line, &php.ini; location, build date, Web
* Server, System and more.
* @link http://www.php.net/manual/en/info.constants.php
*/
define ('CREDITS_ALL', 4294967295);
define ('HTML_SPECIALCHARS', 0);
define ('HTML_ENTITIES', 1);
define ('ENT_COMPAT', 2);
define ('ENT_QUOTES', 3);
define ('ENT_NOQUOTES', 0);
define ('ENT_IGNORE', 4);
define ('ENT_SUBSTITUTE', 8);
define ('ENT_DISALLOWED', 128);
define ('ENT_HTML401', 0);
define ('ENT_XML1', 16);
define ('ENT_XHTML', 32);
define ('ENT_HTML5', 48);
define ('STR_PAD_LEFT', 0);
define ('STR_PAD_RIGHT', 1);
define ('STR_PAD_BOTH', 2);
define ('PATHINFO_DIRNAME', 1);
define ('PATHINFO_BASENAME', 2);
define ('PATHINFO_EXTENSION', 4);
/**
* Since PHP 5.2.0.
* @link http://www.php.net/manual/en/filesystem.constants.php
*/
define ('PATHINFO_FILENAME', 8);
define ('CHAR_MAX', 127);
define ('LC_CTYPE', 0);
define ('LC_NUMERIC', 1);
define ('LC_TIME', 2);
define ('LC_COLLATE', 3);
define ('LC_MONETARY', 4);
define ('LC_ALL', 6);
define ('LC_MESSAGES', 5);
define ('SEEK_SET', 0);
define ('SEEK_CUR', 1);
define ('SEEK_END', 2);
define ('LOCK_SH', 1);
define ('LOCK_EX', 2);
define ('LOCK_UN', 3);
define ('LOCK_NB', 4);
/**
* A connection with an external resource has been established.
* @link http://www.php.net/manual/en/stream.constants.php
*/
define ('STREAM_NOTIFY_CONNECT', 2);
/**
* Additional authorization is required to access the specified resource.
* Typical issued with severity level of
* STREAM_NOTIFY_SEVERITY_ERR.
* @link http://www.php.net/manual/en/stream.constants.php
*/
define ('STREAM_NOTIFY_AUTH_REQUIRED', 3);
/**
* Authorization has been completed (with or without success).
* @link http://www.php.net/manual/en/stream.constants.php
*/
define ('STREAM_NOTIFY_AUTH_RESULT', 10);
/**
* The mime-type of resource has been identified,
* refer to message for a description of the
* discovered type.
* @link http://www.php.net/manual/en/stream.constants.php
*/
define ('STREAM_NOTIFY_MIME_TYPE_IS', 4);
/**
* The size of the resource has been discovered.
* @link http://www.php.net/manual/en/stream.constants.php
*/
define ('STREAM_NOTIFY_FILE_SIZE_IS', 5);
/**
* The external resource has redirected the stream to an alternate
* location. Refer to message.
* @link http://www.php.net/manual/en/stream.constants.php
*/
define ('STREAM_NOTIFY_REDIRECTED', 6);
/**
* Indicates current progress of the stream transfer in
* bytes_transferred and possibly
* bytes_max as well.
* @link http://www.php.net/manual/en/stream.constants.php
*/
define ('STREAM_NOTIFY_PROGRESS', 7);
/**
* A generic error occurred on the stream, consult
* message and message_code
* for details.
* @link http://www.php.net/manual/en/stream.constants.php
*/
define ('STREAM_NOTIFY_FAILURE', 9);
/**
* There is no more data available on the stream.
* @link http://www.php.net/manual/en/stream.constants.php
*/
define ('STREAM_NOTIFY_COMPLETED', 8);
/**
* A remote address required for this stream has been resolved, or the resolution
* failed. See severity for an indication of which happened.
* @link http://www.php.net/manual/en/stream.constants.php
*/
define ('STREAM_NOTIFY_RESOLVE', 1);
/**
* Normal, non-error related, notification.
* @link http://www.php.net/manual/en/stream.constants.php
*/
define ('STREAM_NOTIFY_SEVERITY_INFO', 0);
/**
* Non critical error condition. Processing may continue.
* @link http://www.php.net/manual/en/stream.constants.php
*/
define ('STREAM_NOTIFY_SEVERITY_WARN', 1);
/**
* A critical error occurred. Processing cannot continue.
* @link http://www.php.net/manual/en/stream.constants.php
*/
define ('STREAM_NOTIFY_SEVERITY_ERR', 2);
/**
* Used with stream_filter_append and
* stream_filter_prepend to indicate
* that the specified filter should only be applied when
* reading
* @link http://www.php.net/manual/en/stream.constants.php
*/
define ('STREAM_FILTER_READ', 1);
/**
* Used with stream_filter_append and
* stream_filter_prepend to indicate
* that the specified filter should only be applied when
* writing
* @link http://www.php.net/manual/en/stream.constants.php
*/
define ('STREAM_FILTER_WRITE', 2);
/**
* This constant is equivalent to
* STREAM_FILTER_READ | STREAM_FILTER_WRITE
* @link http://www.php.net/manual/en/stream.constants.php
*/
define ('STREAM_FILTER_ALL', 3);
/**
* Client socket opened with stream_socket_client
* should remain persistent between page loads.
* @link http://www.php.net/manual/en/stream.constants.php
*/
define ('STREAM_CLIENT_PERSISTENT', 1);
/**
* Open client socket asynchronously. This option must be used
* together with the STREAM_CLIENT_CONNECT flag.
* Used with stream_socket_client.
* @link http://www.php.net/manual/en/stream.constants.php
*/
define ('STREAM_CLIENT_ASYNC_CONNECT', 2);
/**
* Open client socket connection. Client sockets should always
* include this flag. Used with stream_socket_client.
* @link http://www.php.net/manual/en/stream.constants.php
*/
define ('STREAM_CLIENT_CONNECT', 4);
define ('STREAM_CRYPTO_METHOD_ANY_CLIENT', 63);
define ('STREAM_CRYPTO_METHOD_SSLv2_CLIENT', 3);
define ('STREAM_CRYPTO_METHOD_SSLv3_CLIENT', 5);
define ('STREAM_CRYPTO_METHOD_SSLv23_CLIENT', 7);
define ('STREAM_CRYPTO_METHOD_TLS_CLIENT', 57);
define ('STREAM_CRYPTO_METHOD_TLSv1_0_CLIENT', 9);
define ('STREAM_CRYPTO_METHOD_TLSv1_1_CLIENT', 17);
define ('STREAM_CRYPTO_METHOD_TLSv1_2_CLIENT', 33);
define ('STREAM_CRYPTO_METHOD_ANY_SERVER', 62);
define ('STREAM_CRYPTO_METHOD_SSLv2_SERVER', 2);
define ('STREAM_CRYPTO_METHOD_SSLv3_SERVER', 4);
define ('STREAM_CRYPTO_METHOD_SSLv23_SERVER', 6);
define ('STREAM_CRYPTO_METHOD_TLS_SERVER', 56);
define ('STREAM_CRYPTO_METHOD_TLSv1_0_SERVER', 8);
define ('STREAM_CRYPTO_METHOD_TLSv1_1_SERVER', 16);
define ('STREAM_CRYPTO_METHOD_TLSv1_2_SERVER', 32);
/**
* Used with stream_socket_shutdown to disable
* further receptions. Added in PHP 5.2.1.
* @link http://www.php.net/manual/en/stream.constants.php
*/
define ('STREAM_SHUT_RD', 0);
/**
* Used with stream_socket_shutdown to disable
* further transmissions. Added in PHP 5.2.1.
* @link http://www.php.net/manual/en/stream.constants.php
*/
define ('STREAM_SHUT_WR', 1);
/**
* Used with stream_socket_shutdown to disable
* further receptions and transmissions. Added in PHP 5.2.1.
* @link http://www.php.net/manual/en/stream.constants.php
*/
define ('STREAM_SHUT_RDWR', 2);
/**
* Internet Protocol Version 4 (IPv4).
* @link http://www.php.net/manual/en/stream.constants.php
*/
define ('STREAM_PF_INET', 2);
/**
* Internet Protocol Version 6 (IPv6).
* @link http://www.php.net/manual/en/stream.constants.php
*/
define ('STREAM_PF_INET6', 10);
/**
* Unix system internal protocols.
* @link http://www.php.net/manual/en/stream.constants.php
*/
define ('STREAM_PF_UNIX', 1);
/**
* Provides a IP socket.
* @link http://www.php.net/manual/en/stream.constants.php
*/
define ('STREAM_IPPROTO_IP', 0);
/**
* Provides a TCP socket.
* @link http://www.php.net/manual/en/stream.constants.php
*/
define ('STREAM_IPPROTO_TCP', 6);
/**
* Provides a UDP socket.
* @link http://www.php.net/manual/en/stream.constants.php
*/
define ('STREAM_IPPROTO_UDP', 17);
/**
* Provides a ICMP socket.
* @link http://www.php.net/manual/en/stream.constants.php
*/
define ('STREAM_IPPROTO_ICMP', 1);
/**
* Provides a RAW socket.
* @link http://www.php.net/manual/en/stream.constants.php
*/
define ('STREAM_IPPROTO_RAW', 255);
/**
* Provides sequenced, two-way byte streams with a transmission mechanism
* for out-of-band data (TCP, for example).
* @link http://www.php.net/manual/en/stream.constants.php
*/
define ('STREAM_SOCK_STREAM', 1);
/**
* Provides datagrams, which are connectionless messages (UDP, for
* example).
* @link http://www.php.net/manual/en/stream.constants.php
*/
define ('STREAM_SOCK_DGRAM', 2);
/**
* Provides a raw socket, which provides access to internal network
* protocols and interfaces. Usually this type of socket is just available
* to the root user.
* @link http://www.php.net/manual/en/stream.constants.php
*/
define ('STREAM_SOCK_RAW', 3);
/**
* Provides a sequenced packet stream socket.
* @link http://www.php.net/manual/en/stream.constants.php
*/
define ('STREAM_SOCK_SEQPACKET', 5);
/**
* Provides a RDM (Reliably-delivered messages) socket.
* @link http://www.php.net/manual/en/stream.constants.php
*/
define ('STREAM_SOCK_RDM', 4);
define ('STREAM_PEEK', 2);
define ('STREAM_OOB', 1);
/**
* Tells a stream created with stream_socket_server
* to bind to the specified target. Server sockets should always include this flag.
* @link http://www.php.net/manual/en/stream.constants.php
*/
define ('STREAM_SERVER_BIND', 4);
/**
* Tells a stream created with stream_socket_server
* and bound using the STREAM_SERVER_BIND flag to start
* listening on the socket. Connection-orientated transports (such as TCP)
* must use this flag, otherwise the server socket will not be enabled.
* Using this flag for connect-less transports (such as UDP) is an error.
* @link http://www.php.net/manual/en/stream.constants.php
*/
define ('STREAM_SERVER_LISTEN', 8);
/**
* Search for filename in
* include_path (since PHP 5).
* @link http://www.php.net/manual/en/filesystem.constants.php
*/
define ('FILE_USE_INCLUDE_PATH', 1);
/**
* Strip EOL characters (since PHP 5).
* @link http://www.php.net/manual/en/filesystem.constants.php
*/
define ('FILE_IGNORE_NEW_LINES', 2);
/**
* Skip empty lines (since PHP 5).
* @link http://www.php.net/manual/en/filesystem.constants.php
*/
define ('FILE_SKIP_EMPTY_LINES', 4);
/**
* Append content to existing file.
* @link http://www.php.net/manual/en/filesystem.constants.php
*/
define ('FILE_APPEND', 8);
define ('FILE_NO_DEFAULT_CONTEXT', 16);
/**
* <p>
* Text mode (since PHP 5.2.7).
*
* <p>
* This constant has no effect, and is only available for
* forward compatibility.
* </p>
*
* </p>
* @link http://www.php.net/manual/en/filesystem.constants.php
*/
define ('FILE_TEXT', 0);
/**
* <p>
* Binary mode (since PHP 5.2.7).
*
* <p>
* This constant has no effect, and is only available for
* forward compatibility.
* </p>
*
* </p>
* @link http://www.php.net/manual/en/filesystem.constants.php
*/
define ('FILE_BINARY', 0);
/**
* Disable backslash escaping.
* @link http://www.php.net/manual/en/filesystem.constants.php
*/
define ('FNM_NOESCAPE', 2);
/**
* Slash in string only matches slash in the given pattern.
* @link http://www.php.net/manual/en/filesystem.constants.php
*/
define ('FNM_PATHNAME', 1);
/**
* Leading period in string must be exactly matched by period in the given pattern.
* @link http://www.php.net/manual/en/filesystem.constants.php
*/
define ('FNM_PERIOD', 4);
/**
* Caseless match. Part of the GNU extension.
* @link http://www.php.net/manual/en/filesystem.constants.php
*/
define ('FNM_CASEFOLD', 16);
/**
* Return Code indicating that the
* userspace filter returned buckets in $out.
* @link http://www.php.net/manual/en/stream.constants.php
*/
define ('PSFS_PASS_ON', 2);
/**
* Return Code indicating that the
* userspace filter did not return buckets in $out
* (i.e. No data available).
* @link http://www.php.net/manual/en/stream.constants.php
*/
define ('PSFS_FEED_ME', 1);
/**
* Return Code indicating that the
* userspace filter encountered an unrecoverable error
* (i.e. Invalid data received).
* @link http://www.php.net/manual/en/stream.constants.php
*/
define ('PSFS_ERR_FATAL', 0);
/**
* Regular read/write.
* @link http://www.php.net/manual/en/stream.constants.php
*/
define ('PSFS_FLAG_NORMAL', 0);
/**
* An incremental flush.
* @link http://www.php.net/manual/en/stream.constants.php
*/
define ('PSFS_FLAG_FLUSH_INC', 1);
/**
* Final flush prior to closing.
* @link http://www.php.net/manual/en/stream.constants.php
*/
define ('PSFS_FLAG_FLUSH_CLOSE', 2);
/**
* <p>
* The default algorithm to use for hashing if no algorithm is provided.
* This may change in newer PHP releases when newer, stronger hashing
* algorithms are supported.
* </p>
* <p>
* It is worth noting that over time this constant can (and likely will)
* change. Therefore you should be aware that the length of the resulting
* hash can change. Therefore, if you use PASSWORD_DEFAULT
* you should store the resulting hash in a way that can store more than 60
* characters (255 is the recomended width).
* </p>
* <p>
* Values for this constant:
* </p>
*
*
*
* PHP 5.5.0 - PASSWORD_BCRYPT
* @link http://www.php.net/manual/en/password.constants.php
*/
define ('PASSWORD_DEFAULT', 1);
/**
* <p>
* PASSWORD_BCRYPT is used to create new password
* hashes using the CRYPT_BLOWFISH algorithm.
* </p>
* <p>
* This will always result in a hash using the "$2y$" crypt format,
* which is always 60 characters wide.
* </p>
* <p>
* Supported Options:
* </p>
*
*
* <p>
* salt - to manually provide a salt to use when hashing the password.
* Note that this will override and prevent a salt from being automatically generated.
* </p>
* <p>
* If omitted, a random salt will be generated by password_hash for
* each password hashed. This is the intended mode of operation.
* </p>
* @link http://www.php.net/manual/en/password.constants.php
*/
define ('PASSWORD_BCRYPT', 1);
define ('PASSWORD_BCRYPT_DEFAULT_COST', 10);
define ('ABDAY_1', 131072);
define ('ABDAY_2', 131073);
define ('ABDAY_3', 131074);
define ('ABDAY_4', 131075);
define ('ABDAY_5', 131076);
define ('ABDAY_6', 131077);
define ('ABDAY_7', 131078);
define ('DAY_1', 131079);
define ('DAY_2', 131080);
define ('DAY_3', 131081);
define ('DAY_4', 131082);
define ('DAY_5', 131083);
define ('DAY_6', 131084);
define ('DAY_7', 131085);
define ('ABMON_1', 131086);
define ('ABMON_2', 131087);
define ('ABMON_3', 131088);
define ('ABMON_4', 131089);
define ('ABMON_5', 131090);
define ('ABMON_6', 131091);
define ('ABMON_7', 131092);
define ('ABMON_8', 131093);
define ('ABMON_9', 131094);
define ('ABMON_10', 131095);
define ('ABMON_11', 131096);
define ('ABMON_12', 131097);
define ('MON_1', 131098);
define ('MON_2', 131099);
define ('MON_3', 131100);
define ('MON_4', 131101);
define ('MON_5', 131102);
define ('MON_6', 131103);
define ('MON_7', 131104);
define ('MON_8', 131105);
define ('MON_9', 131106);
define ('MON_10', 131107);
define ('MON_11', 131108);
define ('MON_12', 131109);
define ('AM_STR', 131110);
define ('PM_STR', 131111);
define ('D_T_FMT', 131112);
define ('D_FMT', 131113);
define ('T_FMT', 131114);
define ('T_FMT_AMPM', 131115);
define ('ERA', 131116);
define ('ERA_D_T_FMT', 131120);
define ('ERA_D_FMT', 131118);
define ('ERA_T_FMT', 131121);
define ('ALT_DIGITS', 131119);
define ('CRNCYSTR', 262159);
define ('RADIXCHAR', 65536);
define ('THOUSEP', 65537);
define ('YESEXPR', 327680);
define ('NOEXPR', 327681);
define ('CODESET', 14);
define ('CRYPT_SALT_LENGTH', 123);
define ('CRYPT_STD_DES', 1);
define ('CRYPT_EXT_DES', 1);
define ('CRYPT_MD5', 1);
define ('CRYPT_BLOWFISH', 1);
define ('CRYPT_SHA256', 1);
define ('CRYPT_SHA512', 1);
define ('DIRECTORY_SEPARATOR', "/");
/**
* Available since PHP 4.3.0. Semicolon on Windows, colon otherwise.
* @link http://www.php.net/manual/en/dir.constants.php
*/
define ('PATH_SEPARATOR', ":");
/**
* Available since PHP 5.4.0.
* @link http://www.php.net/manual/en/dir.constants.php
*/
define ('SCANDIR_SORT_ASCENDING', 0);
/**
* Available since PHP 5.4.0.
* @link http://www.php.net/manual/en/dir.constants.php
*/
define ('SCANDIR_SORT_DESCENDING', 1);
/**
* Available since PHP 5.4.0.
* @link http://www.php.net/manual/en/dir.constants.php
*/
define ('SCANDIR_SORT_NONE', 2);
define ('GLOB_BRACE', 1024);
define ('GLOB_MARK', 2);
define ('GLOB_NOSORT', 4);
define ('GLOB_NOCHECK', 16);
define ('GLOB_NOESCAPE', 64);
define ('GLOB_ERR', 1);
define ('GLOB_ONLYDIR', 8192);
define ('GLOB_AVAILABLE_FLAGS', 9303);
/**
* system is unusable
* @link http://www.php.net/manual/en/network.constants.php
*/
define ('LOG_EMERG', 0);
/**
* action must be taken immediately
* @link http://www.php.net/manual/en/network.constants.php
*/
define ('LOG_ALERT', 1);
/**
* critical conditions
* @link http://www.php.net/manual/en/network.constants.php
*/
define ('LOG_CRIT', 2);
/**
* error conditions
* @link http://www.php.net/manual/en/network.constants.php
*/
define ('LOG_ERR', 3);
/**
* warning conditions
* @link http://www.php.net/manual/en/network.constants.php
*/
define ('LOG_WARNING', 4);
/**
* normal, but significant, condition
* @link http://www.php.net/manual/en/network.constants.php
*/
define ('LOG_NOTICE', 5);
/**
* informational message
* @link http://www.php.net/manual/en/network.constants.php
*/
define ('LOG_INFO', 6);
/**
* debug-level message
* @link http://www.php.net/manual/en/network.constants.php
*/
define ('LOG_DEBUG', 7);
/**
* kernel messages
* @link http://www.php.net/manual/en/network.constants.php
*/
define ('LOG_KERN', 0);
/**
* generic user-level messages
* @link http://www.php.net/manual/en/network.constants.php
*/
define ('LOG_USER', 8);
/**
* mail subsystem
* @link http://www.php.net/manual/en/network.constants.php
*/
define ('LOG_MAIL', 16);
/**
* other system daemons
* @link http://www.php.net/manual/en/network.constants.php
*/
define ('LOG_DAEMON', 24);
/**
* security/authorization messages (use LOG_AUTHPRIV instead
* in systems where that constant is defined)
* @link http://www.php.net/manual/en/network.constants.php
*/
define ('LOG_AUTH', 32);
/**
* messages generated internally by syslogd
* @link http://www.php.net/manual/en/network.constants.php
*/
define ('LOG_SYSLOG', 40);
/**
* line printer subsystem
* @link http://www.php.net/manual/en/network.constants.php
*/
define ('LOG_LPR', 48);
/**
* USENET news subsystem
* @link http://www.php.net/manual/en/network.constants.php
*/
define ('LOG_NEWS', 56);
/**
* UUCP subsystem
* @link http://www.php.net/manual/en/network.constants.php
*/
define ('LOG_UUCP', 64);
/**
* clock daemon (cron and at)
* @link http://www.php.net/manual/en/network.constants.php
*/
define ('LOG_CRON', 72);
/**
* security/authorization messages (private)
* @link http://www.php.net/manual/en/network.constants.php
*/
define ('LOG_AUTHPRIV', 80);
define ('LOG_LOCAL0', 128);
define ('LOG_LOCAL1', 136);
define ('LOG_LOCAL2', 144);
define ('LOG_LOCAL3', 152);
define ('LOG_LOCAL4', 160);
define ('LOG_LOCAL5', 168);
define ('LOG_LOCAL6', 176);
define ('LOG_LOCAL7', 184);
/**
* include PID with each message
* @link http://www.php.net/manual/en/network.constants.php
*/
define ('LOG_PID', 1);
/**
* if there is an error while sending data to the system logger,
* write directly to the system console
* @link http://www.php.net/manual/en/network.constants.php
*/
define ('LOG_CONS', 2);
/**
* (default) delay opening the connection until the first
* message is logged
* @link http://www.php.net/manual/en/network.constants.php
*/
define ('LOG_ODELAY', 4);
/**
* open the connection to the logger immediately
* @link http://www.php.net/manual/en/network.constants.php
*/
define ('LOG_NDELAY', 8);
define ('LOG_NOWAIT', 16);
/**
* print log message also to standard error
* @link http://www.php.net/manual/en/network.constants.php
*/
define ('LOG_PERROR', 32);
define ('EXTR_OVERWRITE', 0);
define ('EXTR_SKIP', 1);
define ('EXTR_PREFIX_SAME', 2);
define ('EXTR_PREFIX_ALL', 3);
define ('EXTR_PREFIX_INVALID', 4);
define ('EXTR_PREFIX_IF_EXISTS', 5);
define ('EXTR_IF_EXISTS', 6);
define ('EXTR_REFS', 256);
/**
* SORT_ASC is used with
* array_multisort to sort in ascending order.
* @link http://www.php.net/manual/en/array.constants.php
*/
define ('SORT_ASC', 4);
/**
* SORT_DESC is used with
* array_multisort to sort in descending order.
* @link http://www.php.net/manual/en/array.constants.php
*/
define ('SORT_DESC', 3);
/**
* SORT_REGULAR is used to compare items normally.
* @link http://www.php.net/manual/en/array.constants.php
*/
define ('SORT_REGULAR', 0);
/**
* SORT_NUMERIC is used to compare items numerically.
* @link http://www.php.net/manual/en/array.constants.php
*/
define ('SORT_NUMERIC', 1);
/**
* SORT_STRING is used to compare items as strings.
* @link http://www.php.net/manual/en/array.constants.php
*/
define ('SORT_STRING', 2);
/**
* SORT_LOCALE_STRING is used to compare items as
* strings, based on the current locale. Added in PHP 4.4.0 and 5.0.2.
* @link http://www.php.net/manual/en/array.constants.php
*/
define ('SORT_LOCALE_STRING', 5);
/**
* SORT_NATURAL is used to compare items as
* strings using "natural ordering" like natsort. Added in PHP 5.4.0.
* @link http://www.php.net/manual/en/array.constants.php
*/
define ('SORT_NATURAL', 6);
/**
* SORT_FLAG_CASE can be combined
* (bitwise OR) with
* SORT_STRING or
* SORT_NATURAL to sort strings case-insensitively. Added in PHP 5.4.0.
* @link http://www.php.net/manual/en/array.constants.php
*/
define ('SORT_FLAG_CASE', 8);
/**
* CASE_LOWER is used with
* array_change_key_case and is used to convert array
* keys to lower case. This is also the default case for
* array_change_key_case.
* @link http://www.php.net/manual/en/array.constants.php
*/
define ('CASE_LOWER', 0);
/**
* CASE_UPPER is used with
* array_change_key_case and is used to convert array
* keys to upper case.
* @link http://www.php.net/manual/en/array.constants.php
*/
define ('CASE_UPPER', 1);
define ('COUNT_NORMAL', 0);
define ('COUNT_RECURSIVE', 1);
/**
* ARRAY_FILTER_USE_BOTH is used with
* array_filter to pass both value and key to the given callback function.
* Added in PHP 5.6.0.
* @link http://www.php.net/manual/en/array.constants.php
*/
define ('ARRAY_FILTER_USE_BOTH', 1);
/**
* ARRAY_FILTER_USE_KEY is used with
* array_filter to pass each key as the first argument to the given callback function.
* Added in PHP 5.6.0.
* @link http://www.php.net/manual/en/array.constants.php
*/
define ('ARRAY_FILTER_USE_KEY', 2);
define ('ASSERT_ACTIVE', 1);
define ('ASSERT_CALLBACK', 2);
define ('ASSERT_BAIL', 3);
define ('ASSERT_WARNING', 4);
define ('ASSERT_QUIET_EVAL', 5);
/**
* Flag indicating if the stream
* used the include path.
* @link http://www.php.net/manual/en/stream.constants.php
*/
define ('STREAM_USE_PATH', 1);
define ('STREAM_IGNORE_URL', 2);
/**
* Flag indicating if the wrapper
* is responsible for raising errors using trigger_error
* during opening of the stream. If this flag is not set, you
* should not raise any errors.
* @link http://www.php.net/manual/en/stream.constants.php
*/
define ('STREAM_REPORT_ERRORS', 8);
/**
* This flag is useful when your extension really must be able to randomly
* seek around in a stream. Some streams may not be seekable in their
* native form, so this flag asks the streams API to check to see if the
* stream does support seeking. If it does not, it will copy the stream
* into temporary storage (which may be a temporary file or a memory
* stream) which does support seeking.
* Please note that this flag is not useful when you want to seek the
* stream and write to it, because the stream you are accessing might
* not be bound to the actual resource you requested.
*
*
*
* If the requested resource is network based, this flag will cause the
* opener to block until the whole contents have been downloaded.
* @link http://www.php.net/manual/en/internals2.ze1.streams.constants.php
*/
define ('STREAM_MUST_SEEK', 16);
define ('STREAM_URL_STAT_LINK', 1);
define ('STREAM_URL_STAT_QUIET', 2);
define ('STREAM_MKDIR_RECURSIVE', 1);
define ('STREAM_IS_URL', 1);
define ('STREAM_OPTION_BLOCKING', 1);
define ('STREAM_OPTION_READ_TIMEOUT', 4);
define ('STREAM_OPTION_READ_BUFFER', 2);
define ('STREAM_OPTION_WRITE_BUFFER', 3);
define ('STREAM_BUFFER_NONE', 0);
define ('STREAM_BUFFER_LINE', 1);
define ('STREAM_BUFFER_FULL', 2);
/**
* Stream casting, when stream_cast is called
* otherwise (see above).
* @link http://www.php.net/manual/en/stream.constants.php
*/
define ('STREAM_CAST_AS_STREAM', 0);
/**
* Stream casting, for when stream_select is
* calling stream_cast.
* @link http://www.php.net/manual/en/stream.constants.php
*/
define ('STREAM_CAST_FOR_SELECT', 3);
/**
* Used with stream_metadata, to specify touch call.
* @link http://www.php.net/manual/en/stream.constants.php
*/
define ('STREAM_META_TOUCH', 1);
/**
* Used with stream_metadata, to specify chown call.
* @link http://www.php.net/manual/en/stream.constants.php
*/
define ('STREAM_META_OWNER', 3);
/**
* Used with stream_metadata, to specify chown call.
* @link http://www.php.net/manual/en/stream.constants.php
*/
define ('STREAM_META_OWNER_NAME', 2);
/**
* Used with stream_metadata, to specify chgrp call.
* @link http://www.php.net/manual/en/stream.constants.php
*/
define ('STREAM_META_GROUP', 5);
/**
* Used with stream_metadata, to specify chgrp call.
* @link http://www.php.net/manual/en/stream.constants.php
*/
define ('STREAM_META_GROUP_NAME', 4);
/**
* Used with stream_metadata, to specify chmod call.
* @link http://www.php.net/manual/en/stream.constants.php
*/
define ('STREAM_META_ACCESS', 6);
/**
* Image type constant used by the
* image_type_to_mime_type and
* image_type_to_extension functions.
* @link http://www.php.net/manual/en/image.constants.php
*/
define ('IMAGETYPE_GIF', 1);
/**
* Image type constant used by the
* image_type_to_mime_type and
* image_type_to_extension functions.
* @link http://www.php.net/manual/en/image.constants.php
*/
define ('IMAGETYPE_JPEG', 2);
/**
* Image type constant used by the
* image_type_to_mime_type and
* image_type_to_extension functions.
* @link http://www.php.net/manual/en/image.constants.php
*/
define ('IMAGETYPE_PNG', 3);
/**
* Image type constant used by the
* image_type_to_mime_type and
* image_type_to_extension functions.
* @link http://www.php.net/manual/en/image.constants.php
*/
define ('IMAGETYPE_SWF', 4);
/**
* Image type constant used by the
* image_type_to_mime_type and
* image_type_to_extension functions.
* @link http://www.php.net/manual/en/image.constants.php
*/
define ('IMAGETYPE_PSD', 5);
/**
* Image type constant used by the
* image_type_to_mime_type and
* image_type_to_extension functions.
* @link http://www.php.net/manual/en/image.constants.php
*/
define ('IMAGETYPE_BMP', 6);
/**
* Image type constant used by the
* image_type_to_mime_type and
* image_type_to_extension functions.
* @link http://www.php.net/manual/en/image.constants.php
*/
define ('IMAGETYPE_TIFF_II', 7);
/**
* Image type constant used by the
* image_type_to_mime_type and
* image_type_to_extension functions.
* @link http://www.php.net/manual/en/image.constants.php
*/
define ('IMAGETYPE_TIFF_MM', 8);
/**
* Image type constant used by the
* image_type_to_mime_type and
* image_type_to_extension functions.
* @link http://www.php.net/manual/en/image.constants.php
*/
define ('IMAGETYPE_JPC', 9);
/**
* Image type constant used by the
* image_type_to_mime_type and
* image_type_to_extension functions.
* @link http://www.php.net/manual/en/image.constants.php
*/
define ('IMAGETYPE_JP2', 10);
/**
* Image type constant used by the
* image_type_to_mime_type and
* image_type_to_extension functions.
* @link http://www.php.net/manual/en/image.constants.php
*/
define ('IMAGETYPE_JPX', 11);
/**
* Image type constant used by the
* image_type_to_mime_type and
* image_type_to_extension functions.
* @link http://www.php.net/manual/en/image.constants.php
*/
define ('IMAGETYPE_JB2', 12);
/**
* Image type constant used by the
* image_type_to_mime_type and
* image_type_to_extension functions.
* @link http://www.php.net/manual/en/image.constants.php
*/
define ('IMAGETYPE_SWC', 13);
/**
* Image type constant used by the
* image_type_to_mime_type and
* image_type_to_extension functions.
* @link http://www.php.net/manual/en/image.constants.php
*/
define ('IMAGETYPE_IFF', 14);
/**
* Image type constant used by the
* image_type_to_mime_type and
* image_type_to_extension functions.
* @link http://www.php.net/manual/en/image.constants.php
*/
define ('IMAGETYPE_WBMP', 15);
/**
* Image type constant used by the
* image_type_to_mime_type and
* image_type_to_extension functions.
* @link http://www.php.net/manual/en/image.constants.php
*/
define ('IMAGETYPE_JPEG2000', 9);
/**
* Image type constant used by the
* image_type_to_mime_type and
* image_type_to_extension functions.
* @link http://www.php.net/manual/en/image.constants.php
*/
define ('IMAGETYPE_XBM', 16);
/**
* Image type constant used by the
* image_type_to_mime_type and
* image_type_to_extension functions.
* (Available as of PHP 5.3.0)
* @link http://www.php.net/manual/en/image.constants.php
*/
define ('IMAGETYPE_ICO', 17);
define ('IMAGETYPE_UNKNOWN', 0);
define ('IMAGETYPE_COUNT', 18);
/**
* IPv4 Address Resource
* @link http://www.php.net/manual/en/network.constants.php
*/
define ('DNS_A', 1);
/**
* Authoritative Name Server Resource
* @link http://www.php.net/manual/en/network.constants.php
*/
define ('DNS_NS', 2);
/**
* Alias (Canonical Name) Resource
* @link http://www.php.net/manual/en/network.constants.php
*/
define ('DNS_CNAME', 16);
/**
* Start of Authority Resource
* @link http://www.php.net/manual/en/network.constants.php
*/
define ('DNS_SOA', 32);
/**
* Pointer Resource
* @link http://www.php.net/manual/en/network.constants.php
*/
define ('DNS_PTR', 2048);
/**
* Host Info Resource (See IANA's
* Operating System Names
* for the meaning of these values)
* @link http://www.php.net/manual/en/network.constants.php
*/
define ('DNS_HINFO', 4096);
/**
* Mail Exchanger Resource
* @link http://www.php.net/manual/en/network.constants.php
*/
define ('DNS_MX', 16384);
/**
* Text Resource
* @link http://www.php.net/manual/en/network.constants.php
*/
define ('DNS_TXT', 32768);
define ('DNS_SRV', 33554432);
define ('DNS_NAPTR', 67108864);
/**
* IPv6 Address Resource
* @link http://www.php.net/manual/en/network.constants.php
*/
define ('DNS_AAAA', 134217728);
define ('DNS_A6', 16777216);
/**
* Any Resource Record. On most systems
* this returns all resource records, however
* it should not be counted upon for critical
* uses. Try DNS_ALL instead.
* @link http://www.php.net/manual/en/network.constants.php
*/
define ('DNS_ANY', 268435456);
/**
* Iteratively query the name server for
* each available record type.
* @link http://www.php.net/manual/en/network.constants.php
*/
define ('DNS_ALL', 251713587);
// End of standard v.5.6.0
?>
|