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
|
# php-src/Zend/zend_builtin_functions.c
bool class_exists(string classname [, bool autoload])
Checks if the class exists
string create_function(string args, string code)
Creates an anonymous function, and returns its name (funny, eh?)
array debug_backtrace(void)
Return backtrace as array
void debug_print_backtrace(void)
bool define(string constant_name, mixed value, case_sensitive=true)
Define a new constant
bool defined(string constant_name)
Check whether a constant exists
array each(array arr)
Return the currently pointed key..value pair in the passed array, and advance the pointer to the next element
int error_reporting(int new_error_level=null)
Return the current error_reporting level, and if an argument was passed - change to the new level
bool extension_loaded(string extension_name)
Returns true if the named extension is loaded
mixed func_get_arg(int arg_num)
Get the $arg_num'th argument that was passed to the function
array func_get_args()
Get an array of the arguments that were passed to the function
int func_num_args(void)
Get the number of arguments that were passed to the function
bool function_exists(string function_name)
Checks if the function exists
string get_class([object object])
Retrieves the class name
array get_class_methods(mixed class)
Returns an array of method names for class or class instance.
array get_class_vars(string class_name)
Returns an array of default properties of the class.
array get_declared_classes()
Returns an array of all declared classes.
array get_declared_interfaces()
Returns an array of all declared interfaces.
array get_defined_constants(void)
Return an array containing the names and values of all defined constants
array get_defined_functions(void)
Returns an array of all defined functions
array get_defined_vars(void)
Returns an associative array of names and values of all currently defined variable names (variables in the current scope)
array get_extension_funcs(string extension_name)
Returns an array with the names of functions belonging to the named extension
array get_included_files(void)
Returns an array with the file names that were include_once()'d
array get_loaded_extensions(void)
Return an array containing names of loaded extensions
array get_object_vars(object obj)
Returns an array of object properties
string get_parent_class([mixed object])
Retrieves the parent class name for object or class or current scope.
string get_resource_type(resource res)
Get the resource type name for a given resource
bool interface_exists(string classname [, bool autoload])
Checks if the class exists
bool is_a(object object, string class_name)
Returns true if the object is of this class or has this class as one of its parents
bool is_subclass_of(object object, string class_name)
Returns true if the object has this class as one of its parents
void leak(int num_bytes=3)
Cause an intentional memory leak, for testing/debugging purposes
bool method_exists(object object, string method)
Checks if the class method exists
void restore_error_handler(void)
Restores the previously defined error handler function
void restore_exception_handler(void)
Restores the previously defined exception handler function
string set_error_handler(string error_handler [, int error_types])
Sets a user-defined error handler function. Returns the previously defined error handler, or false on error
string set_exception_handler(callable exception_handler)
Sets a user-defined exception handler function. Returns the previously defined exception handler, or false on error
int strcasecmp(string str1, string str2)
Binary safe case-insensitive string comparison
int strcmp(string str1, string str2)
Binary safe string comparison
int strlen(string str)
Get string length
int strncasecmp(string str1, string str2, int len)
Binary safe string comparison
int strncmp(string str1, string str2, int len)
Binary safe string comparison
void trigger_error(string messsage [, int error_type])
Generates a user-level error/warning/notice message
string zend_version(void)
Get the version of the Zend Engine
# php-src/Zend/zend_exceptions.c
int ErrorException::getSeverity()
Get the exception severity
Exception Exception::__clone()
Clone the exception object
string Exception::__toString()
Obtain the string representation of the Exception object
int Exception::getCode()
Get the exception code
string Exception::getFile()
Get the file in which the exception occurred
int Exception::getLine()
Get the line in which the exception occurred
string Exception::getMessage()
Get the exception message
array Exception::getTrace()
Get the stack trace for the location in which the exception occurred
string Exception::getTraceAsString()
Obtain the backtrace for the exception as a string (instead of an array)
Exception::__construct(string message, int code)
Exception constructor
ErrorException::__construct(string message, int code, int severity [, string filename [, int lineno]])
ErrorException constructor
# php-src/Zend/zend_reflection_api.c
public ReflectionClass ReflectionClass::getParentClass()
Returns the class' parent class, or, if none exists, FALSE
public ReflectionClass ReflectionMethod::getDeclaringClass()
Get the declaring class
public ReflectionClass ReflectionParameter::getClass()
Returns this parameters's class hint or NULL if there is none
public ReflectionClass ReflectionProperty::getDeclaringClass()
Get the declaring class
public ReflectionClass::__construct(mixed argument) throws ReflectionException
Constructor. Takes a string or an instance as an argument
public ReflectionClass[] ReflectionClass::getInterfaces()
Returns an array of interfaces this class implements
public ReflectionClass[] ReflectionExtension::getClasses()
Returns an array containing ReflectionClass objects for all classes of this extension
public ReflectionExtension::__construct(string name)
Constructor. Throws an Exception in case the given extension does not exist
public ReflectionExtension|NULL ReflectionClass::getExtension()
Returns NULL or the extension the class belongs to
public ReflectionFunction::__construct(string name)
Constructor. Throws an Exception in case the given function does not exist
public ReflectionFunction[] ReflectionExtension::getFunctions()
Returns an array of this extension's fuctions
public ReflectionMethod ReflectionClass::getConstructor()
Returns the class' constructor if there is one, NULL otherwise
public ReflectionMethod ReflectionClass::getMethod(string name) throws ReflectionException
Returns the class' method specified by it's name
public ReflectionMethod::__construct(mixed class, string name)
Constructor. Throws an Exception in case the given method does not exist
public ReflectionMethod[] ReflectionClass::getMethods()
Returns an array of this class' methods
public ReflectionObject::__construct(mixed argument) throws ReflectionException
Constructor. Takes an instance as an argument
public ReflectionParameter::__construct(mixed function, mixed parameter)
Constructor. Throws an Exception in case the given method does not exist
public ReflectionParameter[] Reflection_Function::getParameters()
Returns an array of parameter objects for this function
public ReflectionProperty ReflectionClass::getProperty(string name) throws ReflectionException
Returns the class' property specified by it's name
public ReflectionProperty::__construct(mixed class, string name)
Constructor. Throws an Exception in case the given property does not exist
public ReflectionProperty[] ReflectionClass::getProperties()
Returns an array of this class' properties
public array ReflectionClass::getConstants()
Returns an associative array containing this class' constants and their values
public array ReflectionClass::getDefaultProperties()
Returns an associative array containing copies of all default property values of the class
public array ReflectionClass::getStaticProperties()
Returns an associative array containing all static property values of the class
public array ReflectionExtension::getClassNames()
Returns an array containing all names of all classes of this extension
public array ReflectionExtension::getConstants()
Returns an associative array containing this extension's constants and their values
public array ReflectionExtension::getINIEntries()
Returns an associative array containing this extension's INI entries and their values
public array ReflectionFunction::getStaticVariables()
Returns an associative array containing this function's static variables and their values
public bool ReflectionClass::hasMethod(string name)
Returns wether a method exists or not
public bool ReflectionClass::implementsInterface(string|ReflectionClass interface_name)
Returns whether this class is a subclass of another class
public bool ReflectionClass::isAbstract()
Returns whether this class is abstract
public bool ReflectionClass::isFinal()
Returns whether this class is final
public bool ReflectionClass::isInstance(stdclass object)
Returns whether the given object is an instance of this class
public bool ReflectionClass::isInstantiable()
Returns whether this class is instantiable
public bool ReflectionClass::isInterface()
Returns whether this is an interface or a class
public bool ReflectionClass::isInternal()
Returns whether this class is an internal class
public bool ReflectionClass::isIterateable()
Returns whether this class is iterateable (can be used inside foreach)
public bool ReflectionClass::isSubclassOf(string|ReflectionClass class)
Returns whether this class is a subclass of another class
public bool ReflectionClass::isUserDefined()
Returns whether this class is user-defined
public bool ReflectionFunction::getNumberOfParameters()
Gets the number of required parameters
public bool ReflectionFunction::getNumberOfRequiredParameters()
Gets the number of required parameters
public bool ReflectionFunction::isInternal()
Returns whether this is an internal function
public bool ReflectionFunction::isUserDefined()
Returns whether this is an user-defined function
public bool ReflectionFunction::returnsReference()
Gets whether this function returns a reference
public bool ReflectionMethod::isAbstract()
Returns whether this method is abstract
public bool ReflectionMethod::isConstructor()
Returns whether this method is the constructor
public bool ReflectionMethod::isDestructor()
Returns whether this method is static
public bool ReflectionMethod::isFinal()
Returns whether this method is final
public bool ReflectionMethod::isPrivate()
Returns whether this method is private
public bool ReflectionMethod::isProtected()
Returns whether this method is protected
public bool ReflectionMethod::isPublic()
Returns whether this method is public
public bool ReflectionMethod::isStatic()
Returns whether this method is static
public bool ReflectionParameter::allowsNull()
Returns whether NULL is allowed as this parameters's value
public bool ReflectionParameter::getDefaultValue()
Returns the default value of this parameter or throws an exception
public bool ReflectionParameter::isDefaultValueAvailable()
Returns whether the default value of this parameter is available
public bool ReflectionParameter::isOptional()
Returns whether this parameter is an optional parameter
public bool ReflectionParameter::isPassedByReference()
Returns whether this parameters is passed to by reference
public bool ReflectionProperty::isDefault()
Returns whether this property is default (declared at compilation time).
public bool ReflectionProperty::isPrivate()
Returns whether this property is private
public bool ReflectionProperty::isProtected()
Returns whether this property is protected
public bool ReflectionProperty::isPublic()
Returns whether this property is public
public bool ReflectionProperty::isStatic()
Returns whether this property is static
public int ReflectionClass::getEndLine()
Returns the line this class' declaration ends at
public int ReflectionClass::getModifiers()
Returns a bitfield of the access modifiers for this class
public int ReflectionClass::getStartLine()
Returns the line this class' declaration starts at
public int ReflectionFunction::getEndLine()
Returns the line this function's declaration ends at
public int ReflectionFunction::getStartLine()
Returns the line this function's declaration starts at
public int ReflectionMethod::getModifiers()
Returns a bitfield of the access modifiers for this method
public int ReflectionProperty::getModifiers()
Returns a bitfield of the access modifiers for this property
public mixed ReflectionClass::getConstant(string name)
Returns the class' constant specified by its name
public mixed ReflectionFunction::invoke(mixed* args)
Invokes the function
public mixed ReflectionFunction::invokeArgs(array args)
Invokes the function
public mixed ReflectionMethod::invoke(mixed object, mixed* args)
Invokes the function. Pass a
public mixed ReflectionMethod::invokeArgs(mixed object, array args)
Invokes the function. Pass a
public mixed ReflectionProperty::getValue([stdclass object])
Returns this property's value
public static array Reflection::getModifierNames(int modifiers)
Returns an array of modifier names
public static mixed Reflection::export(Reflector r [, bool return])
Exports a reflection object. Returns the output if TRUE is specified for return, printing it otherwise.
public static mixed ReflectionClass::export(mixed argument [, bool return]) throws ReflectionException
Exports a reflection object. Returns the output if TRUE is specified for return, printing it otherwise.
public static mixed ReflectionExtension::export(string name [, bool return]) throws ReflectionException
Exports a reflection object. Returns the output if TRUE is specified for return, printing it otherwise.
public static mixed ReflectionFunction::export(string name [, bool return]) throws ReflectionException
Exports a reflection object. Returns the output if TRUE is specified for return, printing it otherwise.
public static mixed ReflectionMethod::export(mixed class, string name [, bool return]) throws ReflectionException
Exports a reflection object. Returns the output if TRUE is specified for return, printing it otherwise.
public static mixed ReflectionObject::export(mixed argument [, bool return]) throws ReflectionException
Exports a reflection object. Returns the output if TRUE is specified for return, printing it otherwise.
public static mixed ReflectionParameter::export(mixed function, mixed parameter [, bool return]) throws ReflectionException
Exports a reflection object. Returns the output if TRUE is specified for return, printing it otherwise.
public static mixed ReflectionProperty::export(mixed class, string name [, bool return]) throws ReflectionException
Exports a reflection object. Returns the output if TRUE is specified for return, printing it otherwise.
public stdclass ReflectionClass::newInstance(mixed* args, ...)
Returns an instance of this class
public string ReflectionClass::__toString()
Returns a string representation
public string ReflectionClass::getDocComment()
Returns the doc comment for this class
public string ReflectionClass::getFileName()
Returns the filename of the file this class was declared in
public string ReflectionClass::getName()
Returns the class' name
public string ReflectionExtension::__toString()
Returns a string representation
public string ReflectionExtension::getName()
Returns this extension's name
public string ReflectionExtension::getVersion()
Returns this extension's version
public string ReflectionFunction::__toString()
Returns a string representation
public string ReflectionFunction::getDocComment()
Returns the doc comment for this function
public string ReflectionFunction::getFileName()
Returns the filename of the file this function was declared in
public string ReflectionFunction::getName()
Returns this function's name
public string ReflectionMethod::__toString()
Returns a string representation
public string ReflectionParameter::__toString()
Returns a string representation
public string ReflectionParameter::getName()
Returns this parameters's name
public string ReflectionProperty::__toString()
Returns a string representation
public string ReflectionProperty::getName()
Returns the class' name
public string|false ReflectionClass::getExtensionName()
Returns false or the name of the extension the class belongs to
public void ReflectionProperty::setValue([stdclass object,] mixed value)
Sets this property's value
# php-src/ext/bcmath/bcmath.c
string bcadd(string left_operand, string right_operand [, int scale])
Returns the sum of two arbitrary precision numbers
int bccomp(string left_operand, string right_operand [, int scale])
Compares two arbitrary precision numbers
string bcdiv(string left_operand, string right_operand [, int scale])
Returns the quotient of two arbitrary precision numbers (division)
string bcmod(string left_operand, string right_operand)
Returns the modulus of the two arbitrary precision operands
string bcmul(string left_operand, string right_operand [, int scale])
Returns the multiplication of two arbitrary precision numbers
string bcpow(string x, string y [, int scale])
Returns the value of an arbitrary precision number raised to the power of another
string bcpowmod(string x, string y, string mod [, int scale])
Returns the value of an arbitrary precision number raised to the power of another reduced by a modulous
bool bcscale(int scale)
Sets default scale parameter for all bc math functions
string bcsqrt(string operand [, int scale])
Returns the square root of an arbitray precision number
string bcsub(string left_operand, string right_operand [, int scale])
Returns the difference between two arbitrary precision numbers
# php-src/ext/bz2/bz2.c
string bzcompress(string source [, int blocksize100k [, int workfactor]])
Compresses a string into BZip2 encoded data
string bzdecompress(string source [, int small])
Decompresses BZip2 compressed data
int bzerrno(resource bz)
Returns the error number
array bzerror(resource bz)
Returns the error number and error string in an associative array
string bzerrstr(resource bz)
Returns the error string
resource bzopen(string|int file|fp, string mode)
Opens a new BZip2 stream
string bzread(int bz[, int length])
Reads up to length bytes from a BZip2 stream, or 1024 bytes if length is not specified
# php-src/ext/calendar/cal_unix.c
int jdtounix(int jday)
Convert Julian Day to UNIX timestamp
int unixtojd([int timestamp])
Convert UNIX timestamp to Julian Day
# php-src/ext/calendar/calendar.c
int cal_days_in_month(int calendar, int month, int year)
Returns the number of days in a month for a given year and calendar
array cal_from_jd(int jd, int calendar)
Converts from Julian Day Count to a supported calendar and return extended information
array cal_info(int calendar)
Returns information about a particular calendar
int cal_to_jd(int calendar, int month, int day, int year)
Converts from a supported calendar to Julian Day Count
int frenchtojd(int month, int day, int year)
Converts a french republic calendar date to julian day count
int gregoriantojd(int month, int day, int year)
Converts a gregorian calendar date to julian day count
mixed jddayofweek(int juliandaycount [, int mode])
Returns name or number of day of week from julian day count
string jdmonthname(int juliandaycount, int mode)
Returns name of month for julian day count
string jdtofrench(int juliandaycount)
Converts a julian day count to a french republic calendar date
string jdtogregorian(int juliandaycount)
Converts a julian day count to a gregorian calendar date
string jdtojewish(int juliandaycount [, bool hebrew [, int fl]])
Converts a julian day count to a jewish calendar date
string jdtojulian(int juliandaycount)
Convert a julian day count to a julian calendar date
int jewishtojd(int month, int day, int year)
Converts a jewish calendar date to a julian day count
int juliantojd(int month, int day, int year)
Converts a julian calendar date to julian day count
# php-src/ext/calendar/easter.c
int easter_date([int year])
Return the timestamp of midnight on Easter of a given year (defaults to current year)
int easter_days([int year, [int method]])
Return the number of days after March 21 that Easter falls on for a given year (defaults to current year)
# php-src/ext/com_dotnet/com_com.c
string com_create_guid()
Generate a globally unique identifier (GUID)
bool com_event_sink(object comobject, object sinkobject [, mixed sinkinterface])
Connect events from a COM object to a PHP object
object com_get_active_object(string progid [, int code_page ])
Returns a handle to an already running instance of a COM object
bool com_load_typelib(string typelib_name [, int case_insensitive])
Loads a Typelibrary and registers its constants
bool com_message_pump([int timeoutms])
Process COM messages, sleeping for up to timeoutms milliseconds
bool com_print_typeinfo(object comobject | string typelib, string dispinterface, bool wantsink)
Print out a PHP class definition for a dispatchable interface
# php-src/ext/com_dotnet/com_persist.c
string COMPersistHelper::GetCurFile()
Determines the filename into which an object will be saved, or false if none is set, via IPersistFile::GetCurFile
int COMPersistHelper::GetMaxStreamSize()
Gets maximum stream size required to store the object data, via IPersistStream::GetSizeMax (or IPersistStreamInit::GetSizeMax)
int COMPersistHelper::InitNew()
Initializes the object to a default state, via IPersistStreamInit::InitNew
bool COMPersistHelper::LoadFromFile(string filename [, int flags])
Load object data from file, via IPersistFile::Load
mixed COMPersistHelper::LoadFromStream(resource stream)
Initializes an object from the stream where it was previously saved, via IPersistStream::Load or OleLoadFromStream
bool COMPersistHelper::SaveToFile(string filename [, bool remember])
Persist object data to file, via IPersistFile::Save
int COMPersistHelper::SaveToStream(resource stream)
Saves the object to a stream, via IPersistStream::Save
int COMPersistHelper::__construct([object com_object])
Creates a persistence helper object, usually associated with a com_object
# php-src/ext/com_dotnet/com_variant.c
mixed variant_abs(mixed left)
Returns the absolute value of a variant
mixed variant_add(mixed left, mixed right)
"Adds" two variant values together and returns the result
mixed variant_and(mixed left, mixed right)
performs a bitwise AND operation between two variants and returns the result
object variant_cast(object variant, int type)
Convert a variant into a new variant object of another type
mixed variant_cat(mixed left, mixed right)
concatenates two variant values together and returns the result
int variant_cmp(mixed left, mixed right [, int lcid [, int flags]])
Compares two variants
object variant_date_from_timestamp(int timestamp)
Returns a variant date representation of a unix timestamp
int variant_date_to_timestamp(object variant)
Converts a variant date/time value to unix timestamp
mixed variant_div(mixed left, mixed right)
Returns the result from dividing two variants
mixed variant_eqv(mixed left, mixed right)
Performs a bitwise equivalence on two variants
mixed variant_fix(mixed left)
Returns the integer part ? of a variant
int variant_get_type(object variant)
Returns the VT_XXX type code for a variant
mixed variant_idiv(mixed left, mixed right)
Converts variants to integers and then returns the result from dividing them
mixed variant_imp(mixed left, mixed right)
Performs a bitwise implication on two variants
mixed variant_int(mixed left)
Returns the integer portion of a variant
mixed variant_mod(mixed left, mixed right)
Divides two variants and returns only the remainder
mixed variant_mul(mixed left, mixed right)
multiplies the values of the two variants and returns the result
mixed variant_neg(mixed left)
Performs logical negation on a variant
mixed variant_not(mixed left)
Performs bitwise not negation on a variant
mixed variant_or(mixed left, mixed right)
Performs a logical disjunction on two variants
mixed variant_pow(mixed left, mixed right)
Returns the result of performing the power function with two variants
mixed variant_round(mixed left, int decimals)
Rounds a variant to the specified number of decimal places
void variant_set(object variant, mixed value)
Assigns a new value for a variant object
void variant_set_type(object variant, int type)
Convert a variant into another type. Variant is modified "in-place"
mixed variant_sub(mixed left, mixed right)
subtracts the value of the right variant from the left variant value and returns the result
mixed variant_xor(mixed left, mixed right)
Performs a logical exclusion on two variants
# php-src/ext/cpdf/cpdf.c
bool cpdf_add_annotation(int pdfdoc, float xll, float yll, float xur, float xur, string title, string text [, int mode])
Sets annotation
int cpdf_add_outline(int pdfdoc, int lastoutline, int sublevel, int open, int pagenr, string title)
Adds outline
bool cpdf_arc(int pdfdoc, float x, float y, float radius, float start, float end [, int mode])
Draws an arc
bool cpdf_begin_text(int pdfdoc)
Starts text section
bool cpdf_circle(int pdfdoc, float x, float y, float radius [, int mode])
Draws a circle
bool cpdf_clip(int pdfdoc)
Clips to current path
bool cpdf_close(int pdfdoc)
Closes the pdf document
bool cpdf_closepath(int pdfdoc)
Close path
bool cpdf_closepath_fill_stroke(int pdfdoc)
Close, fill and stroke current path
bool cpdf_closepath_stroke(int pdfdoc)
Close path and draw line along path
bool cpdf_continue_text(int pdfdoc, string text)
Outputs text in next line
bool cpdf_curveto(int pdfdoc, float x1, float y1, float x2, float y2, float x3, float y3 [, int mode])
Draws a curve
bool cpdf_end_text(int pdfdoc)
Ends text section
bool cpdf_fill(int pdfdoc)
Fills current path
bool cpdf_fill_stroke(int pdfdoc)
Fills and stroke current path
bool cpdf_finalize(int pdfdoc)
Creates PDF doc in memory
bool cpdf_finalize_page(int pdfdoc, int pagenr)
Ends the page to save memory
bool cpdf_global_set_document_limits(int maxPages, int maxFonts, int maxImages, int maxAnnots, int maxObjects)
Sets document settings for all documents
bool cpdf_import_jpeg(int pdfdoc, string filename, float x, float y, float angle, float width, float height, float x_scale, float y_scale, int gsave [, int mode])
Includes JPEG image
bool cpdf_lineto(int pdfdoc, float x, float y [, int mode])
Draws a line
bool cpdf_moveto(int pdfdoc, float x, float y [, int mode])
Sets current point
bool cpdf_newpath(int pdfdoc)
Starts new path
int cpdf_open(int compression [, string filename [, array doc_limits]])
Opens a new pdf document
bool cpdf_output_buffer(int pdfdoc)
Returns the internal memory stream as string
bool cpdf_page_init(int pdfdoc, int pagenr, int orientation, int height, int width [, float unit])
Starts page
bool cpdf_place_inline_image(int pdfdoc, int gdimage, float x, float y, float angle, fload width, float height, int gsave [, int mode])
Includes image
bool cpdf_rect(int pdfdoc, float x, float y, float width, float height [, int mode])
Draws a rectangle
bool cpdf_restore(int pdfdoc)
Restores formerly saved enviroment
bool cpdf_rlineto(int pdfdoc, float x, float y [, int mode])
Draws a line relative to current point
bool cpdf_rmoveto(int pdfdoc, float x, float y [, int mode])
Sets current point
bool cpdf_rotate(int pdfdoc, float angle)
Sets rotation
bool cpdf_rotate_text(int pdfdoc, float angle)
Sets text rotation angle
bool cpdf_save(int pdfdoc)
Saves current enviroment
bool cpdf_save_to_file(int pdfdoc, string filename)
Saves the internal memory stream to a file
bool cpdf_scale(int pdfdoc, float x_scale, float y_scale)
Sets scaling
bool cpdf_set_action_url(int pdfdoc, float xll, float yll, float xur, float xur, string url [, int mode])
Sets hyperlink
bool cpdf_set_char_spacing(int pdfdoc, float space)
Sets character spacing
bool cpdf_set_creator(int pdfdoc, string creator)
Sets the creator field
bool cpdf_set_current_page(int pdfdoc, int pagenr)
Sets page for output
bool cpdf_set_font(int pdfdoc, string font, float size, string encoding)
Selects the current font face, size and encoding
bool cpdf_set_font_directories(int pdfdoc, string pfmdir, string pfbdir)
Sets directories to search when using external fonts
bool cpdf_set_font_map_file(int pdfdoc, string filename)
Sets fontname to filename translation map when using external fonts
bool cpdf_set_horiz_scaling(int pdfdoc, float scale)
Sets horizontal scaling of text
bool cpdf_set_keywords(int pdfptr, string keywords)
Fills the keywords field of the info structure
bool cpdf_set_leading(int pdfdoc, float distance)
Sets distance between text lines
bool cpdf_set_page_animation(int pdfdoc, int transition, float duration, float direction, int orientation, int inout)
Sets transition between pages
bool cpdf_set_subject(int pdfptr, string subject)
Fills the subject field of the info structure
bool cpdf_set_text_matrix(int pdfdoc, arry matrix)
Sets the text matrix
bool cpdf_set_text_pos(int pdfdoc, float x, float y [, int mode])
Sets the position of text for the next cpdf_show call
bool cpdf_set_text_rendering(int pdfdoc, int rendermode)
Determines how text is rendered
bool cpdf_set_text_rise(int pdfdoc, float value)
Sets the text rise
bool cpdf_set_title(int pdfptr, string title)
Fills the title field of the info structure
bool cpdf_set_viewer_preferences(int pdfdoc, array preferences)
How to show the document in the viewer
bool cpdf_set_word_spacing(int pdfdoc, float space)
Sets spacing between words
bool cpdf_setdash(int pdfdoc, long white, long black)
Sets dash pattern
bool cpdf_setflat(int pdfdoc, float value)
Sets flatness
bool cpdf_setgray(int pdfdoc, float value)
Sets drawing and filling color to gray value
bool cpdf_setgray_fill(int pdfdoc, float value)
Sets filling color to gray value
bool cpdf_setgray_stroke(int pdfdoc, float value)
Sets drawing color to gray value
bool cpdf_setlinecap(int pdfdoc, int value)
Sets linecap parameter
bool cpdf_setlinejoin(int pdfdoc, int value)
Sets linejoin parameter
bool cpdf_setlinewidth(int pdfdoc, float width)
Sets line width
bool cpdf_setmiterlimit(int pdfdoc, float value)
Sets miter limit
bool cpdf_setrgbcolor(int pdfdoc, float red, float green, float blue)
Sets drawing and filling color to RGB color value
bool cpdf_setrgbcolor_fill(int pdfdoc, float red, float green, float blue)
Sets filling color to rgb color value
bool cpdf_setrgbcolor_stroke(int pdfdoc, float red, float green, float blue)
Sets drawing color to RGB color value
bool cpdf_show(int pdfdoc, string text)
Output text at current position
bool cpdf_show_xy(int pdfdoc, string text, float x-koor, float y-koor [, int mode])
Output text at position
float cpdf_stringwidth(int pdfdoc, string text)
Returns width of text in current font
bool cpdf_stroke(int pdfdoc)
Draws line along path path
bool cpdf_text(int pdfdoc, string text [, float x-koor, float y-koor [, int mode [, float orientation [, int alignmode]]]])
Outputs text
bool cpdf_translate(int pdfdoc, float x, float y)
Sets origin of coordinate system
# php-src/ext/ctype/ctype.c
bool ctype_alnum(mixed c)
Checks for alphanumeric character(s)
bool ctype_alpha(mixed c)
Checks for alphabetic character(s)
bool ctype_cntrl(mixed c)
Checks for control character(s)
bool ctype_digit(mixed c)
Checks for numeric character(s)
bool ctype_graph(mixed c)
Checks for any printable character(s) except space
bool ctype_lower(mixed c)
Checks for lowercase character(s)
bool ctype_print(mixed c)
Checks for printable character(s)
bool ctype_punct(mixed c)
Checks for any printable character which is not whitespace or an alphanumeric character
bool ctype_space(mixed c)
Checks for whitespace character(s)
bool ctype_upper(mixed c)
Checks for uppercase character(s)
bool ctype_xdigit(mixed c)
Checks for character(s) representing a hexadecimal digit
# php-src/ext/curl/interface.c
void curl_close(resource ch)
Close a CURL session
resource curl_copy_handle(resource ch)
Copy a cURL handle along with all of it's preferences
int curl_errno(resource ch)
Return an integer containing the last error number
string curl_error(resource ch)
Return a string contain the last error for the current session
bool curl_exec(resource ch)
Perform a CURL session
mixed curl_getinfo(resource ch, int opt)
Get information regarding a specific transfer
resource curl_init([string url])
Initialize a CURL session
bool curl_setopt(resource ch, string option, mixed value)
Set an option for a CURL transfer
array curl_version([int version])
Return cURL version information.
# php-src/ext/curl/multi.c
int curl_multi_add_handle(resource multi, resource ch)
Add a normal cURL handle to a cURL multi handle
void curl_multi_close(resource mh)
Close a set of cURL handles
int curl_multi_exec(resource mh, int &still_running)
Run the sub-connections of the current cURL handle
string curl_multi_getcontent(resource ch)
Return the content of a cURL handle if CURLOPT_RETURNTRANSFER is set
array curl_multi_info_read(resource mh)
Get information about the current transfers
resource curl_multi_init(void)
Returns a new cURL multi handle
int curl_multi_remove_handle(resource mh, resource ch)
Remove a multi handle from a set of cURL handles
int curl_multi_select(resource mh[, double timeout])
Get all the sockets associated with the cURL extension, which can then be "selected"
# php-src/ext/dba/dba.c
void dba_close(resource handle)
Closes database
bool dba_delete(string key, resource handle)
Deletes the entry associated with key If inifile: remove all other key lines
bool dba_exists(string key, resource handle)
Checks, if the specified key exists
string dba_fetch(string key, [int skip ,] resource handle)
Fetches the data associated with key
string dba_firstkey(resource handle)
Resets the internal key pointer and returns the first key
array dba_handlers([bool full_info])
List configured database handlers
bool dba_insert(string key, string value, resource handle)
If not inifile: Insert value as key, return false, if key exists already If inifile: Add vakue as key (next instance of key)
array|false dba_key_split(string key)
Splits an inifile key into an array of the form array(0=>group,1=>value_name) but returns false if input is false or null
array dba_list()
List opened databases
string dba_nextkey(resource handle)
Returns the next key
resource dba_open(string path, string mode [, string handlername, string ...])
Opens path using the specified handler in mode
bool dba_optimize(resource handle)
Optimizes (e.g. clean up, vacuum) database
resource dba_popen(string path, string mode [, string handlername, string ...])
Opens path using the specified handler in mode persistently
bool dba_replace(string key, string value, resource handle)
Inserts value as key, replaces key, if key exists already If inifile: remove all other key lines
bool dba_sync(resource handle)
Synchronizes database
# php-src/ext/dbase/dbase.c
bool dbase_add_record(int identifier, array data)
Adds a record to the database
bool dbase_close(int identifier)
Closes an open dBase-format database file
bool dbase_create(string filename, array fields)
Creates a new dBase-format database file
bool dbase_delete_record(int identifier, int record)
Marks a record to be deleted
array dbase_get_header_info(int database_handle)
array dbase_get_record(int identifier, int record)
Returns an array representing a record from the database
array dbase_get_record_with_names(int identifier, int record)
Returns an associative array representing a record from the database
int dbase_numfields(int identifier)
Returns the number of fields (columns) in the database
int dbase_numrecords(int identifier)
Returns the number of records in the database
int dbase_open(string name, int mode)
Opens a dBase-format database file
bool dbase_pack(int identifier)
Packs the database (deletes records marked for deletion)
bool dbase_replace_record(int identifier, array data, int recnum)
Replaces a record to the database
# php-src/ext/dbx/dbx.c
int dbx_close(dbx_link_object dbx_link)
Returns success or failure
int dbx_compare(array row_x, array row_y, string columnname [, int flags])
Returns row_y[columnname] - row_x[columnname], converted to -1, 0 or 1
dbx_link_object dbx_connect(string module_name, string host, string db, string username, string password [, bool persistent])
Returns a dbx_link_object on success and returns 0 on failure
string dbx_error(dbx_link_object dbx_link)
Returns success or failure
string dbx_escape_string(dbx_link_object dbx_link, string sz)
Returns escaped string or NULL on error
dbx_row dbx_fetch_row(dbx_query_object dbx_q)
Returns a row (index and assoc based on query) on success and returns 0 on failure or no more rows
dbx_result_object dbx_query(dbx_link_object dbx_link, string sql_statement [, int flags])
Returns a dbx_link_object on success and returns 0 on failure
int dbx_sort(object dbx_result, string compare_function_name)
Returns 0 on failure, 1 on success
# php-src/ext/dio/dio.c
void dio_close(resource fd)
Close the file descriptor given by fd
mixed dio_fcntl(resource fd, int cmd[, mixed arg])
Perform a c library fcntl on fd
resource dio_open(string filename, int flags[, int mode])
Open a new filename with specified permissions of flags and creation permissions of mode
string dio_read(resource fd[, int n])
Read n bytes from fd and return them, if n is not specified, read 1k
int dio_seek(resource fd, int pos, int whence)
Seek to pos on fd from whence
array dio_stat(resource fd)
Get stat information about the file descriptor fd
mixed dio_tcsetattr(resource fd, array args )
Perform a c library tcsetattr on fd
bool dio_truncate(resource fd, int offset)
Truncate file descriptor fd to offset bytes
int dio_write(resource fd, string data[, int len])
Write data to fd with optional truncation at length
# php-src/ext/dom/attr.c
void DOMAttr::__construct(string name, [string value]);
boolean dom_attr_is_id();
URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#Attr-isId Since: DOM Level 3
# php-src/ext/dom/cdatasection.c
void DOMCdataSection::__construct(string value);
# php-src/ext/dom/characterdata.c
void dom_characterdata_append_data(string arg);
URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-32791A2F Since:
void dom_characterdata_delete_data(int offset, int count);
URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-7C603781 Since:
void dom_characterdata_insert_data(int offset, string arg);
URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-3EDB695F Since:
void dom_characterdata_replace_data(int offset, int count, string arg);
URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-E5CBA7FB Since:
string dom_characterdata_substring_data(int offset, int count);
URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-6531BCCF Since:
# php-src/ext/dom/comment.c
void DOMComment::__construct([string value]);
# php-src/ext/dom/document.c
void DOMDocument::__construct([string version], [string encoding]);
DOMNode dom_document_adopt_node(DOMNode source);
URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-Document3-adoptNode Since: DOM Level 3
DOMAttr dom_document_create_attribute(string name);
URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-1084891198 Since:
DOMAttr dom_document_create_attribute_ns(string namespaceURI, string qualifiedName);
URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-DocCrAttrNS Since: DOM Level 2
DOMCdataSection dom_document_create_cdatasection(string data);
URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-D26C0AF8 Since:
DOMComment dom_document_create_comment(string data);
URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-1334481328 Since:
DOMDocumentFragment dom_document_create_document_fragment();
URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-35CB04B5 Since:
DOMElement dom_document_create_element(string tagName [, string value]);
URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-2141741547 Since:
DOMElement dom_document_create_element_ns(string namespaceURI, string qualifiedName [,string value]);
URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-DocCrElNS Since: DOM Level 2
DOMEntityReference dom_document_create_entity_reference(string name);
URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-392B75AE Since:
DOMProcessingInstruction dom_document_create_processing_instruction(string target, string data);
URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-135944439 Since:
DOMText dom_document_create_text_node(string data);
URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-1975348127 Since:
DOMElement dom_document_get_element_by_id(string elementId);
URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-getElBId Since: DOM Level 2
DOMNodeList dom_document_get_elements_by_tag_name(string tagname);
URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-A6C9094 Since:
DOMNodeList dom_document_get_elements_by_tag_name_ns(string namespaceURI, string localName);
URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-getElBTNNS Since: DOM Level 2
DOMNode dom_document_import_node(DOMNode importedNode, boolean deep);
URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#Core-Document-importNode Since: DOM Level 2
DOMNode dom_document_load(string source [, int options]);
URL: http://www.w3.org/TR/DOM-Level-3-LS/load-save.html#LS-DocumentLS-load Since: DOM Level 3
DOMNode dom_document_load_html(string source);
Since: DOM extended
DOMNode dom_document_load_html_file(string source);
Since: DOM extended
DOMNode dom_document_loadxml(string source [, int options]);
URL: http://www.w3.org/TR/DOM-Level-3-LS/load-save.html#LS-DocumentLS-loadXML Since: DOM Level 3
void dom_document_normalize_document();
URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-Document3-normalizeDocument Since: DOM Level 3
boolean dom_document_relaxNG_validate_file(string filename);
boolean dom_document_relaxNG_validate_xml(string source);
DOMNode dom_document_rename_node(node n, string namespaceURI, string qualifiedName);
URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-Document3-renameNode Since: DOM Level 3
int dom_document_save(string file);
Convenience method to save to file
string dom_document_save_html();
Convenience method to output as html
int dom_document_save_html_file(string file);
Convenience method to save to file as html
string dom_document_savexml([node n]);
URL: http://www.w3.org/TR/DOM-Level-3-LS/load-save.html#LS-DocumentLS-saveXML Since: DOM Level 3
boolean dom_document_schema_validate(string source);
boolean dom_document_schema_validate_file(string filename);
boolean dom_document_validate();
Since: DOM extended
int dom_document_xinclude()
Substitutues xincludes in a DomDocument
# php-src/ext/dom/documentfragment.c
void DOMDocumentFragment::__construct();
void DOMDocumentFragment::appendXML(string data);
# php-src/ext/dom/domconfiguration.c
boolean dom_domconfiguration_can_set_parameter(string name, domuserdata value);
URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#DOMConfiguration-canSetParameter Since:
domdomuserdata dom_domconfiguration_get_parameter(string name);
URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#DOMConfiguration-getParameter Since:
dom_void dom_domconfiguration_set_parameter(string name, domuserdata value);
URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#DOMConfiguration-property Since:
# php-src/ext/dom/domerrorhandler.c
dom_boolean dom_domerrorhandler_handle_error(domerror error);
URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#ID-ERRORS-DOMErrorHandler-handleError Since:
# php-src/ext/dom/domimplementation.c
DOMDocument dom_domimplementation_create_document(string namespaceURI, string qualifiedName, DOMDocumentType doctype);
URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#Level-2-Core-DOM-createDocument Since: DOM Level 2
DOMDocumentType dom_domimplementation_create_document_type(string qualifiedName, string publicId, string systemId);
URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#Level-2-Core-DOM-createDocType Since: DOM Level 2
DOMNode dom_domimplementation_get_feature(string feature, string version);
URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#DOMImplementation3-getFeature Since: DOM Level 3
boolean dom_domimplementation_has_feature(string feature, string version);
URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#ID-5CED94D7 Since:
# php-src/ext/dom/domimplementationlist.c
domdomimplementation dom_domimplementationlist_item(int index);
URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#DOMImplementationList-item Since:
# php-src/ext/dom/domimplementationsource.c
domdomimplementation dom_domimplementationsource_get_domimplementation(string features);
URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#ID-getDOMImpl Since:
domimplementationlist dom_domimplementationsource_get_domimplementations(string features);
URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#ID-getDOMImpls Since:
# php-src/ext/dom/domstringlist.c
domstring dom_domstringlist_item(int index);
URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#DOMStringList-item Since:
# php-src/ext/dom/element.c
void DOMElement::__construct(string name, [string value], [string uri]);
string dom_element_get_attribute(string name);
URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-666EE0F9 Since:
DOMAttr dom_element_get_attribute_node(string name);
URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-217A91B8 Since:
DOMAttr dom_element_get_attribute_node_ns(string namespaceURI, string localName);
URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-ElGetAtNodeNS Since: DOM Level 2
string dom_element_get_attribute_ns(string namespaceURI, string localName);
URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-ElGetAttrNS Since: DOM Level 2
DOMNodeList dom_element_get_elements_by_tag_name(string name);
URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-1938918D Since:
DOMNodeList dom_element_get_elements_by_tag_name_ns(string namespaceURI, string localName);
URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-A6C90942 Since: DOM Level 2
boolean dom_element_has_attribute(string name);
URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-ElHasAttr Since: DOM Level 2
boolean dom_element_has_attribute_ns(string namespaceURI, string localName);
URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-ElHasAttrNS Since: DOM Level 2
void dom_element_remove_attribute(string name);
URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-6D6AC0F9 Since:
DOMAttr dom_element_remove_attribute_node(DOMAttr oldAttr);
URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-D589198 Since:
void dom_element_remove_attribute_ns(string namespaceURI, string localName);
URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-ElRemAtNS Since: DOM Level 2
void dom_element_set_attribute(string name, string value);
URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-F68F082 Since:
DOMAttr dom_element_set_attribute_node(DOMAttr newAttr);
URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-887236154 Since:
DOMAttr dom_element_set_attribute_node_ns(DOMAttr newAttr);
URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-ElSetAtNodeNS Since: DOM Level 2
void dom_element_set_attribute_ns(string namespaceURI, string qualifiedName, string value);
URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-ElSetAttrNS Since: DOM Level 2
void dom_element_set_id_attribute(string name, boolean isId);
URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-ElSetIdAttr Since: DOM Level 3
void dom_element_set_id_attribute_node(attr idAttr, boolean isId);
URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-ElSetIdAttrNode Since: DOM Level 3
void dom_element_set_id_attribute_ns(string namespaceURI, string localName, boolean isId);
URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-ElSetIdAttrNS Since: DOM Level 3
# php-src/ext/dom/entityreference.c
void DOMEntityReference::__construct(string name);
# php-src/ext/dom/namednodemap.c
DOMNode dom_namednodemap_get_named_item(string name);
URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-1074577549 Since:
DOMNode dom_namednodemap_get_named_item_ns(string namespaceURI, string localName);
URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-getNamedItemNS Since: DOM Level 2
DOMNode dom_namednodemap_item(int index);
URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-349467F9 Since:
DOMNode dom_namednodemap_remove_named_item(string name);
URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-D58B193 Since:
DOMNode dom_namednodemap_remove_named_item_ns(string namespaceURI, string localName);
URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-removeNamedItemNS Since: DOM Level 2
DOMNode dom_namednodemap_set_named_item(DOMNode arg);
URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-1025163788 Since:
DOMNode dom_namednodemap_set_named_item_ns(DOMNode arg);
URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-setNamedItemNS Since: DOM Level 2
# php-src/ext/dom/namelist.c
string dom_namelist_get_name(int index);
URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#NameList-getName Since:
string dom_namelist_get_namespace_uri(int index);
URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#NameList-getNamespaceURI Since:
# php-src/ext/dom/node.c
DomNode dom_node_append_child(DomNode newChild);
URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-184E7107 Since:
DomNode dom_node_clone_node(boolean deep);
URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-3A0ED0A4 Since:
short dom_node_compare_document_position(DomNode other);
URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#Node3-compareDocumentPosition Since: DOM Level 3
DomNode dom_node_get_feature(string feature, string version);
URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#Node3-getFeature Since: DOM Level 3
DomUserData dom_node_get_user_data(string key);
URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#Node3-getUserData Since: DOM Level 3
boolean dom_node_has_attributes();
URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-NodeHasAttrs Since: DOM Level 2
boolean dom_node_has_child_nodes();
URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-810594187 Since:
domnode dom_node_insert_before(DomNode newChild, DomNode refChild);
URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-952280727 Since:
boolean dom_node_is_default_namespace(string namespaceURI);
URL: http://www.w3.org/TR/DOM-Level-3-Core/core.html#Node3-isDefaultNamespace Since: DOM Level 3
boolean dom_node_is_equal_node(DomNode arg);
URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#Node3-isEqualNode Since: DOM Level 3
boolean dom_node_is_same_node(DomNode other);
URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#Node3-isSameNode Since: DOM Level 3
boolean dom_node_is_supported(string feature, string version);
URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-Level-2-Core-Node-supports Since: DOM Level 2
string dom_node_lookup_namespace_uri(string prefix);
URL: http://www.w3.org/TR/DOM-Level-3-Core/core.html#Node3-lookupNamespaceURI Since: DOM Level 3
string dom_node_lookup_prefix(string namespaceURI);
URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#Node3-lookupNamespacePrefix Since: DOM Level 3
void dom_node_normalize();
URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-normalize Since:
DomNode dom_node_remove_child(DomNode oldChild);
URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-1734834066 Since:
DomNode dom_node_replace_child(DomNode newChild, DomNode oldChild);
URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-785887307 Since:
DomUserData dom_node_set_user_data(string key, DomUserData data, userdatahandler handler);
URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#Node3-setUserData Since: DOM Level 3
# php-src/ext/dom/nodelist.c
DOMNode dom_nodelist_item(int index);
URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#ID-844377136 Since:
# php-src/ext/dom/php_dom.c
somNode dom_import_simplexml(sxeobject node)
Get a simplexml_element object from dom to allow for processing
# php-src/ext/dom/processinginstruction.c
void DOMProcessingInstruction::__construct(string name, [string value]);
# php-src/ext/dom/string_extend.c
int dom_string_extend_find_offset16(int offset32);
URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#i18n-methods-StringExtend-findOffset16 Since:
int dom_string_extend_find_offset32(int offset16);
URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#i18n-methods-StringExtend-findOffset32 Since:
# php-src/ext/dom/text.c
void DOMText::__construct([string value]);
boolean dom_text_is_whitespace_in_element_content();
URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-Text3-isWhitespaceInElementContent Since: DOM Level 3
DOMText dom_text_replace_whole_text(string content);
URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-Text3-replaceWholeText Since: DOM Level 3
DOMText dom_text_split_text(int offset);
URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#core-ID-38853C1D Since:
# php-src/ext/dom/userdatahandler.c
dom_void dom_userdatahandler_handle(short operation, string key, domobject data, node src, node dst);
URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html#ID-handleUserDataEvent Since:
# php-src/ext/dom/xpath.c
void DOMXPath::__construct(DOMDocument doc);
mixed dom_xpath_evaluate(string expr [,DOMNode context]);
DOMNodeList dom_xpath_query(string expr [,DOMNode context]);
boolean dom_xpath_register_ns(string prefix, string uri);
# php-src/ext/exif/exif.c
int exif_imagetype(string imagefile)
Get the type of an image
array exif_read_data(string filename [, sections_needed [, sub_arrays[, read_thumbnail]]])
Reads header data from the JPEG/TIFF image filename and optionally reads the internal thumbnails
string exif_tagname(index)
Get headername for index or false if not defined
string exif_thumbnail(string filename [, &width, &height [, &imagetype]])
Reads the embedded thumbnail
# php-src/ext/fam/fam.c
bool fam_cancel_monitor(resource id, resource monitor_id)
Terminate monitoring
void fam_close(resource id)
Close FAM connection
resource fam_monitor_collection(resource id, string dirname, int depth, string mask)
Monitor a collection of files in a directory for changes
resource fam_monitor_directory(resource id, string dirname)
Monitor a directory for changes
resource fam_monitor_file(resource id, string filename)
Monitor a regular file for changes
array fam_next_event(resource id)
Get next pending FAM event
resource fam_open([string appname])
Open FAM connection
int fam_pending(resource id)
Check for pending FAM events
bool fam_resume_monitor(resource id, resource monitor_id)
Resume suspended monitoring
bool fam_suspend_monitor(resource id, resource monitor_id)
Temporary suspend monitoring
# php-src/ext/fbsql/php_fbsql.c
int fbsql_affected_rows([resource link_identifier])
Get the number of rows affected by the last statement
int fbsql_affected_rows([resource link_identifier])
Get the number of rows affected by the last statement
bool fbsql_autocommit(resource link_identifier [, bool OnOff])
Turns on auto-commit
int fbsql_blob_size(string blob_handle [, resource link_identifier])
Get the size of a BLOB identified by blob_handle
int fbsql_change_user(string user, string password [, string database [, resource link_identifier]])
Change the user for a session
int fbsql_clob_size(string clob_handle [, resource link_identifier])
Get the size of a CLOB identified by clob_handle
bool fbsql_close([resource link_identifier])
Close a connection to a database server
bool fbsql_commit([resource link_identifier])
Commit the transaction
resource fbsql_connect([string hostname [, string username [, string password]]])
Create a connection to a database server
string fbsql_create_blob(string blob_data [, resource link_identifier])
Create a BLOB in the database for use with an insert or update statement
string fbsql_create_clob(string clob_data [, resource link_identifier])
Create a CLOB in the database for use with an insert or update statement
bool fbsql_create_db(string database_name [, resource link_identifier])
Create a new database on the server
bool fbsql_data_seek(int result, int row_number)
Move the internal row counter to the specified row_number
string fbsql_database(resource link_identifier [, string database])
Get or set the database name used with a connection
string fbsql_database_password(resource link_identifier [, string database_password])
Get or set the databsae password used with a connection
resource fbsql_db_query(string database_name, string query [, resource link_identifier])
Send one or more SQL statements to a specified database on the server
int fbsql_db_status(string database_name [, resource link_identifier])
Gets the status (Stopped, Starting, Running, Stopping) for a given database
int fbsql_drop_db(string database_name [, resource link_identifier])
Drop a database on the server
int fbsql_errno([resource link_identifier])
Returns the last error code
string fbsql_error([resource link_identifier])
Returns the last error string
array fbsql_fetch_array(resource result [, int result_type])
Fetches a result row as an array (associative, numeric or both)
object fbsql_fetch_assoc(resource result)
Detch a row of data. Returns an assoc array
object fbsql_fetch_field(int result [, int field_index])
Get the field properties for a specified field_index
array fbsql_fetch_lengths(int result)
Returns an array of the lengths of each column in the result set
object fbsql_fetch_object(resource result [, int result_type])
Fetch a row of data. Returns an object
array fbsql_fetch_row(resource result)
Fetch a row of data. Returns an indexed array
string fbsql_field_flags(int result [, int field_index])
???
mixed fbsql_field_len(int result [, int field_index])
Get the column length for a specified field_index
string fbsql_field_name(int result [, int field_index])
Get the column name for a specified field_index
bool fbsql_field_seek(int result [, int field_index])
???
string fbsql_field_table(int result [, int field_index])
Get the table name for a specified field_index
string fbsql_field_type(int result [, int field_index])
Get the field type for a specified field_index
bool fbsql_free_result(resource result)
free the memory used to store a result
array fbsql_get_autostart_info([resource link_identifier])
???
string fbsql_hostname(resource link_identifier [, string host_name])
Get or set the host name used with a connection
int fbsql_insert_id([resource link_identifier])
Get the internal index for the last insert statement
resource fbsql_list_dbs([resource link_identifier])
Retreive a list of all databases on the server
resource fbsql_list_fields(string database_name, string table_name [, resource link_identifier])
Retrieve a list of all fields for the specified database.table
resource fbsql_list_tables(string database [, int link_identifier])
Retreive a list of all tables from the specifoied database
bool fbsql_next_result(int result)
Switch to the next result if multiple results are available
int fbsql_num_fields(int result)
Get number of fields in the result set
int fbsql_num_rows(int result)
Get number of rows
string fbsql_password(resource link_identifier [, string password])
Get or set the user password used with a connection
resource fbsql_pconnect([string hostname [, string username [, string password]]])
Create a persistant connection to a database server
resource fbsql_query(string query [, resource link_identifier [, long batch_size]])
Send one or more SQL statements to the server and execute them
string fbsql_read_blob(string blob_handle [, resource link_identifier])
Read the BLOB data identified by blob_handle
string fbsql_read_clob(string clob_handle [, resource link_identifier])
Read the CLOB data identified by clob_handle
mixed fbsql_result(int result [, int row [, mixed field]])
???
bool fbsql_rollback([resource link_identifier])
Rollback all statments since last commit
bool fbsql_select_db([string database_name [, resource link_identifier]])
Select the database to open
void fbsql_set_characterset(resource link_identifier, long charcterset [, long in_out_both]])
Change input/output character set
bool fbsql_set_lob_mode(resource result, int lob_mode)
Sets the mode for how LOB data re retreived (actual data or a handle)
bool fbsql_set_password(resource link_identifier, string user, string password, string old_password)
Change the password for a given user
void fbsql_set_transaction(resource link_identifier, int locking, int isolation)
Sets the transaction locking and isolation
bool fbsql_start_db(string database_name [, resource link_identifier [, string database_options]])
Start a database on the server
bool fbsql_stop_db(string database_name [, resource link_identifier])
Stop a database on the server
string fbsql_table_name(resource result, int index)
Retreive the table name for index after a call to fbsql_list_tables()
string fbsql_username(resource link_identifier [, string username])
Get or set the host user used with a connection
bool fbsql_warnings([int flag])
Enable or disable FrontBase warnings
# php-src/ext/fdf/fdf.c
bool fdf_add_doc_javascript(resource fdfdoc, string scriptname, string script)
Add javascript code to the fdf file
bool fdf_add_template(resource fdfdoc, int newpage, string filename, string template, int rename)
Adds a template into the FDF document
void fdf_close(resource fdfdoc)
Closes the FDF document
resource fdf_create(void)
Creates a new FDF document
bool fdf_enum_values(resource fdfdoc, callback function [, mixed userdata])
Call a user defined function for each document value
int fdf_errno(void)
Gets error code for last operation
string fdf_error([int errno])
Gets error description for error code
bool fdf_get_ap(resource fdfdoc, string fieldname, int face, string filename)
Gets the appearance of a field and creates a PDF document out of it.
array fdf_get_attachment(resource fdfdoc, string fieldname, string savepath)
Get attached uploaded file
string fdf_get_encoding(resource fdf)
Gets FDF file encoding scheme
string fdf_get_file(resource fdfdoc)
Gets the value of /F key
int fdf_get_flags(resorce fdfdoc, string fieldname, int whichflags)
Gets the flags of a field
mixed fdf_get_opt(resource fdfdof, string fieldname [, int element])
Gets a value from the opt array of a field
string fdf_get_status(resource fdfdoc)
Gets the value of /Status key
string fdf_get_value(resource fdfdoc, string fieldname [, int which])
Gets the value of a field as string
string fdf_get_version([resource fdfdoc])
Gets version number for FDF api or file
void fdf_header(void)
Set FDF specific HTTP headers
string fdf_next_field_name(resource fdfdoc [, string fieldname])
Gets the name of the next field name or the first field name
resource fdf_open(string filename)
Opens a new FDF document
resource fdf_open_string(string fdf_data)
Opens a new FDF document from string
bool fdf_remove_item(resource fdfdoc, string fieldname, int item)
Sets target frame for form
bool fdf_save(resource fdfdoc [, string filename])
Writes out the FDF file
string fdf_save_string(resource fdfdoc)
Returns the FDF file as a string
bool fdf_set_ap(resource fdfdoc, string fieldname, int face, string filename, int pagenr)
Sets the appearence of a field
bool fdf_set_encoding(resource fdf_document, string encoding)
Sets FDF encoding (either "Shift-JIS" or "Unicode")
bool fdf_set_file(resource fdfdoc, string filename [, string target_frame])
Sets the value of /F key
bool fdf_set_flags(resource fdfdoc, string fieldname, int whichflags, int newflags)
Sets flags for a field in the FDF document
bool fdf_set_javascript_action(resource fdfdoc, string fieldname, int whichtrigger, string script)
Sets the javascript action for a field
bool fdf_set_on_import_javascript(resource fdfdoc, string script [, bool before_data_import])
Adds javascript code to be executed when Acrobat opens the FDF
bool fdf_set_opt(resource fdfdoc, string fieldname, int element, string value, string name)
Sets a value in the opt array for a field
bool fdf_set_status(resource fdfdoc, string status)
Sets the value of /Status key
bool fdf_set_submit_form_action(resource fdfdoc, string fieldname, int whichtrigger, string url, int flags)
Sets the submit form action for a field
bool fdf_set_target_frame(resource fdfdoc, string target)
Sets target frame for form
bool fdf_set_value(resource fdfdoc, string fieldname, mixed value [, int isname])
Sets the value of a field
bool fdf_set_version(resourece fdfdoc, string version)
Sets FDF version for a file
# php-src/ext/filepro/filepro.c
bool filepro(string directory)
Read and verify the map file
int filepro_fieldcount(void)
Find out how many fields are in a filePro database
string filepro_fieldname(int fieldnumber)
Gets the name of a field
string filepro_fieldtype(int field_number)
Gets the type of a field
int filepro_fieldwidth(int field_number)
Gets the width of a field
string filepro_retrieve(int row_number, int field_number)
Retrieves data from a filePro database
int filepro_rowcount(void)
Find out how many rows are in a filePro database
# php-src/ext/ftp/php_ftp.c
bool ftp_alloc(resource stream, int size[, &response])
Attempt to allocate space on the remote FTP server
bool ftp_cdup(resource stream)
Changes to the parent directory
bool ftp_chdir(resource stream, string directory)
Changes directories
int ftp_chmod(resource stream, int mode, string filename)
Sets permissions on a file
bool ftp_close(resource stream)
Closes the FTP stream
resource ftp_connect(string host [, int port [, int timeout]])
Opens a FTP stream
bool ftp_delete(resource stream, string file)
Deletes a file
bool ftp_exec(resource stream, string command)
Requests execution of a program on the FTP server
bool ftp_fget(resource stream, resource fp, string remote_file, int mode[, int resumepos])
Retrieves a file from the FTP server and writes it to an open file
bool ftp_fput(resource stream, string remote_file, resource fp, int mode[, int startpos])
Stores a file from an open file to the FTP server
bool ftp_get(resource stream, string local_file, string remote_file, int mode[, int resume_pos])
Retrieves a file from the FTP server and writes it to a local file
mixed ftp_get_option(resource stream, int option)
Gets an FTP option
bool ftp_login(resource stream, string username, string password)
Logs into the FTP server
int ftp_mdtm(resource stream, string filename)
Returns the last modification time of the file, or -1 on error
string ftp_mkdir(resource stream, string directory)
Creates a directory and returns the absolute path for the new directory or false on error
int ftp_nb_continue(resource stream)
Continues retrieving/sending a file nbronously
int ftp_nb_fget(resource stream, resource fp, string remote_file, int mode[, int resumepos])
Retrieves a file from the FTP server asynchronly and writes it to an open file
int ftp_nb_fput(resource stream, string remote_file, resource fp, int mode[, int startpos])
Stores a file from an open file to the FTP server nbronly
int ftp_nb_get(resource stream, string local_file, string remote_file, int mode[, int resume_pos])
Retrieves a file from the FTP server nbhronly and writes it to a local file
int ftp_nb_put(resource stream, string remote_file, string local_file, int mode[, int startpos])
Stores a file on the FTP server
array ftp_nlist(resource stream, string directory)
Returns an array of filenames in the given directory
bool ftp_pasv(resource stream, bool pasv)
Turns passive mode on or off
bool ftp_put(resource stream, string remote_file, string local_file, int mode[, int startpos])
Stores a file on the FTP server
string ftp_pwd(resource stream)
Returns the present working directory
array ftp_raw(resource stream, string command)
Sends a literal command to the FTP server
array ftp_rawlist(resource stream, string directory [, bool recursive])
Returns a detailed listing of a directory as an array of output lines
bool ftp_rename(resource stream, string src, string dest)
Renames the given file to a new path
bool ftp_rmdir(resource stream, string directory)
Removes a directory
bool ftp_set_option(resource stream, int option, mixed value)
Sets an FTP option
bool ftp_site(resource stream, string cmd)
Sends a SITE command to the server
int ftp_size(resource stream, string filename)
Returns the size of the file, or -1 on error
resource ftp_ssl_connect(string host [, int port [, int timeout]])
Opens a FTP-SSL stream
string ftp_systype(resource stream)
Returns the system type identifier
# php-src/ext/gd/gd.c
array gd_info()
bool image2wbmp(resource im [, string filename [, int threshold]])
Output WBMP image to browser or file
bool imagealphablending(resource im, bool on)
Turn alpha blending mode on or off for the given image
bool imageantialias(resource im, bool on)
Should antialiased functions used or not
bool imagearc(resource im, int cx, int cy, int w, int h, int s, int e, int col)
Draw a partial ellipse
bool imagechar(resource im, int font, int x, int y, string c, int col)
Draw a character
bool imagecharup(resource im, int font, int x, int y, string c, int col)
Draw a character rotated 90 degrees counter-clockwise
int imagecolorallocate(resource im, int red, int green, int blue)
Allocate a color for an image
int imagecolorallocatealpha(resource im, int red, int green, int blue, int alpha)
Allocate a color with an alpha level. Works for true color and palette based images
int imagecolorat(resource im, int x, int y)
Get the index of the color of a pixel
int imagecolorclosest(resource im, int red, int green, int blue)
Get the index of the closest color to the specified color
int imagecolorclosestalpha(resource im, int red, int green, int blue, int alpha)
Find the closest matching colour with alpha transparency
int imagecolorclosesthwb(resource im, int red, int green, int blue)
Get the index of the color which has the hue, white and blackness nearest to the given color
bool imagecolordeallocate(resource im, int index)
De-allocate a color for an image
int imagecolorexact(resource im, int red, int green, int blue)
Get the index of the specified color
int imagecolorexactalpha(resource im, int red, int green, int blue, int alpha)
Find exact match for colour with transparency
bool imagecolormatch(resource im1, resource im2)
Makes the colors of the palette version of an image more closely match the true color version
int imagecolorresolve(resource im, int red, int green, int blue)
Get the index of the specified color or its closest possible alternative
int imagecolorresolvealpha(resource im, int red, int green, int blue, int alpha)
Resolve/Allocate a colour with an alpha level. Works for true colour and palette based images
void imagecolorset(resource im, int col, int red, int green, int blue)
Set the color for the specified palette index
array imagecolorsforindex(resource im, int col)
Get the colors for an index
int imagecolorstotal(resource im)
Find out the number of colors in an image's palette
int imagecolortransparent(resource im [, int col])
Define a color as transparent
bool imagecopy(resource dst_im, resource src_im, int dst_x, int dst_y, int src_x, int src_y, int src_w, int src_h)
Copy part of an image
bool imagecopymerge(resource src_im, resource dst_im, int dst_x, int dst_y, int src_x, int src_y, int src_w, int src_h, int pct)
Merge one part of an image with another
bool imagecopymergegray(resource src_im, resource dst_im, int dst_x, int dst_y, int src_x, int src_y, int src_w, int src_h, int pct)
Merge one part of an image with another
bool imagecopyresampled(resource dst_im, resource src_im, int dst_x, int dst_y, int src_x, int src_y, int dst_w, int dst_h, int src_w, int src_h)
Copy and resize part of an image using resampling to help ensure clarity
bool imagecopyresized(resource dst_im, resource src_im, int dst_x, int dst_y, int src_x, int src_y, int dst_w, int dst_h, int src_w, int src_h)
Copy and resize part of an image
resource imagecreate(int x_size, int y_size)
Create a new image
resource imagecreatefromgd(string filename)
Create a new image from GD file or URL
resource imagecreatefromgd2(string filename)
Create a new image from GD2 file or URL
resource imagecreatefromgd2part(string filename, int srcX, int srcY, int width, int height)
Create a new image from a given part of GD2 file or URL
resource imagecreatefromgif(string filename)
Create a new image from GIF file or URL
resource imagecreatefromjpeg(string filename)
Create a new image from JPEG file or URL
resource imagecreatefrompng(string filename)
Create a new image from PNG file or URL
resource imagecreatefromstring(string image)
Create a new image from the image stream in the string
resource imagecreatefromwbmp(string filename)
Create a new image from WBMP file or URL
resource imagecreatefromxbm(string filename)
Create a new image from XBM file or URL
resource imagecreatefromxpm(string filename)
Create a new image from XPM file or URL
resource imagecreatetruecolor(int x_size, int y_size)
Create a new true color image
bool imagedashedline(resource im, int x1, int y1, int x2, int y2, int col)
Draw a dashed line
bool imagedestroy(resource im)
Destroy an image
bool imageellipse(resource im, int cx, int cy, int w, int h, int color)
Draw an ellipse
bool imagefill(resource im, int x, int y, int col)
Flood fill
bool imagefilledarc(resource im, int cx, int cy, int w, int h, int s, int e, int col, int style)
Draw a filled partial ellipse
bool imagefilledellipse(resource im, int cx, int cy, int w, int h, int color)
Draw an ellipse
bool imagefilledpolygon(resource im, array point, int num_points, int col)
Draw a filled polygon
bool imagefilledrectangle(resource im, int x1, int y1, int x2, int y2, int col)
Draw a filled rectangle
bool imagefilltoborder(resource im, int x, int y, int border, int col)
Flood fill to specific color
bool imagefilter(resource src_im, int filtertype, [args] )
Applies Filter an image using a custom angle
int imagefontheight(int font)
Get font height
int imagefontwidth(int font)
Get font width
array imageftbbox(int size, int angle, string font_file, string text[, array extrainfo])
Give the bounding box of a text using fonts via freetype2
array imagefttext(resource im, int size, int angle, int x, int y, int col, string font_file, string text, [array extrainfo])
Write text to the image using fonts via freetype2
bool imagegammacorrect(resource im, float inputgamma, float outputgamma)
Apply a gamma correction to a GD image
bool imagegd(resource im [, string filename])
Output GD image to browser or file
bool imagegd2(resource im [, string filename, [, int chunk_size, [, int type]]])
Output GD2 image to browser or file
bool imagegif(resource im [, string filename])
Output GIF image to browser or file
int imageinterlace(resource im [, int interlace])
Enable or disable interlace
bool imageistruecolor(resource im)
return true if the image uses truecolor
bool imagejpeg(resource im [, string filename [, int quality]])
Output JPEG image to browser or file
bool imagelayereffect(resource im, int effect)
Set the alpha blending flag to use the bundled libgd layering effects
bool imageline(resource im, int x1, int y1, int x2, int y2, int col)
Draw a line
int imageloadfont(string filename)
Load a new font
void imagepalettecopy(resource dst, resource src)
Copy the palette from the src image onto the dst image
bool imagepng(resource im [, string filename])
Output PNG image to browser or file
bool imagepolygon(resource im, array point, int num_points, int col)
Draw a polygon
array imagepsbbox(string text, resource font, int size [, int space, int tightness, int angle])
Return the bounding box needed by a string if rasterized
int imagepscopyfont(int font_index)
Make a copy of a font for purposes like extending or reenconding
bool imagepsencodefont(resource font_index, string filename)
To change a fonts character encoding vector
bool imagepsextendfont(resource font_index, float extend)
Extend or or condense (if extend < 1) a font
bool imagepsfreefont(resource font_index)
Free memory used by a font
resource imagepsloadfont(string pathname)
Load a new font from specified file
bool imagepsslantfont(resource font_index, float slant)
Slant a font
array imagepstext(resource image, string text, resource font, int size, int xcoord, int ycoord [, int space, int tightness, float angle, int antialias])
Rasterize a string over an image
bool imagerectangle(resource im, int x1, int y1, int x2, int y2, int col)
Draw a rectangle
resource imagerotate(resource src_im, float angle, int bgdcolor)
Rotate an image using a custom angle
bool imagesavealpha(resource im, bool on)
Include alpha channel to a saved image
bool imagesetbrush(resource image, resource brush)
Set the brush image to $brush when filling $image with the "IMG_COLOR_BRUSHED" color
bool imagesetpixel(resource im, int x, int y, int col)
Set a single pixel
bool imagesetstyle(resource im, array styles)
Set the line drawing styles for use with imageline and IMG_COLOR_STYLED.
bool imagesetthickness(resource im, int thickness)
Set line thickness for drawing lines, ellipses, rectangles, polygons etc.
bool imagesettile(resource image, resource tile)
Set the tile image to $tile when filling $image with the "IMG_COLOR_TILED" color
bool imagestring(resource im, int font, int x, int y, string str, int col)
Draw a string horizontally
bool imagestringup(resource im, int font, int x, int y, string str, int col)
Draw a string vertically - rotated 90 degrees counter-clockwise
int imagesx(resource im)
Get image width
int imagesy(resource im)
Get image height
void imagetruecolortopalette(resource im, bool ditherFlag, int colorsWanted)
Convert a true colour image to a palette based image with a number of colours, optionally using dithering.
array imagettfbbox(int size, int angle, string font_file, string text)
Give the bounding box of a text using TrueType fonts
array imagettftext(resource im, int size, int angle, int x, int y, int col, string font_file, string text)
Write text to the image using a TrueType font
int imagetypes(void)
Return the types of images supported in a bitfield - 1=GIF, 2=JPEG, 4=PNG, 8=WBMP, 16=XPM
bool imagewbmp(resource im [, string filename, [, int foreground]])
Output WBMP image to browser or file
int imagexbm(int im, string filename [, int foreground])
Output XBM image to browser or file
bool jpeg2wbmp (string f_org, string f_dest, int d_height, int d_width, int threshold)
Convert JPEG image to WBMP image
bool png2wbmp (string f_org, string f_dest, int d_height, int d_width, int threshold)
Convert PNG image to WBMP image
# php-src/ext/gettext/gettext.c
string bind_textdomain_codeset (string domain, string codeset)
Specify the character encoding in which the messages from the DOMAIN message catalog will be returned.
string bindtextdomain(string domain_name, string dir)
Bind to the text domain domain_name, looking for translations in dir. Returns the current domain
string dcgettext(string domain_name, string msgid, long category)
Return the translation of msgid for domain_name and category, or msgid unaltered if a translation does not exist
string dcngettext (string domain, string msgid1, string msgid2, int n, int category)
Plural version of dcgettext()
string dgettext(string domain_name, string msgid)
Return the translation of msgid for domain_name, or msgid unaltered if a translation does not exist
string dngettext (string domain, string msgid1, string msgid2, int count)
Plural version of dgettext()
string gettext(string msgid)
Return the translation of msgid for the current domain, or msgid unaltered if a translation does not exist
string ngettext(string MSGID1, string MSGID2, int N)
Plural version of gettext()
string textdomain(string domain)
Set the textdomain to "domain". Returns the current domain
# php-src/ext/gmp/gmp.c
resource gmp_abs(resource a)
Calculates absolute value
resource gmp_add(resource a, resource b)
Add a and b
resource gmp_and(resource a, resource b)
Calculates logical AND of a and b
void gmp_clrbit(resource &a, int index)
Clears bit in a
int gmp_cmp(resource a, resource b)
Compares two numbers
resource gmp_com(resource a)
Calculates one's complement of a
resource gmp_div_q(resource a, resource b [, int round])
Divide a by b, returns quotient only
array gmp_div_qr(resource a, resource b [, int round])
Divide a by b, returns quotient and reminder
resource gmp_div_r(resource a, resource b [, int round])
Divide a by b, returns reminder only
resource gmp_divexact(resource a, resource b)
Divide a by b using exact division algorithm
resource gmp_fact(int a)
Calculates factorial function
resource gmp_gcd(resource a, resource b)
Computes greatest common denominator (gcd) of a and b
array gmp_gcdext(resource a, resource b)
Computes G, S, and T, such that AS BT = G = `gcd' (A, B)
int gmp_hamdist(resource a, resource b)
Calculates hamming distance between a and b
resource gmp_init(mixed number [, int base])
Initializes GMP number
int gmp_intval(resource gmpnumber)
Gets signed long value of GMP number
resource gmp_invert(resource a, resource b)
Computes the inverse of a modulo b
int gmp_jacobi(resource a, resource b)
Computes Jacobi symbol
int gmp_legendre(resource a, resource b)
Computes Legendre symbol
resource gmp_mod(resource a, resource b)
Computes a modulo b
resource gmp_mul(resource a, resource b)
Multiply a and b
resource gmp_neg(resource a)
Negates a number
resource gmp_or(resource a, resource b)
Calculates logical OR of a and b
bool gmp_perfect_square(resource a)
Checks if a is an exact square
int gmp_popcount(resource a)
Calculates the population count of a
resource gmp_pow(resource base, int exp)
Raise base to power exp
resource gmp_powm(resource base, resource exp, resource mod)
Raise base to power exp and take result modulo mod
int gmp_prob_prime(resource a[, int reps])
Checks if a is "probably prime"
resource gmp_random([int limiter])
Gets random number
int gmp_scan0(resource a, int start)
Finds first zero bit
int gmp_scan1(resource a, int start)
Finds first non-zero bit
void gmp_setbit(resource &a, int index[, bool set_clear])
Sets or clear bit in a
int gmp_sign(resource a)
Gets the sign of the number
resource gmp_sqrt(resource a)
Takes integer part of square root of a
array gmp_sqrtrem(resource a)
Square root with remainder
string gmp_strval(resource gmpnumber [, int base])
Gets string representation of GMP number
resource gmp_sub(resource a, resource b)
Subtract b from a
resource gmp_xor(resource a, resource b)
Calculates logical exclusive OR of a and b
# php-src/ext/iconv/iconv.c
string iconv(string in_charset, string out_charset, string str)
Returns str converted to the out_charset character set
mixed iconv_get_encoding([string type])
Get internal encoding and output encoding for ob_iconv_handler()
string iconv_mime_decode(string encoded_string [, int mode, string charset])
Decodes a mime header field
array iconv_mime_decode_headers(string headers [, int mode, string charset])
Decodes multiple mime header fields
string iconv_mime_encode(string field_name, string field_value, [, array preference])
Composes a mime header field with field_name and field_value in a specified scheme
bool iconv_set_encoding(string type, string charset)
Sets internal encoding and output encoding for ob_iconv_handler()
int iconv_strlen(string str [, string charset])
Returns the character count of str
int iconv_strpos(string haystack, string needle, int offset [, string charset])
Finds position of first occurrence of needle within part of haystack beginning with offset
int iconv_strrpos(string haystack, string needle [, string charset])
Finds position of last occurrence of needle within part of haystack beginning with offset
string iconv_substr(string str, int offset, [int length, string charset])
Returns specified part of a string
string ob_iconv_handler(string contents, int status)
Returns str in output buffer converted to the iconv.output_encoding character set
# php-src/ext/imap/php_imap.c
string imap_8bit(string text)
Convert an 8-bit string to a quoted-printable string
array imap_alerts(void)
Returns an array of all IMAP alerts that have been generated since the last page load or since the last imap_alerts() call, whichever came last. The alert stack is cleared after imap_alerts() is called.
bool imap_append(resource stream_id, string folder, string message [, string options])
Append a new message to a specified mailbox
string imap_base64(string text)
Decode BASE64 encoded text
string imap_binary(string text)
Convert an 8bit string to a base64 string
string imap_body(resource stream_id, int msg_no [, int options])
Read the message body
object imap_bodystruct(resource stream_id, int msg_no, int section)
Read the structure of a specified body section of a specific message
object imap_check(resource stream_id)
Get mailbox properties
bool imap_clearflag_full(resource stream_id, string sequence, string flag [, int options])
Clears flags on messages
bool imap_close(resource stream_id [, int options])
Close an IMAP stream
bool imap_createmailbox(resource stream_id, string mailbox)
Create a new mailbox
bool imap_delete(resource stream_id, int msg_no [, int options])
Mark a message for deletion
bool imap_deletemailbox(resource stream_id, string mailbox)
Delete a mailbox
array imap_errors(void)
Returns an array of all IMAP errors generated since the last page load, or since the last imap_errors() call, whichever came last. The error stack is cleared after imap_errors() is called.
bool imap_expunge(resource stream_id)
Permanently delete all messages marked for deletion
array imap_fetch_overview(resource stream_id, int msg_no [, int options])
Read an overview of the information in the headers of the given message sequence
string imap_fetchbody(resource stream_id, int msg_no, int section [, int options])
Get a specific body section
string imap_fetchheader(resource stream_id, int msg_no [, int options])
Get the full unfiltered header for a message
object imap_fetchstructure(resource stream_id, int msg_no [, int options])
Read the full structure of a message
array imap_get_quota(resource stream_id, string qroot)
Returns the quota set to the mailbox account qroot
array imap_get_quotaroot(resource stream_id, string mbox)
Returns the quota set to the mailbox account mbox
array imap_getacl(resource stream_id, string mailbox)
Gets the ACL for a given mailbox
array imap_getmailboxes(resource stream_id, string ref, string pattern)
Reads the list of mailboxes and returns a full array of objects containing name, attributes, and delimiter
array imap_getsubscribed(resource stream_id, string ref, string pattern)
Return a list of subscribed mailboxes, in the same format as imap_getmailboxes()
object imap_headerinfo(resource stream_id, int msg_no [, int from_length [, int subject_length [, string default_host]]])
Read the headers of the message
array imap_headers(resource stream_id)
Returns headers for all messages in a mailbox
string imap_last_error(void)
Returns the last error that was generated by an IMAP function. The error stack is NOT cleared after this call.
array imap_list(resource stream_id, string ref, string pattern)
Read the list of mailboxes
array imap_lsub(resource stream_id, string ref, string pattern)
Return a list of subscribed mailboxes
bool imap_mail(string to, string subject, string message [, string additional_headers [, string cc [, string bcc [, string rpath]]]])
Send an email message
string imap_mail_compose(array envelope, array body)
Create a MIME message based on given envelope and body sections
bool imap_mail_copy(resource stream_id, int msg_no, string mailbox [, int options])
Copy specified message to a mailbox
bool imap_mail_move(resource stream_id, int msg_no, string mailbox [, int options])
Move specified message to a mailbox
object imap_mailboxmsginfo(resource stream_id)
Returns info about the current mailbox
array imap_mime_header_decode(string str)
Decode mime header element in accordance with RFC 2047 and return array of objects containing 'charset' encoding and decoded 'text'
int imap_msgno(resource stream_id, int unique_msg_id)
Get the sequence number associated with a UID
int imap_num_msg(resource stream_id)
Gives the number of messages in the current mailbox
int imap_num_recent(resource stream_id)
Gives the number of recent messages in current mailbox
resource imap_open(string mailbox, string user, string password [, int options])
Open an IMAP stream to a mailbox
bool imap_ping(resource stream_id)
Check if the IMAP stream is still active
string imap_qprint(string text)
Convert a quoted-printable string to an 8-bit string
bool imap_renamemailbox(resource stream_id, string old_name, string new_name)
Rename a mailbox
bool imap_reopen(resource stream_id, string mailbox [, int options])
Reopen an IMAP stream to a new mailbox
array imap_rfc822_parse_adrlist(string address_string, string default_host)
Parses an address string
object imap_rfc822_parse_headers(string headers [, string default_host])
Parse a set of mail headers contained in a string, and return an object similar to imap_headerinfo()
string imap_rfc822_write_address(string mailbox, string host, string personal)
Returns a properly formatted email address given the mailbox, host, and personal info
array imap_scan(resource stream_id, string ref, string pattern, string content)
Read list of mailboxes containing a certain string
array imap_search(resource stream_id, string criteria [, int options [, string charset]])
Return a list of messages matching the given criteria
bool imap_set_quota(resource stream_id, string qroot, int mailbox_size)
Will set the quota for qroot mailbox
bool imap_setacl(resource stream_id, string mailbox, string id, string rights)
Sets the ACL for a given mailbox
bool imap_setflag_full(resource stream_id, string sequence, string flag [, int options])
Sets flags on messages
array imap_sort(resource stream_id, int criteria, int reverse [, int options [, string search_criteria [, string charset]]])
Sort an array of message headers, optionally including only messages that meet specified criteria.
object imap_status(resource stream_id, string mailbox, int options)
Get status info from a mailbox
bool imap_subscribe(resource stream_id, string mailbox)
Subscribe to a mailbox
array imap_thread(resource stream_id [, int options])
Return threaded by REFERENCES tree
mixed imap_timeout(int timeout_type [, int timeout])
Set or fetch imap timeout
int imap_uid(resource stream_id, int msg_no)
Get the unique message id associated with a standard sequential message number
bool imap_undelete(resource stream_id, int msg_no)
Remove the delete flag from a message
bool imap_unsubscribe(resource stream_id, string mailbox)
Unsubscribe from a mailbox
string imap_utf7_decode(string buf)
Decode a modified UTF-7 string
string imap_utf7_encode(string buf)
Encode a string in modified UTF-7
string imap_utf8(string mime_encoded_text)
Convert a mime-encoded text to UTF-8
# php-src/ext/informix/ifx.ec
int ifx_affected_rows(resource resultid)
Returns the number of rows affected by query identified by resultid
bool ifx_blobinfile_mode(int mode)
Sets the default blob-mode for all select-queries
bool ifx_byteasvarchar(int mode)
Sets the default byte-mode for all select-queries
bool ifx_close([resource connid])
Close informix connection
resource ifx_connect([string database [, string userid [, string password]]])
Connects to database using userid/password, returns connection id
int ifx_copy_blob(int bid)
Duplicates the given blob-object
int ifx_create_blob(int type, int mode, string param)
Creates a blob-object
int ifx_create_char(string param)
Creates a char-object
bool ifx_do(resource resultid)
Executes a previously prepared query or opens a cursor for it
string ifx_error([resource connection_id])
Returns the Informix error codes (SQLSTATE & SQLCODE)
string ifx_errormsg([int errorcode])
Returns the Informix errormessage associated with
array ifx_fetch_row(resource resultid [, mixed position])
Fetches the next row or <position> row if using a scroll cursor
array ifx_fieldproperties(resource resultid)
Returns an associative for query <resultid> array with fieldnames as key
array ifx_fieldtypes(resource resultid)
Returns an associative array with fieldnames as key for query <resultid>
int ifx_free_blob(int bid)
Deletes the blob-object
bool ifx_free_char(int bid)
Deletes the char-object
bool ifx_free_result(resource resultid)
Releases resources for query associated with resultid
string ifx_get_blob(int bid)
Returns the content of the blob-object
string ifx_get_char(int bid)
Returns the content of the char-object
array ifx_getsqlca(resource resultid)
Returns the sqlerrd[] fields of the sqlca struct for query resultid
int ifx_htmltbl_result(resource resultid [, string htmltableoptions])
Formats all rows of the resultid query into a html table
bool ifx_nullformat(int mode)
Sets the default return value of a NULL-value on a fetch-row
int ifx_num_fields(resource resultid)
Returns the number of columns in query resultid
int ifx_num_rows(resource resultid)
Returns the number of rows already fetched for query identified by resultid
resource ifx_pconnect([string database [, string userid [, string password]]])
Connects to database using userid/password, returns connection id
resource ifx_prepare(string query, resource connid [, int cursortype] [, array idarray])
Prepare a query on a given connection
resource ifx_query(string query, resource connid [, int cursortype] [, array idarray])
Perform a query on a given connection
bool ifx_textasvarchar(int mode)
Sets the default text-mode for all select-queries
int ifx_update_blob(int bid, string content)
Updates the content of the blob-object
bool ifx_update_char(int bid, string content)
Updates the content of the char-object
bool ifxus_close_slob(int bid)
Deletes the slob-object
int ifxus_create_slob(int mode)
Creates a slob-object and opens it
bool ifxus_free_slob(int bid)
Deletes the slob-object
int ifxus_open_slob(int bid, int mode)
Opens an slob-object
string ifxus_read_slob(int bid, int nbytes)
Reads nbytes of the slob-object
int ifxus_seek_slob(int bid, int mode, long offset)
Sets the current file or seek position of an open slob-object
int ifxus_tell_slob(int bid)
Returns the current file or seek position of an open slob-object
int ifxus_write_slob(int bid, string content)
Writes a string into the slob-object
# php-src/ext/ingres_ii/ii.c
bool ingres_autocommit([resource link])
Switch autocommit on or off
bool ingres_close([resource link])
Close an Ingres II database connection
bool ingres_commit([resource link])
Commit a transaction
resource ingres_connect([string database [, string username [, string password]]])
Open a connection to an Ingres II database the syntax of database is [node_id::]dbname[/svr_class]
array ingres_fetch_array([int result_type [, resource link]])
Fetch a row of result into an array result_type can be II_NUM for enumerated array, II_ASSOC for associative array, or II_BOTH (default)
array ingres_fetch_object([int result_type [, resource link]])
Fetch a row of result into an object result_type can be II_NUM for enumerated object, II_ASSOC for associative object, or II_BOTH (default)
array ingres_fetch_row([resource link])
Fetch a row of result into an enumerated array
string ingres_field_length(int index [, resource link])
Return the length of a field in a query result index must be >0 and <= ingres_num_fields()
string ingres_field_name(int index [, resource link])
Return the name of a field in a query result index must be >0 and <= ingres_num_fields()
string ingres_field_nullable(int index [, resource link])
Return true if the field is nullable and false otherwise index must be >0 and <= ingres_num_fields()
string ingres_field_precision(int index [, resource link])
Return the precision of a field in a query result index must be >0 and <= ingres_num_fields()
string ingres_field_scale(int index [, resource link])
Return the scale of a field in a query result index must be >0 and <= ingres_num_fields()
string ingres_field_type(int index [, resource link])
Return the type of a field in a query result index must be >0 and <= ingres_num_fields()
int ingres_num_fields([resource link])
Return the number of fields returned by the last query
int ingres_num_rows([resource link])
Return the number of rows affected/returned by the last query
resource ingres_pconnect([string database [, string username [, string password]]])
Open a persistent connection to an Ingres II database the syntax of database is [node_id::]dbname[/svr_class]
bool ingres_query(string query [, resource link])
Send a SQL query to Ingres II
bool ingres_rollback([resource link])
Roll back a transaction
# php-src/ext/interbase/ibase_blobs.c
bool ibase_blob_add(resource blob_handle, string data)
Add data into created blob
bool ibase_blob_cancel(resource blob_handle)
Cancel creating blob
string ibase_blob_close(resource blob_handle)
Close blob
resource ibase_blob_create([resource link_identifier])
Create blob for adding data
bool ibase_blob_echo([ resource link_identifier, ] string blob_id)
Output blob contents to browser
string ibase_blob_get(resource blob_handle, int len)
Get len bytes data from open blob
string ibase_blob_import([ resource link_identifier, ] resource file)
Create blob, copy file in it, and close it
array ibase_blob_info([ resource link_identifier, ] string blob_id)
Return blob length and other useful info
resource ibase_blob_open([ resource link_identifier, ] string blob_id)
Open blob for retrieving data parts
# php-src/ext/interbase/ibase_events.c
bool ibase_free_event_handler(resource event)
Frees the event handler set by ibase_set_event_handler()
resource ibase_set_event_handler([resource link_identifier,] callback handler, string event [, string event [, ...]])
Register the callback for handling each of the named events
string ibase_wait_event([resource link_identifier,] string event [, string event [, ...]])
Waits for any one of the passed Interbase events to be posted by the database, and returns its name
# php-src/ext/interbase/ibase_query.c
int ibase_affected_rows( [ resource link_identifier ] )
Returns the number of rows affected by the previous INSERT, UPDATE or DELETE statement
mixed ibase_execute(resource query [, mixed bind_arg [, mixed bind_arg [, ...]]])
Execute a previously prepared query
array ibase_fetch_assoc(resource result [, int fetch_flags])
Fetch a row from the results of a query
object ibase_fetch_object(resource result [, int fetch_flags])
Fetch a object from the results of a query
array ibase_fetch_row(resource result [, int fetch_flags])
Fetch a row from the results of a query
array ibase_field_info(resource query_result, int field_number)
Get information about a field
bool ibase_free_query(resource query)
Free memory used by a query
bool ibase_free_result(resource result)
Free the memory used by a result
bool ibase_name_result(resource result, string name)
Assign a name to a result for use with ... WHERE CURRENT OF <name> statements
int ibase_num_fields(resource query_result)
Get the number of fields in result
int ibase_num_params(resource query)
Get the number of params in a prepared query
int ibase_num_rows( resource result_identifier )
Return the number of rows that are available in a result
array ibase_param_info(resource query, int field_number)
Get information about a parameter
resource ibase_prepare([resource link_identifier, ] string query)
Prepare a query for later execution
mixed ibase_query([resource link_identifier, [ resource link_identifier, ]] string query [, mixed bind_arg [, mixed bind_arg [, ...]]])
Execute a query
# php-src/ext/interbase/ibase_service.c
bool ibase_add_user(resource service_handle, string user_name, string password [, string first_name [, string middle_name [, string last_name]]])
Add a user to security database
mixed ibase_backup(resource service_handle, string source_db, string dest_file [, int options [, bool verbose]])
Initiates a backup task in the service manager and returns immediately
string ibase_db_info(resource service_handle, string db, int action [, int argument])
Request statistics about a database
bool ibase_delete_user(resource service_handle, string user_name, string password [, string first_name [, string middle_name [, string last_name]]])
Delete a user from security database
bool ibase_maintain_db(resource service_handle, string db, int action [, int argument])
Execute a maintenance command on the database server
bool ibase_modify_user(resource service_handle, string user_name, string password [, string first_name [, string middle_name [, string last_name]]])
Modify a user in security database
mixed ibase_restore(resource service_handle, string source_file, string dest_db [, int options [, bool verbose]])
Initiates a restore task in the service manager and returns immediately
string ibase_server_info(resource service_handle, int action)
Request information about a database server
resource ibase_service_attach(string host, string dba_username, string dba_password)
Connect to the service manager
bool ibase_service_detach(resource service_handle)
Disconnect from the service manager
# php-src/ext/interbase/interbase.c
bool ibase_close([resource link_identifier])
Close an InterBase connection
bool ibase_commit( resource link_identifier )
Commit transaction
bool ibase_commit_ret( resource link_identifier )
Commit transaction and retain the transaction context
resource ibase_connect(string database [, string username [, string password [, string charset [, int buffers [, int dialect [, string role]]]]]])
Open a connection to an InterBase database
bool ibase_drop_db([resource link_identifier])
Drop an InterBase database
int ibase_errcode(void)
Return error code
string ibase_errmsg(void)
Return error message
int ibase_gen_id(string generator [, int increment [, resource link_identifier ]])
Increments the named generator and returns its new value
resource ibase_pconnect(string database [, string username [, string password [, string charset [, int buffers [, int dialect [, string role]]]]]])
Open a persistent connection to an InterBase database
bool ibase_rollback( resource link_identifier )
Rollback transaction
bool ibase_rollback_ret( resource link_identifier )
Rollback transaction and retain the transaction context
resource ibase_trans([int trans_args [, resource link_identifier [, ... ], int trans_args [, resource link_identifier [, ... ]] [, ...]]])
Start a transaction over one or several databases
# php-src/ext/ircg/ircg.c
bool ircg_channel_mode(int connection, string channel, string mode_spec, string nick)
Sets channel mode flags for user
bool ircg_disconnect(int connection, string reason)
Terminate IRC connection
array ircg_eval_ecmascript_params(string params)
Decodes a list of JS-encoded parameters into a native array
array ircg_fetch_error_msg(int connection)
Returns the error from previous ircg operation
string ircg_get_username(int connection)
Gets username for connection
string ircg_html_encode(string html_text)
Encodes HTML preserving output
bool ircg_ignore_add(resource connection, string nick)
Adds a user to your ignore list on a server
bool ircg_ignore_del(int connection, string nick)
Removes a user from your ignore list
bool ircg_invite(int connection, string channel, string nickname)
INVITEs nickname to channel
bool ircg_is_conn_alive(int connection)
Checks connection status
bool ircg_join(int connection, string channel [, string chan-key])
Joins a channel on a connected server
bool ircg_kick(int connection, string channel, string nick, string reason)
Kicks user from channel
bool ircg_list(int connection, string channel)
List topic/user count of channel(s)
bool ircg_lookup_format_messages(string name)
Selects a set of format strings for display of IRC messages
bool ircg_lusers(int connection)
IRC network statistics
bool ircg_msg(int connection, string recipient, string message [,bool loop-suppress])
Delivers a message to the IRC network
bool ircg_names( int connection, string channel [, string target])
Queries visible usernames
bool ircg_nick(int connection, string newnick)
Changes the nickname
string ircg_nickname_escape(string nick)
Escapes special characters in nickname to be IRC-compliant
string ircg_nickname_unescape(string nick)
Decodes encoded nickname
bool ircg_notice(int connection, string recipient, string message)
Sends a one-way communication NOTICE to a target
bool ircg_oper(int connection, string name, string password)
Elevates privileges to IRC OPER
bool ircg_part(int connection, string channel)
Leaves a channel
int ircg_pconnect(string username [, string server [, int port [, string format-msg-set-name [, array ctcp-set [, array user-details [, bool bailout-on-trivial]]]]]])
Create a persistent IRC connection
bool ircg_register_format_messages(string name, array messages)
Registers a set of format strings for display of IRC messages
bool ircg_set_current(int connection)
Sets current connection for output
bool ircg_set_file(int connection, string path)
Sets logfile for connection
bool ircg_set_on_die(int connection, string host, int port, string data)
Sets hostaction to be executed when connection dies
bool ircg_set_on_read_data(int connection, string host, int port, string data)
Set action to be executed when data is received from a HTTP client
bool ircg_topic(int connection, string channel, string topic)
Sets topic for channel
bool ircg_who(int connection, string mask [, bool ops_only])
Queries server for WHO information
bool ircg_whois( int connection, string nick)
Queries user information for nick on server
# php-src/ext/ldap/ldap.c
_ldap_rebind_proc()
string ldap_8859_to_t61(string value)
Translate 8859 characters to t61 characters
bool ldap_add(resource link, string dn, array entry)
Add entries to LDAP directory
bool ldap_bind(resource link [, string dn, string password])
Bind to LDAP directory
bool ldap_compare(resource link, string dn, string attr, string value)
Determine if an entry has a specific value for one of its attributes
resource ldap_connect([string host [, int port]])
Connect to an LDAP server
int ldap_count_entries(resource link, resource result)
Count the number of entries in a search result
bool ldap_delete(resource link, string dn)
Delete an entry from a directory
string ldap_dn2ufn(string dn)
Convert DN to User Friendly Naming format
string ldap_err2str(int errno)
Convert error number to error string
int ldap_errno(resource link)
Get the current ldap error number
string ldap_error(resource link)
Get the current ldap error string
array ldap_explode_dn(string dn, int with_attrib)
Splits DN into its component parts
string ldap_first_attribute(resource link, resource result_entry, int ber)
Return first attribute
resource ldap_first_entry(resource link, resource result)
Return first result id
resource ldap_first_reference(resource link, resource result)
Return first reference
bool ldap_free_result(resource result)
Free result memory
array ldap_get_attributes(resource link, resource result_entry)
Get attributes from a search result entry
string ldap_get_dn(resource link, resource result_entry)
Get the DN of a result entry
array ldap_get_entries(resource link, resource result)
Get all result entries
bool ldap_get_option(resource link, int option, mixed retval)
Get the current value of various session-wide parameters
array ldap_get_values(resource link, resource result_entry, string attribute)
Get all values from a result entry
array ldap_get_values_len(resource link, resource result_entry, string attribute)
Get all values with lengths from a result entry
resource ldap_list(resource link, string base_dn, string filter [, array attrs [, int attrsonly [, int sizelimit [, int timelimit [, int deref]]]]])
Single-level search
bool ldap_mod_add(resource link, string dn, array entry)
Add attribute values to current
bool ldap_mod_del(resource link, string dn, array entry)
Delete attribute values
bool ldap_mod_replace(resource link, string dn, array entry)
Replace attribute values with new ones
string ldap_next_attribute(resource link, resource result_entry, resource ber)
Get the next attribute in result
resource ldap_next_entry(resource link, resource result_entry)
Get next result entry
resource ldap_next_reference(resource link, resource reference_entry)
Get next reference
bool ldap_parse_reference(resource link, resource reference_entry, array referrals)
Extract information from reference entry
bool ldap_parse_result(resource link, resource result, int errcode, string matcheddn, string errmsg, array referrals)
Extract information from result
resource ldap_read(resource link, string base_dn, string filter [, array attrs [, int attrsonly [, int sizelimit [, int timelimit [, int deref]]]]])
Read an entry
bool ldap_rename(resource link, string dn, string newrdn, string newparent, bool deleteoldrdn);
Modify the name of an entry
bool ldap_sasl_bind(resource link)
Bind to LDAP directory using SASL
resource ldap_search(resource link, string base_dn, string filter [, array attrs [, int attrsonly [, int sizelimit [, int timelimit [, int deref]]]]])
Search LDAP tree under base_dn
bool ldap_set_option(resource link, int option, mixed newval)
Set the value of various session-wide parameters
bool ldap_set_rebind_proc(resource link, string callback)
Set a callback function to do re-binds on referral chasing.
bool ldap_sort(resource link, resource result, string sortfilter)
Sort LDAP result entries
bool ldap_start_tls(resource link)
Start TLS
string ldap_t61_to_8859(string value)
Translate t61 characters to 8859 characters
bool ldap_unbind(resource link)
Unbind from LDAP directory
# php-src/ext/libxml/libxml.c
void libxml_set_streams_context(resource streams_context)
Set the streams context for the next libxml document load or write
# php-src/ext/mbstring/mb_gpc.h
# php-src/ext/mbstring/mbstring.c
string mb_convert_case(string sourcestring, int mode [, string encoding])
Returns a case-folded version of sourcestring
string mb_convert_encoding(string str, string to-encoding [, mixed from-encoding])
Returns converted string in desired encoding
string mb_convert_kana(string str [, string option] [, string encoding])
Conversion between full-width character and half-width character (Japanese)
string mb_convert_variables(string to-encoding, mixed from-encoding [, mixed ...])
Converts the string resource in variables to desired encoding
string mb_decode_mimeheader(string string)
Decodes the MIME "encoded-word" in the string
string mb_decode_numericentity(string string, array convmap [, string encoding])
Converts HTML numeric entities to character code
string mb_detect_encoding(string str [, mixed encoding_list [, bool strict]])
Encodings of the given string is returned (as a string)
bool|array mb_detect_order([mixed encoding-list])
Sets the current detect_order or Return the current detect_order as a array
string mb_encode_mimeheader(string str [, string charset [, string transfer-encoding [, string linefeed]]])
Converts the string to MIME "encoded-word" in the format of =?charset?(B|Q)?encoded_string?=
string mb_encode_numericentity(string string, array convmap [, string encoding])
Converts specified characters to HTML numeric entities
string mb_get_info([string type])
Returns the current settings of mbstring
mixed mb_http_input([string type])
Returns the input encoding
string mb_http_output([string encoding])
Sets the current output_encoding or returns the current output_encoding as a string
string mb_internal_encoding([string encoding])
Sets the current internal encoding or Returns the current internal encoding as a string
string mb_language([string language])
Sets the current language or Returns the current language as a string
array mb_list_encodings()
Returns an array of all supported encodings
string mb_output_handler(string contents, int status)
Returns string in output buffer converted to the http_output encoding
bool mb_parse_str(string encoded_string [, array result])
Parses GET/POST/COOKIE data and sets global variables
string mb_preferred_mime_name(string encoding)
Return the preferred MIME name (charset) as a string
int mb_send_mail(string to, string subject, string message [, string additional_headers [, string additional_parameters]])
* Sends an email message with MIME scheme
string mb_strcut(string str, int start [, int length [, string encoding]])
Returns part of a string
string mb_strimwidth(string str, int start, int width [, string trimmarker [, string encoding]])
Trim the string in terminal width
int mb_strlen(string str [, string encoding])
Get character numbers of a string
int mb_strpos(string haystack, string needle [, int offset [, string encoding]])
Find position of first occurrence of a string within another
int mb_strrpos(string haystack, string needle [, string encoding])
Find the last occurrence of a character in a string within another
string mb_strtolower(string sourcestring [, string encoding])
* Returns a lowercased version of sourcestring
string mb_strtoupper(string sourcestring [, string encoding])
* Returns a uppercased version of sourcestring
int mb_strwidth(string str [, string encoding])
Gets terminal width of a string
mixed mb_substitute_character([mixed substchar])
Sets the current substitute_character or returns the current substitute_character
string mb_substr(string str, int start [, int length [, string encoding]])
Returns part of a string
int mb_substr_count(string haystack, string needle [, string encoding])
Count the number of substring occurrences
# php-src/ext/mbstring/php_mbregex.c
int mb_ereg(string pattern, string string [, array registers])
Regular expression match for multibyte string
bool mb_ereg_match(string pattern, string string [,string option])
Regular expression match for multibyte string
string mb_ereg_replace(string pattern, string replacement, string string [, string option])
Replace regular expression for multibyte string
bool mb_ereg_search([string pattern[, string option]])
Regular expression search for multibyte string
int mb_ereg_search_getpos(void)
Get search start position
array mb_ereg_search_getregs(void)
Get matched substring of the last time
bool mb_ereg_search_init(string string [, string pattern[, string option]])
Initialize string and regular expression for search.
array mb_ereg_search_pos([string pattern[, string option]])
Regular expression search for multibyte string
array mb_ereg_search_regs([string pattern[, string option]])
Regular expression search for multibyte string
bool mb_ereg_search_setpos(int position)
Set search start position
int mb_eregi(string pattern, string string [, array registers])
Case-insensitive regular expression match for multibyte string
string mb_eregi_replace(string pattern, string replacement, string string)
Case insensitive replace regular expression for multibyte string
string mb_regex_encoding([string encoding])
Returns the current encoding for regex as a string.
string mb_regex_set_options([string options])
Set or get the default options for mbregex functions
array mb_split(string pattern, string string [, int limit])
split multibyte string into array by regular expression
# php-src/ext/mcrypt/mcrypt.c
string mcrypt_cbc(int cipher, string key, string data, int mode, string iv)
CBC crypt/decrypt data using key key with cipher cipher starting with iv
string mcrypt_cfb(int cipher, string key, string data, int mode, string iv)
CFB crypt/decrypt data using key key with cipher cipher starting with iv
string mcrypt_create_iv(int size, int source)
Create an initialization vector (IV)
string mcrypt_decrypt(string cipher, string key, string data, string mode, string iv)
OFB crypt/decrypt data using key key with cipher cipher starting with iv
string mcrypt_ecb(int cipher, string key, string data, int mode, string iv)
ECB crypt/decrypt data using key key with cipher cipher starting with iv
string mcrypt_enc_get_algorithms_name(resource td)
Returns the name of the algorithm specified by the descriptor td
int mcrypt_enc_get_block_size(resource td)
Returns the block size of the cipher specified by the descriptor td
int mcrypt_enc_get_iv_size(resource td)
Returns the size of the IV in bytes of the algorithm specified by the descriptor td
int mcrypt_enc_get_key_size(resource td)
Returns the maximum supported key size in bytes of the algorithm specified by the descriptor td
string mcrypt_enc_get_modes_name(resource td)
Returns the name of the mode specified by the descriptor td
array mcrypt_enc_get_supported_key_sizes(resource td)
This function decrypts the crypttext
bool mcrypt_enc_is_block_algorithm(resource td)
Returns TRUE if the alrogithm is a block algorithms
bool mcrypt_enc_is_block_algorithm_mode(resource td)
Returns TRUE if the mode is for use with block algorithms
bool mcrypt_enc_is_block_mode(resource td)
Returns TRUE if the mode outputs blocks
int mcrypt_enc_self_test(resource td)
This function runs the self test on the algorithm specified by the descriptor td
string mcrypt_encrypt(string cipher, string key, string data, string mode, string iv)
OFB crypt/decrypt data using key key with cipher cipher starting with iv
string mcrypt_generic(resource td, string data)
This function encrypts the plaintext
bool mcrypt_generic_deinit(resource td)
This function terminates encrypt specified by the descriptor td
bool mcrypt_generic_end(resource td)
This function terminates encrypt specified by the descriptor td
int mcrypt_generic_init(resource td, string key, string iv)
This function initializes all buffers for the specific module
int mcrypt_get_block_size(string cipher, string module)
Get the key size of cipher
string mcrypt_get_cipher_name(string cipher)
Get the key size of cipher
int mcrypt_get_iv_size(string cipher, string module)
Get the IV size of cipher (Usually the same as the blocksize)
int mcrypt_get_key_size(string cipher, string module)
Get the key size of cipher
array mcrypt_list_algorithms([string lib_dir])
List all algorithms in "module_dir"
array mcrypt_list_modes([string lib_dir])
List all modes "module_dir"
bool mcrypt_module_close(resource td)
Free the descriptor td
int mcrypt_module_get_algo_block_size(string algorithm [, string lib_dir])
Returns the block size of the algorithm
int mcrypt_module_get_algo_key_size(string algorithm [, string lib_dir])
Returns the maximum supported key size of the algorithm
array mcrypt_module_get_supported_key_sizes(string algorithm [, string lib_dir])
This function decrypts the crypttext
bool mcrypt_module_is_block_algorithm(string algorithm [, string lib_dir])
Returns TRUE if the algorithm is a block algorithm
bool mcrypt_module_is_block_algorithm_mode(string mode [, string lib_dir])
Returns TRUE if the mode is for use with block algorithms
bool mcrypt_module_is_block_mode(string mode [, string lib_dir])
Returns TRUE if the mode outputs blocks of bytes
resource mcrypt_module_open(string cipher, string cipher_directory, string mode, string mode_directory)
Opens the module of the algorithm and the mode to be used
bool mcrypt_module_self_test(string algorithm [, string lib_dir])
Does a self test of the module "module"
string mcrypt_ofb(int cipher, string key, string data, int mode, string iv)
OFB crypt/decrypt data using key key with cipher cipher starting with iv
string mdecrypt_generic(resource td, string data)
This function decrypts the plaintext
# php-src/ext/mcve/mcve.c
int m_adduser(resource conn, string admin_password, int usersetup)
Add an MCVE user using usersetup structure
int m_adduserarg(resource usersetup, int argtype, string argval)
Add a value to user configuration structure
int m_bt(resource conn, string username, string password)
Get unsettled batch totals
int m_checkstatus(resource conn, int identifier)
Check to see if a transaction has completed
int m_chkpwd(resource conn, string username, string password)
Verify Password
int m_chngpwd(resource conn, string admin_password, string new_password)
Change the system administrator's password
int m_completeauthorizations(resource conn, int &array)
Number of complete authorizations in queue, returning an array of their identifiers
int m_connect(resource conn)
Establish the connection to MCVE
string m_connectionerror(resource conn)
Get a textual representation of why a connection failed
bool m_deleteresponse(resource conn, int identifier)
Delete specified transaction from MCVE_CONN structure
bool m_deletetrans(resource conn, int identifier)
Delete specified transaction from MCVE_CONN structure
void m_deleteusersetup(resource usersetup)
Deallocate data associated with usersetup structure
int m_deluser(resource conn, string admin_password, string username)
Delete an MCVE user account
void m_destroyconn(resource conn)
Destroy the connection and MCVE_CONN structure
void m_destroyengine(void)
Free memory associated with IP/SSL connectivity
int m_disableuser(resource conn, string admin_password, string username)
Disable an active MCVE user account
int m_edituser(resource conn, string admin_password, int usersetup)
Edit MCVE user using usersetup structure
int m_enableuser(resource conn, string admin_password, string username)
Enable an inactive MCVE user account
int m_force(resiurce conn, string username, string password, string trackdata, string account, string expdate, float amount, string authcode, string comments, string clerkid, string stationid, int ptrannum)
Send a FORCE to MCVE. (typically, a phone-authorization)
string m_getcell(resource conn, int identifier, string column, int row)
Get a specific cell from a comma delimited response by column name
string m_getcellbynum(resource conn, int identifier, int column, int row)
Get a specific cell from a comma delimited response by column number
string m_getcommadelimited(resource conn, int identifier)
Get the RAW comma delimited data returned from MCVE
string m_getheader(resource conn, int identifier, int column_num)
Get the name of the column in a comma-delimited response
string m_getuserarg(resource usersetup, int argtype)
Grab a value from usersetup structure
string m_getuserparam(resource conn, long identifier, int key)
Get a user response parameter
int m_gft(resource conn, string username, string password, int type, string account, string clerkid, string stationid, string comments, int ptrannum, string startdate, string enddate)
Audit MCVE for Failed transactions
int m_gl(int conn, string username, string password, int type, string account, string batch, string clerkid, string stationid, string comments, int ptrannum, string startdate, string enddate)
Audit MCVE for settled transactions
int m_gut(resource conn, string username, string password, int type, string account, string clerkid, string stationid, string comments, int ptrannum, string startdate, string enddate)
Audit MCVE for Unsettled Transactions
resource m_initconn(void)
Create and initialize an MCVE_CONN structure
int m_initengine(string location)
Ready the client for IP/SSL Communication
resource m_initusersetup(void)
Initialize structure to store user data
int m_iscommadelimited(resource conn, int identifier)
Checks to see if response is comma delimited
int m_liststats(resource conn, string admin_password)
List statistics for all users on MCVE system
int m_listusers(resource conn, string admin_password)
List all users on MCVE system
bool m_maxconntimeout(resource conn, int secs)
The maximum amount of time the API will attempt a connection to MCVE
int m_monitor(resource conn)
Perform communication with MCVE (send/receive data) Non-blocking
int m_numcolumns(resource conn, int identifier)
Number of columns returned in a comma delimited response
int m_numrows(resource conn, int identifier)
Number of rows returned in a comma delimited response
int m_override(resource conn, string username, string password, string trackdata, string account, string expdate, float amount, string street, string zip, string cv, string comments, string clerkid, string stationid, int ptrannum)
Send an OVERRIDE to MCVE
int m_parsecommadelimited(resource conn, int identifier)
Parse the comma delimited response so m_getcell, etc will work
int m_ping(resource conn)
Send a ping request to MCVE
int m_preauth(resource conn, string username, string password, string trackdata, string account, string expdate, float amount, string street, string zip, string cv, string comments, string clerkid, string stationid, int ptrannum)
Send a PREAUTHORIZATION to MCVE
int m_preauthcompletion(resource conn, string username, string password, float finalamount, int sid, int ptrannum)
Complete a PREAUTHORIZATION... Ready it for settlement
int m_qc(resource conn, string username, string password, string clerkid, string stationid, string comments, int ptrannum)
Audit MCVE for a list of transactions in the outgoing queue
string m_responseparam(resource conn, long identifier, string key)
Get a custom response parameter
int m_return(int conn, string username, string password, string trackdata, string account, string expdate, float amount, string comments, string clerkid, string stationid, int ptrannum)
Issue a RETURN or CREDIT to MCVE
int m_returncode(resource conn, int identifier)
Grab the exact return code from the transaction
int m_returnstatus(resource conn, int identifier)
Check to see if the transaction was successful
int m_sale(resource conn, string username, string password, string trackdata, string account, string expdate, float amount, string street, string zip, string cv, string comments, string clerkid, string stationid, int ptrannum)
Send a SALE to MCVE
int m_setblocking(resource conn, int tf)
Set blocking/non-blocking mode for connection
int m_setdropfile(resource conn, string directory)
Set the connection method to Drop-File
int m_setip(resource conn, string host, int port)
Set the connection method to IP
int m_setssl(resource conn, string host, int port)
Set the connection method to SSL
int m_setssl_files(resource conn, string sslkeyfile, string sslcertfile)
Set certificate key files and certificates if server requires client certificate verification
int m_settimeout(resource conn, int seconds)
Set maximum transaction time (per trans)
int m_settle(resource conn, string username, string password, string batch)
Issue a settlement command to do a batch deposit
string m_text_avs(string code)
Get a textual representation of the return_avs
string m_text_code(string code)
Get a textual representation of the return_code
string m_text_cv(int code)
Get a textual representation of the return_cv
string m_transactionauth(resource conn, int identifier)
Get the authorization number returned for the transaction (alpha-numeric)
int m_transactionavs(resource conn, int identifier)
Get the Address Verification return status
int m_transactionbatch(resource conn, int identifier)
Get the batch number associated with the transaction
int m_transactioncv(resource conn, int identifier)
Get the CVC2/CVV2/CID return status
int m_transactionid(resource conn, int identifier)
Get the unique system id for the transaction
int m_transactionitem(resource conn, int identifier)
Get the ITEM number in the associated batch for this transaction
int m_transactionssent(resource conn)
Check to see if outgoing buffer is clear
string m_transactiontext(resource conn, int identifier)
Get verbiage (text) return from MCVE or processing institution
int m_transinqueue(resource conn)
Number of transactions in client-queue
int m_transnew(resource conn)
Start a new transaction
int m_transparam(resource conn, long identifier, int key, ...)
Add a parameter to a transaction
int m_transsend(resource conn, long identifier)
Finalize and send the transaction
int m_ub(resource conn, string username, string password)
Get a list of all Unsettled batches
int m_uwait(long microsecs)
Wait x microsecs
bool m_verifyconnection(resource conn, int tf)
Set whether or not to PING upon connect to verify connection
bool m_verifysslcert(resource conn, int tf)
Set whether or not to verify the server ssl certificate
int m_void(resource conn, string username, string password, int sid, int ptrannum)
VOID a transaction in the settlement queue
# php-src/ext/mhash/mhash.c
string mhash(int hash, string data [, string key])
Hash data with hash
int mhash_count(void)
Gets the number of available hashes
int mhash_get_block_size(int hash)
Gets the block size of hash
string mhash_get_hash_name(int hash)
Gets the name of hash
string mhash_keygen_s2k(int hash, string input_password, string salt, int bytes)
Generates a key using hash functions
# php-src/ext/mime_magic/mime_magic.c
string mime_content_type(string filename|resource stream)
Return content-type for file
# php-src/ext/ming/ming.c
int ming_keypress(string str)
Returns the action flag for keyPress(char)
void ming_setcubicthreshold (int threshold)
Set cubic threshold (?)
void ming_setscale(int scale)
Set scale (?)
void ming_useconstants(int use)
Use constant pool (?)
void ming_useswfversion(int version)
Use SWF version (?)
object swfaction::__construct(string)
Returns a new SWFAction object, compiling the given script
class swfbitmap::__construct(mixed file [, mixed maskfile])
Returns a new SWFBitmap object from jpg (with optional mask) or dbl file
float swfbitmap::getHeight()
Returns the height of this bitmap
float swfbitmap::getWidth()
Returns the width of this bitmap
object swfbutton::__construct()
Returns a new SWFButton object
SWFSoundInstance swfbutton::addASound(SWFSound sound, int flags)
associates a sound with a button transition NOTE: the transitions are all wrong _UP, _OVER, _DOWN _HIT
void swfbutton::addAction(object SWFAction, int flags)
Sets the action to perform when conditions described in flags is met
void swfbutton::addShape(object SWFCharacter, int flags)
Sets the character to display for the condition described in flags
void swfbutton::setAction(object SWFAction)
Sets the action to perform when button is pressed
void swfbutton::setDown(object SWFCharacter)
Sets the character for this button's down state
void swfbutton::setHit(object SWFCharacter)
Sets the character for this button's hit test state
void swfbutton::setMenu(int flag)
enable track as menu button behaviour
void swfbutton::setOver(object SWFCharacter)
Sets the character for this button's over state
void swfbutton::setUp(object SWFCharacter)
Sets the character for this button's up state
void swfdisplayitem::addAction(object SWFAction, int flags)
Adds this SWFAction to the given SWFSprite instance
void swfdisplayitem::addColor(int r, int g, int b [, int a])
Sets the add color part of this SWFDisplayItem's CXform to (r, g, b [, a]), a defaults to 0
void swfdisplayitem::endMask()
another way of defining a MASK layer
void swfdisplayitem::move(float dx, float dy)
Displaces this SWFDisplayItem by (dx, dy) in movie coordinates
void swfdisplayitem::moveTo(int x, int y)
Moves this SWFDisplayItem to movie coordinates (x, y)
void swfdisplayitem::multColor(float r, float g, float b [, float a])
Sets the multiply color part of this SWFDisplayItem's CXform to (r, g, b [, a]), a defaults to 1.0
void swfdisplayitem::rotate(float degrees)
Rotates this SWFDisplayItem the given (clockwise) degrees from its current orientation
void swfdisplayitem::rotateTo(float degrees)
Rotates this SWFDisplayItem the given (clockwise) degrees from its original orientation
void swfdisplayitem::scale(float xScale, float yScale)
Multiplies this SWFDisplayItem's current x scale by xScale, its y scale by yScale
void swfdisplayitem::scaleTo(float xScale [, float yScale])
Scales this SWFDisplayItem by xScale in the x direction, yScale in the y, or both to xScale if only one arg
void swfdisplayitem::setDepth(int depth)
Sets this SWFDisplayItem's z-depth to depth. Items with higher depth values are drawn on top of those with lower values
void swfdisplayitem::setMaskLevel(int level)
defines a MASK layer at level
void swfdisplayitem::setMatrix(float a, float b, float c, float d, float x, float y)
Sets the item's transform matrix
void swfdisplayitem::setName(string name)
Sets this SWFDisplayItem's name to name
void swfdisplayitem::setRatio(float ratio)
Sets this SWFDisplayItem's ratio to ratio. Obviously only does anything if displayitem was created from an SWFMorph
void swfdisplayitem::skewX(float xSkew)
Adds xSkew to this SWFDisplayItem's x skew value
void swfdisplayitem::skewXTo(float xSkew)
Sets this SWFDisplayItem's x skew value to xSkew
void swfdisplayitem::skewY(float ySkew)
Adds ySkew to this SWFDisplayItem's y skew value
void swfdisplayitem::skewYTo(float ySkew)
Sets this SWFDisplayItem's y skew value to ySkew
class swffill::__construct()
Returns a new SWFFill object
void swffill::moveTo(float x, float y)
Moves this SWFFill to shape coordinates (x,y)
void swffill::rotateTo(float degrees)
Rotates this SWFFill the given (clockwise) degrees from its original orientation
void swffill::scaleTo(float xScale [, float yScale])
Scales this SWFFill by xScale in the x direction, yScale in the y, or both to xScale if only one arg
void swffill::skewXTo(float xSkew)
Sets this SWFFill's x skew value to xSkew
void swffill::skewYTo(float ySkew)
Sets this SWFFill's y skew value to ySkew
object swffont::__construct(string filename)
Returns a new SWFFont object from given file
void swffont::addChars(string)
adds characters to a font required within textfields
float swffont::getAscent()
Returns the ascent of the font, or 0 if not available
float swffont::getDescent()
Returns the descent of the font, or 0 if not available
float swffont::getLeading()
Returns the leading of the font, or 0 if not available
string swffont::getShape(code)
Returns the glyph shape of a char as a text string
int swffont::getUTF8Width(string)
Calculates the width of the given string in this font at full height
int swffont::getWideWidth(string)
Calculates the width of the given string in this font at full height
float swffont::getWidth(string str)
Calculates the width of the given string in this font at full height
void swffontcha::raddChars(string)
adds characters to a font for exporting font
void swffontchar::addChars(string)
adds characters to a font for exporting font
class swfgradient::__construct()
Returns a new SWFGradient object
void swfgradient::addEntry(float ratio, int r, int g, int b [, int a])
Adds given entry to the gradient
object swfmorph::__construct()
Returns a new SWFMorph object
object swfmorph::getShape1()
Return's this SWFMorph's start shape object
object swfmorph::getShape2()
Return's this SWFMorph's start shape object
object swfmovie::__construct(int version)
Creates swfmovie object according to the passed version
object swfmovie::add(object SWFBlock)
void swfmovie::labelframe(object SWFBlock)
void swfmovie::labelframe(string label)
Labels frame
void swfmovie::nextframe()
int swfmovie::output([int compression])
int swfmovie::save(mixed where [, int compression])
Saves the movie. 'where' can be stream and the movie will be saved there otherwise it is treated as string and written in file with that name
int swfmovie::saveToFile(stream x [, int compression])
void swfmovie::setBackground(int r, int g, int b)
Sets background color (r,g,b)
void swfmovie::setDimension(float x, float y)
Sets movie dimension
void swfmovie::setFrames(int frames)
Sets number of frames
void swfmovie::setRate(float rate)
Sets movie rate
void swfmovie::streamMP3(mixed file)
Sets sound stream of the SWF movie. The parameter can be stream or string.
class swfprebuiltclip_init([file])
Returns a SWFPrebuiltClip object
object swfshape::__construct()
Returns a new SWFShape object
object swfshape::addfill(mixed arg1, int arg2, [int b [, int a]])
Returns a fill object, for use with swfshape_setleftfill and swfshape_setrightfill. If 1 or 2 parameter(s) is (are) passed first should be object (from gradient class) and the second int (flags). Gradient fill is performed. If 3 or 4 parameters are passed : r, g, b [, a]. Solid fill is performed.
void swfshape::drawarc(float r, float startAngle, float endAngle)
Draws an arc of radius r centered at the current location, from angle startAngle to angle endAngle measured clockwise from 12 o'clock
void swfshape::drawcircle(float r)
Draws a circle of radius r centered at the current location, in a counter-clockwise fashion
void swfshape::drawcubic(float bx, float by, float cx, float cy, float dx, float dy)
Draws a cubic bezier curve using the current position and the three given points as control points
void swfshape::drawcubic(float bx, float by, float cx, float cy, float dx, float dy)
Draws a cubic bezier curve using the current position and the three given points as control points
void swfshape::drawcurve(float adx, float ady, float bdx, float bdy [, float cdx, float cdy])
Draws a curve from the current pen position (x, y) to the point (x+bdx, y+bdy) in the current line style, using point (x+adx, y+ady) as a control point or draws a cubic bezier to point (x+cdx, x+cdy) with control points (x+adx, y+ady) and (x+bdx, y+bdy)
void swfshape::drawcurveto(float ax, float ay, float bx, float by [, float dx, float dy])
Draws a curve from the current pen position (x,y) to the point (bx, by) in the current line style, using point (ax, ay) as a control point. Or draws a cubic bezier to point (dx, dy) with control points (ax, ay) and (bx, by)
void swfshape::drawglyph(SWFFont font, string character [, int size])
Draws the first character in the given string into the shape using the glyph definition from the given font
void swfshape::drawline(float dx, float dy)
Draws a line from the current pen position (x, y) to the point (x+dx, y+dy) in the current line style
void swfshape::drawlineto(float x, float y)
Draws a line from the current pen position to shape coordinates (x, y) in the current line style
void swfshape::movepen(float x, float y)
Moves the pen from its current location by vector (x, y)
void swfshape::movepento(float x, float y)
Moves the pen to shape coordinates (x, y)
void swfshape::setleftfill(int arg1 [, int g ,int b [,int a]])
Sets the left side fill style to fill in case only one parameter is passed. When 3 or 4 parameters are passed they are treated as : int r, int g, int b, int a . Solid fill is performed in this case before setting left side fill type.
void swfshape::setleftfill(int arg1 [, int g ,int b [,int a]])
Sets the right side fill style to fill in case only one parameter is passed. When 3 or 4 parameters are passed they are treated as : int r, int g, int b, int a . Solid fill is performed in this case before setting right side fill type.
void swfshape::setline(int width, int r, int g, int b [, int a])
Sets the current line style for this SWFShape
class swfsound::__construct(string filename, int flags)
Returns a new SWFSound object from given file
class swfsprite::__construct()
Returns a new SWFSprite object
object swfsprite::add(object SWFCharacter)
Adds the character to the sprite, returns a displayitem object
void swfsprite::labelFrame(string label)
Labels frame
void swfsprite::nextFrame()
Moves the sprite to the next frame
void swfsprite::remove(object SWFDisplayItem)
Remove the named character from the sprite's display list
void swfsprite::setFrames(int frames)
Sets the number of frames in this SWFSprite
class swftext::__construct()
Returns new SWFText object
void swftext::addString(string text)
Writes the given text into this SWFText object at the current pen position, using the current font, height, spacing, and color
void swftext::addUTF8String(string text)
Writes the given text into this SWFText object at the current pen position, using the current font, height, spacing, and color
void swftext::addWideString(string text)
Writes the given text into this SWFText object at the current pen position, using the current font, height, spacing, and color
float swftext::getAscent()
Returns the ascent of the current font at its current size, or 0 if not available
float swftext::getDescent()
Returns the descent of the current font at its current size, or 0 if not available
float swftext::getLeading()
Returns the leading of the current font at its current size, or 0 if not available
double swftext::getUTF8Width(string)
calculates the width of the given string in this text objects current font and size
double swftext::getWideWidth(string)
calculates the width of the given string in this text objects current font and size
float swftext::getWidth(string str)
Calculates the width of the given string in this text objects current font and size
void swftext::moveTo(float x, float y)
Moves this SWFText object's current pen position to (x, y) in text coordinates
void swftext::setColor(int r, int g, int b [, int a])
Sets this SWFText object's current color to the given color
void swftext::setFont(object font)
Sets this SWFText object's current font to given font
void swftext::setHeight(float height)
Sets this SWFText object's current height to given height
void swftext::setSpacing(float spacing)
Sets this SWFText object's current letterspacing to given spacing
object swftextfield::__construct([int flags])
Returns a new SWFTextField object
void swftextfield::addChars(string)
adds characters to a font that will be available within a textfield
void swftextfield::addString(string str)
Adds the given string to this textfield
void swftextfield::align(int alignment)
Sets the alignment of this textfield
void swftextfield::setBounds(float width, float height)
Sets the width and height of this textfield
void swftextfield::setColor(int r, int g, int b [, int a])
Sets the color of this textfield
void swftextfield::setFont(object font)
Sets the font for this textfield
void swftextfield::setHeight(float height)
Sets the font height of this textfield
void swftextfield::setIndentation(float indentation)
Sets the indentation of the first line of this textfield
void swftextfield::setLeftMargin(float margin)
Sets the left margin of this textfield
void swftextfield::setLineSpacing(float space)
Sets the line spacing of this textfield
void swftextfield::setMargins(float left, float right)
Sets both margins of this textfield
void swftextfield::setName(string var_name)
Sets the variable name of this textfield
void swftextfield::setPadding(float padding)
Sets the padding of this textfield
void swftextfield::setRightMargin(float margin)
Sets the right margin of this textfield
class swfvideostream_init([file])
Returns a SWVideoStream object
# php-src/ext/mnogosearch/php_mnogo.c
int udm_add_search_limit(int agent, int var, string val)
Add mnoGoSearch search restrictions
int udm_alloc_agent(string dbaddr [, string dbmode])
Allocate mnoGoSearch session
int udm_alloc_agent_array(array dbaddr)
Allocate mnoGoSearch session
int udm_api_version()
Get mnoGoSearch API version
array udm_cat_list(int agent, string category)
Get mnoGoSearch categories list with the same root
array udm_cat_path(int agent, string category)
Get mnoGoSearch categories path from the root to the given catgory
int udm_check_charset(int agent, string charset)
Check if the given charset is known to mnogosearch
int udm_clear_search_limits(int agent)
Clear all mnoGoSearch search restrictions
int udm_crc32(int agent, string str)
Return CRC32 checksum of gived string
int udm_errno(int agent)
Get mnoGoSearch error number
string udm_error(int agent)
Get mnoGoSearch error message
int udm_find(int agent, string query)
Perform search
int udm_free_agent(int agent)
Free mnoGoSearch session
int udm_free_ispell_data(int agent)
Free memory allocated for ispell data
int udm_free_res(int res)
mnoGoSearch free result
string udm_get_agent_param_ex(int agent, string field)
Fetch mnoGoSearch environment parameters
int udm_get_doc_count(int agent)
Get total number of documents in database
string udm_get_res_field(int res, int row, int field)
Fetch mnoGoSearch result field
string udm_get_res_field_ex(int res, int row, string field)
Fetch mnoGoSearch result field
string udm_get_res_param(int res, int param)
Get mnoGoSearch result parameters
int udm_hash32(int agent, string str)
Return Hash32 checksum of gived string
int udm_load_ispell_data(int agent, int var, string val1, [string charset], string val2, int flag)
Load ispell data
int udm_make_excerpt(int agent, int res, int row)
Perform search
int udm_parse_query_string(int agent, string str)
Parses query string, initialises variables and search limits taken from it
int udm_set_agent_param(int agent, int var, string val)
Set mnoGoSearch agent session parameters
int udm_set_agent_param_ex(int agent, string var, string val)
Set mnoGoSearch agent session parameters extended
int udm_store_doc_cgi(int agent)
Get CachedCopy of document and return TRUE if cached copy found
# php-src/ext/msession/msession.c
string msession_call(string fn_name, [, string param1 ], ... [,string param4])
Call the plugin function named fn_name
bool msession_connect(string host, string port)
Connect to msession sever
int msession_count(void)
Get session count
bool msession_create(string session)
Create a session
int msession_ctl(string name)
Lock a session
bool msession_destroy(string name)
Destroy a session
void msession_disconnect(void)
Disconnect from msession server
string msession_exec(string cmdline)
executes a program on msession system
array msession_find(string name, string value)
Find all sessions with name and value
string msession_get(string session, string name, string default_value)
Get value from session
array msession_get_array(string session)
Get array of msession variables
string msession_get_data(string session)
Get data session unstructured data. (PHP sessions use this)
string msession_inc(string session, string name)
Increment value in session
array msession_list(void)
List all sessions
array msession_listvar(string name)
return associative array of value:session for all sessions with a variable named 'name'
int msession_lock(string name)
Lock a session
bool msession_ping(void)
returns non-zero if msession is alive
string msession_plugin(string session, string val [, string param ])
Call the personality plugin escape function
string msession_randstr(int num_chars)
Get random string
bool msession_set(string session, string name, string value)
Set value in session
bool msession_set_array(string session, array tuples)
Set msession variables from an array
bool msession_set_data(string session, string value)
Set data session unstructured data. (PHP sessions use this)
int msession_timeout(string session [, int param ])
Set/get session timeout
string msession_uniq(int num_chars)
Get uniq id
int msession_unlock(string session, int key)
Unlock a session
# php-src/ext/msql/php_msql.c
int msql_affected_rows(resource query)
Return number of affected rows
bool msql_close([resource link_identifier])
Close an mSQL connection
int msql_connect([string hostname[:port]] [, string username] [, string password])
Open a connection to an mSQL Server
bool msql_create_db(string database_name [, resource link_identifier])
Create an mSQL database
bool msql_data_seek(resource query, int row_number)
Move internal result pointer
resource msql_db_query(string database_name, string query [, resource link_identifier])
Send an SQL query to mSQL
bool msql_drop_db(string database_name [, resource link_identifier])
Drop (delete) an mSQL database
string msql_error(void)
Returns the text of the error message from previous mSQL operation
array msql_fetch_array(resource query [, int result_type])
Fetch a result row as an associative array
object msql_fetch_field(resource query [, int field_offset])
Get column information from a result and return as an object
object msql_fetch_object(resource query [, resource result_type])
Fetch a result row as an object
array msql_fetch_row(resource query)
Get a result row as an enumerated array
string msql_field_flags(resource query, int field_offset)
Get the flags associated with the specified field in a result
int msql_field_len(int query, int field_offet)
Returns the length of the specified field
string msql_field_name(resource query, int field_index)
Get the name of the specified field in a result
bool msql_field_seek(resource query, int field_offset)
Set result pointer to a specific field offset
string msql_field_table(resource query, int field_offset)
Get name of the table the specified field is in
string msql_field_type(resource query, int field_offset)
Get the type of the specified field in a result
bool msql_free_result(resource query)
Free result memory
resource msql_list_dbs([resource link_identifier])
List databases available on an mSQL server
resource msql_list_fields(string database_name, string table_name [, resource link_identifier])
List mSQL result fields
resource msql_list_tables(string database_name [, resource link_identifier])
List tables in an mSQL database
int msql_num_fields(resource query)
Get number of fields in a result
int msql_num_rows(resource query)
Get number of rows in a result
int msql_pconnect([string hostname[:port]] [, string username] [, string password])
Open a persistent connection to an mSQL Server
resource msql_query(string query [, resource link_identifier])
Send an SQL query to mSQL
string msql_result(int query, int row [, mixed field])
Get result data
bool msql_select_db(string database_name [, resource link_identifier])
Select an mSQL database
# php-src/ext/mssql/php_mssql.c
bool mssql_bind(resource stmt, string param_name, mixed var, int type [, int is_output [, int is_null [, int maxlen]]])
Adds a parameter to a stored procedure or a remote stored procedure
bool mssql_close([resource conn_id])
Closes a connection to a MS-SQL server
int mssql_connect([string servername [, string username [, string password]]])
Establishes a connection to a MS-SQL server
bool mssql_data_seek(resource result_id, int offset)
Moves the internal row pointer of the MS-SQL result associated with the specified result identifier to pointer to the specified row number
mixed mssql_execute(resource stmt [, bool skip_results = false])
Executes a stored procedure on a MS-SQL server database
array mssql_fetch_array(resource result_id [, int result_type])
Returns an associative array of the current row in the result set specified by result_id
array mssql_fetch_assoc(resource result_id)
Returns an associative array of the current row in the result set specified by result_id
int mssql_fetch_batch(resource result_index)
Returns the next batch of records
object mssql_fetch_field(resource result_id [, int offset])
Gets information about certain fields in a query result
object mssql_fetch_object(resource result_id [, int result_type])
Returns a psuedo-object of the current row in the result set specified by result_id
array mssql_fetch_row(resource result_id)
Returns an array of the current row in the result set specified by result_id
int mssql_field_length(resource result_id [, int offset])
Get the length of a MS-SQL field
string mssql_field_name(resource result_id [, int offset])
Returns the name of the field given by offset in the result set given by result_id
bool mssql_field_seek(int result_id, int offset)
Seeks to the specified field offset
string mssql_field_type(resource result_id [, int offset])
Returns the type of a field
bool mssql_free_result(resource result_index)
Free a MS-SQL result index
bool mssql_free_statement(resource result_index)
Free a MS-SQL statement index
string mssql_get_last_message(void)
Gets the last message from the MS-SQL server
string mssql_guid_string(string binary [,int short_format])
Converts a 16 byte binary GUID to a string
int mssql_init(string sp_name [, resource conn_id])
Initializes a stored procedure or a remote stored procedure
void mssql_min_error_severity(int severity)
Sets the lower error severity
void mssql_min_message_severity(int severity)
Sets the lower message severity
bool mssql_next_result(resource result_id)
Move the internal result pointer to the next result
int mssql_num_fields(resource mssql_result_index)
Returns the number of fields fetched in from the result id specified
int mssql_num_rows(resource mssql_result_index)
Returns the number of rows fetched in from the result id specified
int mssql_pconnect([string servername [, string username [, string password]]])
Establishes a persistent connection to a MS-SQL server
resource mssql_query(string query [, resource conn_id [, int batch_size]])
Perform an SQL query on a MS-SQL server database
string mssql_result(resource result_id, int row, mixed field)
Returns the contents of one cell from a MS-SQL result set
int mssql_rows_affected(resource conn_id)
Returns the number of records affected by the query
bool mssql_select_db(string database_name [, resource conn_id])
Select a MS-SQL database
# php-src/ext/mysql/php_mysql.c
int mysql_affected_rows([int link_identifier])
Gets number of affected rows in previous MySQL operation
string mysql_client_encoding([int link_identifier])
Returns the default character set for the current connection
bool mysql_close([int link_identifier])
Close a MySQL connection
resource mysql_connect([string hostname[:port][:/path/to/socket] [, string username [, string password [, bool new [, int flags]]]]])
Opens a connection to a MySQL Server
bool mysql_create_db(string database_name [, int link_identifier])
Create a MySQL database
bool mysql_data_seek(resource result, int row_number)
Move internal result pointer
resource mysql_db_query(string database_name, string query [, int link_identifier])
Sends an SQL query to MySQL
bool mysql_drop_db(string database_name [, int link_identifier])
Drops (delete) a MySQL database
int mysql_errno([int link_identifier])
Returns the number of the error message from previous MySQL operation
string mysql_error([int link_identifier])
Returns the text of the error message from previous MySQL operation
string mysql_escape_string(string to_be_escaped)
Escape string for mysql query
array mysql_fetch_array(resource result [, int result_type])
Fetch a result row as an array (associative, numeric or both)
array mysql_fetch_assoc(resource result)
Fetch a result row as an associative array
object mysql_fetch_field(resource result [, int field_offset])
Gets column information from a result and return as an object
array mysql_fetch_lengths(resource result)
Gets max data size of each column in a result
object mysql_fetch_object(resource result [, string class_name [, NULL|array ctor_params]])
Fetch a result row as an object
array mysql_fetch_row(resource result)
Gets a result row as an enumerated array
string mysql_field_flags(resource result, int field_offset)
Gets the flags associated with the specified field in a result
int mysql_field_len(resource result, int field_offset)
Returns the length of the specified field
string mysql_field_name(resource result, int field_index)
Gets the name of the specified field in a result
bool mysql_field_seek(resource result, int field_offset)
Sets result pointer to a specific field offset
string mysql_field_table(resource result, int field_offset)
Gets name of the table the specified field is in
string mysql_field_type(resource result, int field_offset)
Gets the type of the specified field in a result
bool mysql_free_result(resource result)
Free result memory
string mysql_get_client_info(void)
Returns a string that represents the client library version
string mysql_get_host_info([int link_identifier])
Returns a string describing the type of connection in use, including the server host name
int mysql_get_proto_info([int link_identifier])
Returns the protocol version used by current connection
string mysql_get_server_info([int link_identifier])
Returns a string that represents the server version number
string mysql_info([int link_identifier])
Returns a string containing information about the most recent query
int mysql_insert_id([int link_identifier])
Gets the ID generated from the previous INSERT operation
resource mysql_list_dbs([int link_identifier])
List databases available on a MySQL server
resource mysql_list_fields(string database_name, string table_name [, int link_identifier])
List MySQL result fields
resource mysql_list_processes([int link_identifier])
Returns a result set describing the current server threads
resource mysql_list_tables(string database_name [, int link_identifier])
List tables in a MySQL database
int mysql_num_fields(resource result)
Gets number of fields in a result
int mysql_num_rows(resource result)
Gets number of rows in a result
resource mysql_pconnect([string hostname[:port][:/path/to/socket] [, string username [, string password [, int flags]]]])
Opens a persistent connection to a MySQL Server
bool mysql_ping([int link_identifier])
Ping a server connection. If no connection then reconnect.
resource mysql_query(string query [, int link_identifier])
Sends an SQL query to MySQL
string mysql_real_escape_string(string to_be_escaped [, int link_identifier])
Escape special characters in a string for use in a SQL statement, taking into account the current charset of the connection
mixed mysql_result(resource result, int row [, mixed field])
Gets result data
bool mysql_select_db(string database_name [, int link_identifier])
Selects a MySQL database
string mysql_stat([int link_identifier])
Returns a string containing status information
int mysql_thread_id([int link_identifier])
Returns the thread id of current connection
resource mysql_unbuffered_query(string query [, int link_identifier])
Sends an SQL query to MySQL, without fetching and buffering the result rows
# php-src/ext/mysqli/mysqli_api.c
mysqli_set_local_infile_default(object link)
unsets user defined handler for load local infile command
mixed mysqli_affected_rows(object link)
Get number of affected rows in previous MySQL operation
bool mysqli_autocommit(object link, bool mode)
Turn auto commit on or of
bool mysqli_change_user(object link, string user, string password, string database)
Change logged-in user of the active connection
string mysqli_character_set_name(object link)
Returns the name of the character set used for this connection
bool mysqli_close(object link)
Close connection
bool mysqli_commit(object link)
Commit outstanding actions and close transaction
bool mysqli_data_seek(object result, int offset)
Move internal result pointer
void mysqli_debug(string debug)
bool mysqli_dump_debug_info(object link)
int mysqli_errno(object link)
Returns the numerical value of the error message from previous MySQL operation
string mysqli_error(object link)
Returns the text of the error message from previous MySQL operation
mixed mysqli_fetch_field (object result)
Get column information from a result and return as an object
mixed mysqli_fetch_field_direct (object result, int offset)
Fetch meta-data for a single field
mixed mysqli_fetch_fields (object result)
Return array of objects containing field meta-data
mixed mysqli_fetch_lengths (object result)
Get the length of each output in a result
array mysqli_fetch_row (object result)
Get a result row as an enumerated array
int mysqli_field_count(object link)
Fetch the number of fields returned by the last query for the given link
int mysqli_field_seek(object result, int fieldnr)
Set result pointer to a specified field offset
int mysqli_field_tell(object result)
Get current field offset of result pointer
void mysqli_free_result(object result)
Free query result memory for the given result handle
string mysqli_get_client_info(void)
Get MySQL client info
int mysqli_get_client_version(void)
Get MySQL client info
string mysqli_get_host_info (object link)
Get MySQL host info
int mysqli_get_proto_info(object link)
Get MySQL protocol information
string mysqli_get_server_info(object link)
Get MySQL server info
int mysqli_get_server_version(object link)
Return the MySQL version for the server referenced by the given link
string mysqli_info(object link)
Get information about the most recent query
resource mysqli_init(void)
Initialize mysqli and return a resource for use with mysql_real_connect
mixed mysqli_insert_id(object link)
Get the ID generated from the previous INSERT operation
bool mysqli_kill(object link, int processid)
Kill a mysql process on the server
bool mysqli_more_results(object link)
check if there any more query results from a multi query
bool mysqli_next_result(object link)
read next result from multi_query
int mysqli_num_fields(object result)
Get number of fields in result
mixed mysqli_num_rows(object result)
Get number of rows in result
bool mysqli_options(object link, int flags, mixed values)
Set options
bool mysqli_ping(object link)
Ping a server connection or reconnect if there is no connection
mixed mysqli_prepare(object link, string query)
Prepare a SQL statement for execution
bool mysqli_real_connect(object link [,string hostname [,string username [,string passwd [,string dbname [,int port [,string socket [,int flags]]]]]]])
Open a connection to a mysql server
string mysqli_real_escape_string(object link, string escapestr)
Escapes special characters in a string for use in a SQL statement, taking into account the current charset of the connection
bool mysqli_real_query(object link, string query)
Binary-safe version of mysql_query()
bool mysqli_rollback(object link)
Undo actions from current transaction
string mysqli_select_db(object link, string dbname)
Select a MySQL database
bool mysqli_send_long_data(object stmt, int param_nr, string data)
void mysqli_server_end(void)
bool mysqli_server_init(void)
initialize embedded server
bool mysqli_set_local_infile_handler(object link, callback read_func)
Set callback functions for LOAD DATA LOCAL INFILE
string mysqli_sqlstate(object link)
Returns the SQLSTATE error from previous MySQL operation
bool mysqli_ssl_set(object link ,string key ,string cert ,string ca ,string capath ,string cipher])
mixed mysqli_stat(object link)
Get current system status
mixed mysqli_stmt_affected_rows(object stmt)
Return the number of rows affected in the last query for the given link
int mysqli_stmt_attr_get(object stmt, long attr)
int mysqli_stmt_attr_set(object stmt, long attr, bool mode)
bool mysqli_stmt_bind_param(object stmt, string types, mixed variable [,mixed,....])
Bind variables to a prepared statement as parameters
bool mysqli_stmt_bind_result(object stmt, mixed var, [,mixed, ...])
Bind variables to a prepared statement for result storage
bool mysqli_stmt_close(object stmt)
Close statement
void mysqli_stmt_data_seek(object stmt, int offset)
Move internal result pointer
int mysqli_stmt_errno(object stmt)
string mysqli_stmt_error(object stmt)
bool mysqli_stmt_execute(object stmt)
Execute a prepared statement
mixed mysqli_stmt_fetch(object stmt)
Fetch results from a prepared statement into the bound variables
int mysqli_stmt_field_count(object stmt) {
Return the number of result columns for the given statement
void mysqli_stmt_free_result(object stmt)
Free stored result memory for the given statement handle
mixed mysqli_stmt_init(object link)
Initialize statement object
mixed mysqli_stmt_insert_id(object stmt)
Get the ID generated from the previous INSERT operation
mixed mysqli_stmt_num_rows(object stmt)
Return the number of rows in statements result set
int mysqli_stmt_param_count(object stmt) {
Return the number of parameter for the given statement
bool mysqli_stmt_prepare(object stmt, string query)
prepare server side statement with query
bool mysqli_stmt_reset(object stmt)
reset a prepared statement
mixed mysqli_stmt_result_metadata(object stmt)
return result set from statement
string mysqli_stmt_sqlstate(object stmt)
bool mysqli_stmt_store_result(stmt)
object mysqli_store_result(object link)
Buffer result set on client
int mysqli_thread_id(object link)
Return the current thread ID
bool mysqli_thread_safe(void)
Return whether thread safety is given or not
mixed mysqli_use_result(object link)
Directly retrieve query results - do not buffer results on client side
int mysqli_warning_count (object link)
Return number of warnings from the last query for the given link
# php-src/ext/mysqli/mysqli_nonapi.c
object mysqli_connect([string hostname [,string username [,string passwd [,string dbname [,int port [,string socket]]]]]])
Open a connection to a mysql server
int mysqli_connect_errno(void)
Returns the numerical value of the error message from last connect command
string mysqli_connect_error(void)
Returns the text of the error message from previous MySQL operation
object mysqli_embedded_connect(void)
Open a connection to a embedded mysql server
mixed mysqli_fetch_array (object result [,int resulttype])
Fetch a result row as an associative array, a numeric array, or both
mixed mysqli_fetch_assoc (object result)
Fetch a result row as an associative array
mixed mysqli_fetch_object (object result [, string class_name [, NULL|array ctor_params]])
Fetch a result row as an object
bool mysqli_multi_query(object link, string query)
Binary-safe version of mysql_query()
mixed mysqli_query(object link, string query [,int resultmode])
# php-src/ext/mysqli/mysqli_repl.c
void mysqli_disable_reads_from_master(object link)
void mysqli_disable_rpl_parse(object link)
void mysqli_enable_reads_from_master(object link)
void mysqli_enable_rpl_parse(object link)
bool mysqli_master_query(object link, string query)
Enforce execution of a query on the master in a master/slave setup
int mysqli_rpl_parse_enabled(object link)
bool mysqli_rpl_probe(object link)
int mysqli_rpl_query_type(string query)
bool mysqli_send_query(object link, string query)
bool mysqli_slave_query(object link, string query)
Enforce execution of a query on a slave in a master/slave setup
# php-src/ext/ncurses/ncurses_functions.c
int ncurses_addch(int ch)
Adds character at current position and advance cursor
int ncurses_addchnstr(string s, int n)
Adds attributed string with specified length at current position
int ncurses_addchstr(string s)
Adds attributed string at current position
int ncurses_addnstr(string s, int n)
Adds string with specified length at current position
int ncurses_addstr(string text)
Outputs text at current position
int ncurses_assume_default_colors(int fg, int bg)
Defines default colors for color 0
int ncurses_attroff(int attributes)
Turns off the given attributes
int ncurses_attron(int attributes)
Turns on the given attributes
int ncurses_attrset(int attributes)
Sets given attributes
int ncurses_baudrate(void)
Returns baudrate of terminal
int ncurses_beep(void)
Let the terminal beep
int ncurses_bkgd(int attrchar)
Sets background property for terminal screen
void ncurses_bkgdset(int attrchar)
Controls screen background
int ncurses_border(int left, int right, int top, int bottom, int tl_corner, int tr_corner, int bl_corner, int br_corner)
Draws a border around the screen using attributed characters
int ncurses_bottom_panel(resource panel)
Moves a visible panel to the bottom of the stack
bool ncurses_can_change_color(void)
Checks if we can change terminals colors
bool ncurses_cbreak(void)
Switches of input buffering
bool ncurses_clear(void)
Clears screen
bool ncurses_clrtobot(void)
Clears screen from current position to bottom
bool ncurses_clrtoeol(void)
Clears screen from current position to end of line
int ncurses_color_content(int color, int &r, int &g, int &b)
Gets the RGB value for color
int ncurses_color_set(int pair)
Sets fore- and background color
int ncurses_curs_set(int visibility)
Sets cursor state
int ncurses_def_prog_mode(void)
Saves terminals (program) mode
int ncurses_def_shell_mode(void)
Saves terminal (shell) mode
int ncurses_define_key(string definition, int keycode)
Defines a keycode
bool ncurses_del_panel(resource panel)
Remove panel from the stack and delete it (but not the associated window)
int ncurses_delay_output(int milliseconds)
Delays output on terminal using padding characters
int ncurses_delch(void)
Deletes character at current position, move rest of line left
int ncurses_deleteln(void)
Deletes line at current position, move rest of screen up
int ncurses_delwin(resource window)
Deletes a ncurses window
int ncurses_doupdate(void)
Writes all prepared refreshes to terminal
int ncurses_echo(void)
Activates keyboard input echo
int ncurses_echochar(int character)
Single character output including refresh
int ncurses_end(void)
Stops using ncurses, clean up the screen
int ncurses_erase(void)
Erases terminal screen
string ncurses_erasechar(void)
Returns current erase character
void ncurses_filter(void)
int ncurses_flash(void)
Flashes terminal screen (visual bell)
int ncurses_flushinp(void)
Flushes keyboard input buffer
int ncurses_getch(void)
Reads a character from keyboard
void ncurses_getmaxyx(resource window, int &y, int &x)
Returns the size of a window
bool ncurses_getmouse(array &mevent)
Reads mouse event from queue. The content of mevent is cleared before new data is added.
void ncurses_getyx(resource window, int &y, int &x)
Returns the current cursor position for a window
int ncurses_halfdelay(int tenth)
Puts terminal into halfdelay mode
bool ncurses_has_colors(void)
Checks if terminal has colors
int ncurses_has_ic(void)
Checks for insert- and delete-capabilities
int ncurses_has_il(void)
Checks for line insert- and delete-capabilities
int ncurses_has_key(int keycode)
Checks for presence of a function key on terminal keyboard
int ncurses_hide_panel(resource panel)
Remove panel from the stack, making it invisible
int ncurses_hline(int charattr, int n)
Draws a horizontal line at current position using an attributed character and max. n characters long
string ncurses_inch(void)
Gets character and attribute at current position
int ncurses_init(void)
Initializes ncurses
int ncurses_init_color(int color, int r, int g, int b)
Sets new RGB value for color
int ncurses_init_pair(int pair, int fg, int bg)
Allocates a color pair
int ncurses_insch(int character)
Inserts character moving rest of line including character at current position
int ncurses_insdelln(int count)
Inserts lines before current line scrolling down (negative numbers delete and scroll up)
int ncurses_insertln(void)
Inserts a line, move rest of screen down
int ncurses_insstr(string text)
Inserts string at current position, moving rest of line right
int ncurses_instr(string &buffer)
Reads string from terminal screen
int ncurses_isendwin(void)
Ncurses is in endwin mode, normal screen output may be performed
int ncurses_keyok(int keycode, int enable)
Enables or disable a keycode
int ncurses_keypad(resource window, bool bf)
Turns keypad on or off
string ncurses_killchar(void)
Returns current line kill character
string ncurses_longname(void)
Returns terminal description
int ncurses_meta(resource window, bool 8bit)
Enables/Disable 8-bit meta key information
bool ncurses_mouse_trafo(int &y, int &x, bool toscreen)
Transforms coordinates
int ncurses_mouseinterval(int milliseconds)
Sets timeout for mouse button clicks
int ncurses_mousemask(int newmask, int &oldmask)
Returns and sets mouse options
int ncurses_move(int y, int x)
Moves output position
int ncurses_move_panel(resource panel, int startx, int starty)
Moves a panel so that it's upper-left corner is at [startx, starty]
int ncurses_mvaddch(int y, int x, int c)
Moves current position and add character
int ncurses_mvaddchnstr(int y, int x, string s, int n)
Moves position and add attrributed string with specified length
int ncurses_mvaddchstr(int y, int x, string s)
Moves position and add attributed string
int ncurses_mvaddnstr(int y, int x, string s, int n)
Moves position and add string with specified length
int ncurses_mvaddstr(int y, int x, string s)
Moves position and add string
int ncurses_mvcur(int old_y,int old_x, int new_y, int new_x)
Moves cursor immediately
int ncurses_mvdelch(int y, int x)
Moves position and delete character, shift rest of line left
int ncurses_mvgetch(int y, int x)
Moves position and get character at new position
int ncurses_mvhline(int y, int x, int attrchar, int n)
Sets new position and draw a horizontal line using an attributed character and max. n characters long
int ncurses_mvinch(int y, int x)
Moves position and get attributed character at new position
int ncurses_mvvline(int y, int x, int attrchar, int n)
Sets new position and draw a vertical line using an attributed character and max. n characters long
int ncurses_mvwaddstr(resource window, int y, int x, string text)
Adds string at new position in window
int ncurses_napms(int milliseconds)
Sleep
resource ncurses_new_panel(resource window)
Create a new panel and associate it with window
resource ncurses_newpad(int rows, int cols)
Creates a new pad (window)
int ncurses_newwin(int rows, int cols, int y, int x)
Creates a new window
int ncurses_nl(void)
Translates newline and carriage return / line feed
int ncurses_nocbreak(void)
Switches terminal to cooked mode
int ncurses_noecho(void)
Switches off keyboard input echo
int ncurses_nonl(void)
Do not ranslate newline and carriage return / line feed
int ncurses_noqiflush(void)
Do not flush on signal characters
bool ncurses_noraw(void)
Switches terminal out of raw mode
int ncurses_pair_content(int pair, int &f, int &b)
Gets the RGB value for color
resource ncurses_panel_above(resource panel)
Returns the panel above panel. If panel is null, returns the bottom panel in the stack
resource ncurses_panel_below(resource panel)
Returns the panel below panel. If panel is null, returns the top panel in the stack
resource ncurses_panel_window(resource panel)
Returns the window associated with panel
int ncurses_pnoutrefresh(resource pad, int pminrow, int pmincol, int sminrow, int smincol, int smaxrow, int smaxcol)
Copys a region from a pad into the virtual screen
int ncurses_prefresh(resource pad, int pminrow, int pmincol, int sminrow, int smincol, int smaxrow, int smaxcol)
Copys a region from a pad into the virtual screen
int ncurses_putp(string text)
???
void ncurses_qiflush(void)
Flushes on signal characters
int ncurses_raw(void)
Switches terminal into raw mode
int ncurses_refresh(int ch)
Refresh screen
int ncurses_replace_panel(resource panel, resource window)
Replaces the window associated with panel
int ncurses_reset_prog_mode(void)
Resets the prog mode saved by def_prog_mode
int ncurses_reset_shell_mode(void)
Resets the shell mode saved by def_shell_mode
int ncurses_resetty(void)
Restores saved terminal state
int ncurses_savetty(void)
Saves terminal state
int ncurses_scr_dump(string filename)
Dumps screen content to file
int ncurses_scr_init(string filename)
Initializes screen from file dump
int ncurses_scr_restore(string filename)
Restores screen from file dump
int ncurses_scr_set(string filename)
Inherits screen from file dump
int ncurses_scrl(int count)
Scrolls window content up or down without changing current position
int ncurses_show_panel(resource panel)
Places an invisible panel on top of the stack, making it visible
int ncurses_slk_attr(void)
Returns current soft label keys attribute
int ncurses_slk_attroff(int intarg)
???
int ncurses_slk_attron(int intarg)
???
int ncurses_slk_attrset(int intarg)
???
int ncurses_slk_clear(void)
Clears soft label keys from screen
int ncurses_slk_color(int intarg)
Sets color for soft label keys
int ncurses_slk_init(int intarg)
Inits soft label keys
int ncurses_slk_noutrefresh(void)
Copies soft label keys to virtual screen
int ncurses_slk_refresh(void)
Copies soft label keys to screen
int ncurses_slk_restore(void)
Restores soft label keys
bool ncurses_slk_set(int labelnr, string label, int format)
Sets function key labels
int ncurses_slk_touch(void)
Forces output when ncurses_slk_noutrefresh is performed
int ncurses_standend(void)
Stops using 'standout' attribute
int ncurses_standout(void)
Starts using 'standout' attribute
int ncurses_start_color(void)
Starts using colors
int ncurses_termattrs(void)
Returns a logical OR of all attribute flags supported by terminal
string ncurses_termname(void)
Returns terminal name
void ncurses_timeout(int millisec)
Sets timeout for special key sequences
int ncurses_top_panel(resource panel)
Moves a visible panel to the top of the stack
int ncurses_typeahead(int fd)
Specifys different filedescriptor for typeahead checking
int ncurses_ungetch(int keycode)
Puts a character back into the input stream
int ncurses_ungetmouse(array mevent)
Pushes mouse event to queue
void ncurses_update_panels(void)
Refreshes the virtual screen to reflect the relations between panels in the stack.
int ncurses_use_default_colors(void)
Assigns terminal default colors to color id -1
void ncurses_use_env(int flag)
Controls use of environment information about terminal size
int ncurses_use_extended_names(bool flag)
Controls use of extended names in terminfo descriptions
int ncurses_vidattr(int intarg)
???
int ncurses_vline(int charattr, int n)
Draws a vertical line at current position using an attributed character and max. n characters long
int ncurses_waddch(resource window, int ch)
Adds character at current position in a window and advance cursor
int ncurses_waddstr(resource window, string str [, int n])
Outputs text at current postion in window
int ncurses_wattroff(resource window, int attrs)
Turns off attributes for a window
int ncurses_wattron(resource window, int attrs)
Turns on attributes for a window
int ncurses_wattrset(resource window, int attrs)
Set the attributes for a window
int ncurses_wborder(resource window, int left, int right, int top, int bottom, int tl_corner, int tr_corner, int bl_corner, int br_corner)
Draws a border around the window using attributed characters
int ncurses_wclear(resource window)
Clears window
int ncurses_wcolor_set(resource window, int color_pair)
Sets windows color pairings
int ncurses_werase(resource window)
Erase window contents
int ncurses_wgetch(resource window)
Reads a character from keyboard (window)
int ncurses_whline(resource window, int charattr, int n)
Draws a horizontal line in a window at current position using an attributed character and max. n characters long
bool ncurses_wmouse_trafo(resource window, int &y, int &x, bool toscreen)
Transforms window/stdscr coordinates
int ncurses_wmove(resource window, int y, int x)
Moves windows output position
int ncurses_wnoutrefresh(resource window)
Copies window to virtual screen
int ncurses_wrefresh(resource window)
Refreshes window on terminal screen
int ncurses_wstandend(resource window)
End standout mode for a window
int ncurses_wstandout(resource window)
Enter standout mode for a window
int ncurses_wvline(resource window, int charattr, int n)
Draws a vertical line in a window at current position using an attributed character and max. n characters long
# php-src/ext/oci8/oci8.c
bool oci_bind_by_name(resource stmt, string name, mixed &var, [, int maxlength [, int type]])
Bind a PHP variable to an Oracle placeholder by name
bool oci_cancel(resource stmt)
Cancel reading from a cursor
bool oci_close(resource conn)
Disconnect from database
bool oci_collection_append(string value)
Append an object to the collection
bool oci_collection_assign(object from)
Assign a collection from another existing collection
bool oci_collection_element_assign(int index, string val)
Assign element val to collection at index ndx
string oci_collection_element_get(int ndx)
Retrieve the value at collection index ndx
int oci_collection_max()
Return the max value of a collection. For a varray this is the maximum length of the array
int oci_collection_size()
Return the size of a collection
bool oci_collection_trim(int num)
Trim num elements from the end of a collection
bool oci_commit(resource conn)
Commit the current context
resource oci_connect(string user, string pass [, string db])
Connect to an Oracle database and log on. Returns a new session.
bool oci_define_by_name(resource stmt, string name, mixed &var [, int type])
Define a PHP variable to an Oracle column by name
array oci_error([resource stmt|conn|global])
Return the last error of stmt|conn|global. If no error happened returns false.
bool oci_execute(resource stmt [, int mode])
Execute a parsed statement
bool oci_fetch(resource stmt)
Prepare a new row of data for reading
int oci_fetch_all(resource stmt, array &output[, int skip[, int maxrows[, int flags]]])
Fetch all rows of result data into an array
array oci_fetch_array( resource stmt [, int mode ])
Fetch a result row as an array
array oci_fetch_assoc( resource stmt )
Fetch a result row as an associative array
object oci_fetch_object( resource stmt )
Fetch a result row as an object
array oci_fetch_row( resource stmt )
Fetch a result row as an enumerated array
bool oci_field_is_null(resource stmt, int col)
Tell whether a column is NULL
string oci_field_name(resource stmt, int col)
Tell the name of a column
int oci_field_precision(resource stmt, int col)
Tell the precision of a column
int oci_field_scale(resource stmt, int col)
Tell the scale of a column
int oci_field_size(resource stmt, int col)
Tell the maximum data size of a column
mixed oci_field_type(resource stmt, int col)
Tell the data type of a column
int oci_field_type_raw(resource stmt, int col)
Tell the raw oracle data type of a column
bool oci_free_collection()
Deletes collection object
bool oci_free_descriptor()
Deletes large object description
bool oci_free_statement(resource stmt)
Free all resources associated with a statement
void oci_internal_debug(int onoff)
Toggle internal debugging output for the OCI extension
bool oci_lob_append( object lob )
Appends data from a LOB to another LOB
bool oci_lob_close()
Closes lob descriptor
bool oci_lob_copy( object lob_to, object lob_from [, int length ] )
Copies data from a LOB to another LOB
bool oci_lob_eof()
Checks if EOF is reached
int oci_lob_erase( [ int offset [, int length ] ] )
Erases a specified portion of the internal LOB, starting at a specified offset
bool oci_lob_export([string filename [, int start [, int length]]])
Writes a large object into a file
bool oci_lob_flush( [ int flag ] )
Flushes the LOB buffer
bool oci_lob_import( string filename )
Saves a large object to file
bool oci_lob_is_equal( object lob1, object lob2 )
Tests to see if two LOB/FILE locators are equal
string oci_lob_load()
Loads a large object
string oci_lob_read( int length )
Reads particular part of a large object
bool oci_lob_rewind()
Rewind pointer of a LOB
bool oci_lob_save( string data [, int offset ])
Saves a large object
bool oci_lob_seek( int offset [, int whence ])
Moves the pointer of a LOB
int oci_lob_size()
Returns size of a large object
int oci_lob_tell()
Tells LOB pointer position
bool oci_lob_truncate( [ int length ])
Truncates a LOB
int oci_lob_write( string string [, int length ])
Writes data to current position of a LOB
bool oci_lob_write_temporary(string var [, int lob_type])
Writes temporary blob
object oci_new_collection(resource connection, string tdo [, string schema])
Initialize a new collection
resource oci_new_connect(string user, string pass [, string db])
Connect to an Oracle database and log on. Returns a new session.
resource oci_new_cursor(resource conn)
Return a new cursor (Statement-Handle) - use this to bind ref-cursors!
object oci_new_descriptor(resource connection [, int type])
Initialize a new empty descriptor LOB/FILE (LOB is default)
int oci_num_fields(resource stmt)
Return the number of result columns in a statement
int oci_num_rows(resource stmt)
Return the row count of an OCI statement
resource oci_parse(resource conn, string query)
Parse a query and return a statement
bool oci_password_change(resource conn, string username, string old_password, string new_password)
Changes the password of an account
resource oci_pconnect(string user, string pass [, string db])
Connect to an Oracle database using a persistent connection and log on. Returns a new session.
string oci_result(resource stmt, mixed column)
Return a single column of result data
bool oci_rollback(resource conn)
Rollback the current context
string oci_server_version(resource conn)
Return a string containing server version information
bool oci_set_prefetch(resource stmt, int prefetch_rows)
Sets the number of rows to be prefetched on execute to prefetch_rows for stmt
string oci_statement_type(resource stmt)
Return the query type of an OCI statement
int ocifetchinto(resource stmt, array &output [, int mode])
Fetch a row of result data into an array
bool ocigetbufferinglob()
Returns current state of buffering for a LOB
bool ocisetbufferinglob( boolean flag )
Enables/disables buffering for a LOB
# php-src/ext/odbc/birdstep.c
bool birdstep_autocommit(int index)
bool birdstep_close(int id)
bool birdstep_commit(int index)
int birdstep_connect(string server, string user, string pass)
int birdstep_exec(int index, string exec_str)
bool birdstep_fetch(int index)
string birdstep_fieldname(int index, int col)
int birdstep_fieldnum(int index)
bool birdstep_freeresult(int index)
bool birdstep_off_autocommit(int index)
mixed birdstep_result(int index, int col)
bool birdstep_rollback(int index)
# php-src/ext/odbc/php_odbc.c
mixed odbc_autocommit(resource connection_id [, int OnOff])
Toggle autocommit mode or get status
bool odbc_binmode(int result_id, int mode)
Handle binary column data
void odbc_close(resource connection_id)
Close an ODBC connection
void odbc_close_all(void)
Close all ODBC connections
resource odbc_columnprivileges(resource connection_id, string catalog, string schema, string table, string column)
Returns a result identifier that can be used to fetch a list of columns and associated privileges for the specified table
resource odbc_columns(resource connection_id, string qualifier, string owner, string table_name, string column_name)
Returns a result identifier that can be used to fetch a list of column names in specified tables
bool odbc_commit(resource connection_id)
Commit an ODBC transaction
resource odbc_connect(string DSN, string user, string password [, int cursor_option])
Connect to a datasource
string odbc_cursor(resource result_id)
Get cursor name
array odbc_data_source(resource connection_id, int fetch_type)
Return information about the currently connected data source
string odbc_error([resource connection_id])
Get the last error code
string odbc_errormsg([resource connection_id])
Get the last error message
resource odbc_exec(resource connection_id, string query [, int flags])
Prepare and execute an SQL statement
bool odbc_execute(resource result_id [, array parameters_array])
Execute a prepared statement
array odbc_fetch_array(int result [, int rownumber])
Fetch a result row as an associative array
int odbc_fetch_into(resource result_id, array result_array, [, int rownumber])
Fetch one result row into an array
object odbc_fetch_object(int result [, int rownumber])
Fetch a result row as an object
bool odbc_fetch_row(resource result_id [, int row_number])
Fetch a row
int odbc_field_len(resource result_id, int field_number)
Get the length (precision) of a column
string odbc_field_name(resource result_id, int field_number)
Get a column name
int odbc_field_num(resource result_id, string field_name)
Return column number
int odbc_field_scale(resource result_id, int field_number)
Get the scale of a column
string odbc_field_type(resource result_id, int field_number)
Get the datatype of a column
resource odbc_foreignkeys(resource connection_id, string pk_qualifier, string pk_owner, string pk_table, string fk_qualifier, string fk_owner, string fk_table)
Returns a result identifier to either a list of foreign keys in the specified table or a list of foreign keys in other tables that refer to the primary key in the specified table
bool odbc_free_result(resource result_id)
Free resources associated with a result
resource odbc_gettypeinfo(resource connection_id [, int data_type])
Returns a result identifier containing information about data types supported by the data source
bool odbc_longreadlen(int result_id, int length)
Handle LONG columns
bool odbc_next_result(resource result_id)
Checks if multiple results are avaiable
int odbc_num_fields(resource result_id)
Get number of columns in a result
int odbc_num_rows(resource result_id)
Get number of rows in a result
resource odbc_pconnect(string DSN, string user, string password [, int cursor_option])
Establish a persistent connection to a datasource
resource odbc_prepare(resource connection_id, string query)
Prepares a statement for execution
resource odbc_primarykeys(resource connection_id, string qualifier, string owner, string table)
Returns a result identifier listing the column names that comprise the primary key for a table
resource odbc_procedurecolumns(resource connection_id [, string qualifier, string owner, string proc, string column])
Returns a result identifier containing the list of input and output parameters, as well as the columns that make up the result set for the specified procedures
resource odbc_procedures(resource connection_id [, string qualifier, string owner, string name])
Returns a result identifier containg the list of procedure names in a datasource
mixed odbc_result(resource result_id, mixed field)
Get result data
int odbc_result_all(resource result_id [, string format])
Print result as HTML table
bool odbc_rollback(resource connection_id)
Rollback a transaction
bool odbc_setoption(resource conn_id|result_id, int which, int option, int value)
Sets connection or statement options
resource odbc_specialcolumns(resource connection_id, int type, string qualifier, string owner, string table, int scope, int nullable)
Returns a result identifier containing either the optimal set of columns that uniquely identifies a row in the table or columns that are automatically updated when any value in the row is updated by a transaction
resource odbc_statistics(resource connection_id, string qualifier, string owner, string name, int unique, int accuracy)
Returns a result identifier that contains statistics about a single table and the indexes associated with the table
resource odbc_tableprivileges(resource connection_id, string qualifier, string owner, string name)
Returns a result identifier containing a list of tables and the privileges associated with each table
resource odbc_tables(resource connection_id [, string qualifier, string owner, string name, string table_types])
Call the SQLTables function
bool solid_fetch_prev(resource result_id)
# php-src/ext/openssl/openssl.c
bool openssl_csr_export(resource csr, string &out [, bool notext=true])
Exports a CSR to file or a var
bool openssl_csr_export_to_file(resource csr, string outfilename [, bool notext=true])
Exports a CSR to file
bool openssl_csr_new(array dn, resource &privkey [, array configargs, array extraattribs])
Generates a privkey and CSR
resource openssl_csr_sign(mixed csr, mixed x509, mixed priv_key, long days [, array config_args [, long serial]])
Signs a cert with another CERT
mixed openssl_error_string(void)
Returns a description of the last error, and alters the index of the error messages. Returns false when the are no more messages
bool openssl_open(string data, &string opendata, string ekey, mixed privkey)
Opens data
bool openssl_pkcs7_decrypt(string infilename, string outfilename, mixed recipcert [, mixed recipkey])
Decrypts the S/MIME message in the file name infilename and output the results to the file name outfilename. recipcert is a CERT for one of the recipients. recipkey specifies the private key matching recipcert, if recipcert does not include the key
bool openssl_pkcs7_encrypt(string infile, string outfile, mixed recipcerts, array headers [, long flags [, long cipher]])
Encrypts the message in the file named infile with the certificates in recipcerts and output the result to the file named outfile
bool openssl_pkcs7_sign(string infile, string outfile, mixed signcert, mixed signkey, array headers [, long flags [, string extracertsfilename]])
Signs the MIME message in the file named infile with signcert/signkey and output the result to file name outfile. headers lists plain text headers to exclude from the signed portion of the message, and should include to, from and subject as a minimum
bool openssl_pkcs7_verify(string filename, long flags [, string signerscerts [, array cainfo [, string extracerts]]])
Verifys that the data block is intact, the signer is who they say they are, and returns the CERTs of the signers
bool openssl_pkey_export(mixed key, &mixed out [, string passphrase [, array config_args]])
Gets an exportable representation of a key into a string or file
bool openssl_pkey_export_to_file(mixed key, string outfilename [, string passphrase, array config_args)
Gets an exportable representation of a key into a file
void openssl_pkey_free(int key)
Frees a key
int openssl_pkey_get_private(string key [, string passphrase])
Gets private keys
int openssl_pkey_get_public(mixed cert)
Gets public key from X.509 certificate
resource openssl_pkey_new([array configargs])
Generates a new private key
bool openssl_private_decrypt(string data, string decrypted, mixed key [, int padding])
Decrypts data with private key
bool openssl_private_encrypt(string data, string crypted, mixed key [, int padding])
Encrypts data with private key
bool openssl_public_decrypt(string data, string crypted, resource key [, int padding])
Decrypts data with public key
bool openssl_public_encrypt(string data, string crypted, mixed key [, int padding])
Encrypts data with public key
int openssl_seal(string data, &string sealdata, &array ekeys, array pubkeys)
Seals data
bool openssl_sign(string data, &string signature, mixed key)
Signs data
int openssl_verify(string data, string signature, mixed key)
Verifys data
bool openssl_x509_check_private_key(mixed cert, mixed key)
Checks if a private key corresponds to a CERT
int openssl_x509_checkpurpose(mixed x509cert, int purpose, array cainfo [, string untrustedfile])
Checks the CERT to see if it can be used for the purpose in purpose. cainfo holds information about trusted CAs
bool openssl_x509_export(mixed x509, string &out [, bool notext = true])
Exports a CERT to file or a var
bool openssl_x509_export_to_file(mixed x509, string outfilename [, bool notext = true])
Exports a CERT to file or a var
void openssl_x509_free(resource x509)
Frees X.509 certificates
array openssl_x509_parse(mixed x509 [, bool shortnames=true])
Returns an array of the fields/values of the CERT
resource openssl_x509_read(mixed cert)
Reads X.509 certificates
# php-src/ext/oracle/oracle.c
bool ora_bind(resource cursor, string php_variable_name, string sql_parameter_name, int length [, int type])
Bind a PHP variable to an Oracle parameter
bool ora_close(resource cursor)
Close an Oracle cursor
string ora_columnname(resource cursor, int column)
Get the name of an Oracle result column
int ora_columnsize(int cursor, int column)
Return the size of the column
string ora_columntype(resource cursor, int column)
Get the type of an Oracle result column
bool ora_commit(resource connection)
Commit an Oracle transaction
bool ora_commitoff(resource connection)
Disable automatic commit
bool ora_commiton(resource connection)
Enable automatic commit
resource ora_do(resource connection, resource cursor)
Parse and execute a statement and fetch first result row
string ora_error(resource cursor_or_connection)
Get an Oracle error message
int ora_errorcode(resource cursor_or_connection)
Get an Oracle error code
bool ora_exec(resource cursor)
Execute a parsed statement
bool ora_fetch(resource cursor)
Fetch a row of result data from a cursor
int ora_fetch_into(resource cursor, array result [, int flags])
Fetch a row into the specified result array
mixed ora_getcolumn(resource cursor, int column)
Get data from a fetched row
bool ora_logoff(resource connection)
Close an Oracle connection
resource ora_logon(string user, string password)
Open an Oracle connection
int ora_numcols(resource cursor)
Returns the numbers of columns in a result
int ora_numrows(resource cursor)
Returns the number of rows in a result
resource ora_open(resource connection)
Open an Oracle cursor
bool ora_parse(resource cursor, string sql_statement [, int defer])
Parse an Oracle SQL statement
resource ora_plogon(string user, string password)
Open a persistent Oracle connection
bool ora_rollback(resource connection)
Roll back an Oracle transaction
# php-src/ext/ovrimos/ovrimos.c
int ovrimos_autocommit(int connection_id, int OnOff)
Toggle autocommit mode There can be problems with pconnections!
void ovrimos_close(int connection)
Close a connection
bool ovrimos_commit(int connection_id)
Commit an ovrimos transaction
int ovrimos_connect(string host, string db, string user, string password)
Connect to an Ovrimos database
string ovrimos_cursor(int result_id)
Get cursor name
int ovrimos_exec(int connection_id, string query)
Prepare and execute an SQL statement
bool ovrimos_execute(int result_id [, array parameters_array])
Execute a prepared statement
bool ovrimos_fetch_into(int result_id, array result_array [, string how [, int rownumber]])
Fetch one result row into an array how: 'Next' (default), 'Prev', 'First', 'Last', 'Absolute'
bool ovrimos_fetch_row(int result_id [, int how [, int row_number]])
how: 'Next' (default), 'Prev', 'First', 'Last', 'Absolute' Fetch a row
int ovrimos_field_len(int result_id, int field_number)
Get the length of a column
string ovrimos_field_name(int result_id, int field_number)
Get a column name
int ovrimos_field_num(int result_id, string field_name)
Return column number
int ovrimos_field_type(int result_id, int field_number)
Get the datatype of a column
bool ovrimos_free_result(int result_id)
Free resources associated with a result
bool ovrimos_longreadlen(int result_id, int length)
Handle LONG columns
int ovrimos_num_fields(int result_id)
Get number of columns in a result
int ovrimos_num_rows(int result_id)
Get number of rows in a result
int ovrimos_prepare(int connection_id, string query)
Prepares a statement for execution
string ovrimos_result(int result_id, mixed field)
Get result data
int ovrimos_result_all(int result_id [, string format])
Print result as HTML table
bool ovrimos_rollback(int connection_id)
Rollback a transaction
int ovrimos_setoption(int conn_id|result_id, int which, int option, int value)
Sets connection or statement options
# php-src/ext/pcntl/pcntl.c
int pcntl_alarm(int seconds)
Set an alarm clock for delivery of a signal
bool pcntl_exec(string path [, array args [, array envs]])
Executes specified program in current process space as defined by exec(2)
int pcntl_fork(void)
Forks the currently running process following the same behavior as the UNIX fork() system call
int pcntl_getpriority([int pid [, int process_identifier]])
Get the priority of any process
bool pcntl_setpriority(int priority [, int pid [, int process_identifier]])
Change the priority of any process
bool pcntl_signal(int signo, callback handle [, bool restart_syscalls])
Assigns a system signal handler to a PHP function
int pcntl_wait(int &status)
Waits on or returns the status of a forked child as defined by the waitpid() system call
int pcntl_waitpid(int pid, int &status, int options)
Waits on or returns the status of a forked child as defined by the waitpid() system call
int pcntl_wexitstatus(int status)
Returns the status code of a child's exit
bool pcntl_wifexited(int status)
Returns true if the child status code represents a successful exit
bool pcntl_wifsignaled(int status)
Returns true if the child status code represents a process that was terminated due to a signal
bool pcntl_wifstopped(int status)
Returns true if the child status code represents a stopped process (WUNTRACED must have been used with waitpid)
int pcntl_wstopsig(int status)
Returns the number of the signal that caused the process to stop who's status code is passed
int pcntl_wtermsig(int status)
Returns the number of the signal that terminated the process who's status code is passed
# php-src/ext/pcre/php_pcre.c
array preg_grep(string regex, array input)
Searches array and returns entries which match regex
int preg_match(string pattern, string subject [, array subpatterns [, int flags [, int offset]]])
Perform a Perl-style regular expression match
int preg_match_all(string pattern, string subject, array subpatterns [, int flags [, int offset]])
Perform a Perl-style global regular expression match
string preg_quote(string str, string delim_char)
Quote regular expression characters plus an optional character
string preg_replace(mixed regex, mixed replace, mixed subject [, int limit])
Perform Perl-style regular expression replacement.
string preg_replace_callback(mixed regex, mixed callback, mixed subject [, int limit])
Perform Perl-style regular expression replacement using replacement callback.
array preg_split(string pattern, string subject [, int limit [, int flags]])
Split string into an array using a perl-style regular expression as a delimiter
# php-src/ext/pfpro/pfpro.c
bool pfpro_cleanup()
Shuts down the Payflow Pro library
bool pfpro_init()
Initializes the Payflow Pro library
array pfpro_process(array parmlist [, string hostaddress [, int port, [, int timeout [, string proxyAddress [, int proxyPort [, string proxyLogon [, string proxyPassword]]]]]]])
Payflow Pro transaction processing using arrays
string pfpro_process_raw(string parmlist [, string hostaddress [, int port, [, int timeout [, string proxyAddress [, int proxyPort [, string proxyLogon [, string proxyPassword]]]]]]])
Raw Payflow Pro transaction processing
string pfpro_version()
Returns the version of the Payflow Pro library
# php-src/ext/pgsql/pgsql.c
int pg_affected_rows(resource result)
Returns the number of affected tuples
bool pg_cancel_query(resource connection)
Cancel request
string pg_client_encoding([resource connection])
Get the current client encoding
bool pg_close([resource connection])
Close a PostgreSQL connection
resource pg_connect(string connection_string[, int connect_type] | [string host, string port [, string options [, string tty,]]] string database)
Open a PostgreSQL connection
bool pg_connection_busy(resource connection)
Get connection is busy or not
bool pg_connection_reset(resource connection)
Reset connection (reconnect)
int pg_connection_status(resource connnection)
Get connection status
array pg_convert(resource db, string table, array values[, int options])
Check and convert values for PostgreSQL SQL statement
bool pg_copy_from(resource connection, string table_name , array rows [, string delimiter [, string null_as]])
Copy table from array
array pg_copy_to(resource connection, string table_name [, string delimiter [, string null_as]])
Copy table to array
string pg_dbname([resource connection])
Get the database name
mixed pg_delete(resource db, string table, array ids[, int options])
Delete records has ids (id=>value)
bool pg_end_copy([resource connection])
Sync with backend. Completes the Copy command
string pg_escape_bytea(string data)
Escape binary for bytea type
string pg_escape_string(string data)
Escape string for text/char type
array pg_fetch_all(resource result)
Fetch all rows into array
array pg_fetch_array(resource result [, int row [, int result_type]])
Fetch a row as an array
array pg_fetch_assoc(resource result [, int row])
Fetch a row as an assoc array
object pg_fetch_object(resource result [, int row [, string class_name [, NULL|array ctor_params]]])
Fetch a row as an object
mixed pg_fetch_result(resource result, [int row_number,] mixed field_name)
Returns values from a result identifier
array pg_fetch_row(resource result [, int row [, int result_type]])
Get a row as an enumerated array
int pg_field_is_null(resource result, [int row,] mixed field_name_or_number)
Test if a field is NULL
string pg_field_name(resource result, int field_number)
Returns the name of the field
int pg_field_num(resource result, string field_name)
Returns the field number of the named field
int pg_field_prtlen(resource result, [int row,] mixed field_name_or_number)
Returns the printed length
int pg_field_size(resource result, int field_number)
Returns the internal size of the field
string pg_field_type(resource result, int field_number)
Returns the type name for the given field
bool pg_free_result(resource result)
Free result memory
array pg_get_notify([resource connection[, result_type]])
Get asynchronous notification
int pg_get_pid([resource connection)
Get backend(server) pid
resource pg_get_result(resource connection)
Get asynchronous query result
string pg_host([resource connection])
Returns the host name associated with the connection
mixed pg_insert(resource db, string table, array values[, int options])
Insert values (filed=>value) to table
string pg_last_error([resource connection])
Get the error message string
string pg_last_notice(resource connection)
Returns the last notice set by the backend
string pg_last_oid(resource result)
Returns the last object identifier
bool pg_lo_close(resource large_object)
Close a large object
int pg_lo_create([resource connection])
Create a large object
bool pg_lo_export([resource connection, ] int objoid, string filename)
Export large object direct to filesystem
int pg_lo_import([resource connection, ] string filename)
Import large object direct from filesystem
resource pg_lo_open([resource connection,] int large_object_oid, string mode)
Open a large object and return fd
string pg_lo_read(resource large_object [, int len])
Read a large object
int pg_lo_read_all(resource large_object)
Read a large object and send straight to browser
bool pg_lo_seek(resource large_object, int offset [, int whence])
Seeks position of large object
int pg_lo_tell(resource large_object)
Returns current position of large object
bool pg_lo_unlink([resource connection,] string large_object_oid)
Delete a large object
int pg_lo_write(resource large_object, string buf [, int len])
Write a large object
array pg_meta_data(resource db, string table)
Get meta_data
int pg_num_fields(resource result)
Return the number of fields in the result
int pg_num_rows(resource result)
Return the number of rows in the result
string pg_options([resource connection])
Get the options associated with the connection
string|false pg_parameter_status([resource connection,] string param_name)
Returns the value of a server parameter
resource pg_pconnect(string connection_string | [string host, string port [, string options [, string tty,]]] string database)
Open a persistent PostgreSQL connection
bool pg_ping([resource connection])
Ping database. If connection is bad, try to reconnect.
int pg_port([resource connection])
Return the port number associated with the connection
bool pg_put_line([resource connection,] string query)
Send null-terminated string to backend server
resource pg_query([resource connection,] string query)
Execute a query
string pg_result_error(resource result)
Get error message associated with result
bool pg_result_seek(resource result, int offset)
Set internal row offset
mixed pg_result_status(resource result[, long result_type])
Get status of query result
mixed pg_select(resource db, string table, array ids[, int options])
Select records that has ids (id=>value)
bool pg_send_query(resource connection, string qeury)
Send asynchronous query
int pg_set_client_encoding([resource connection,] string encoding)
Set client encoding
bool pg_trace(string filename [, string mode [, resource connection]])
Enable tracing a PostgreSQL connection
string pg_tty([resource connection])
Return the tty name associated with the connection
string pg_unescape_bytea(string data)
Unescape binary for bytea type
bool pg_untrace([resource connection])
Disable tracing of a PostgreSQL connection
mixed pg_update(resource db, string table, array fields, array ids[, int options])
Update table using values (field=>value) and ids (id=>value)
array pg_version([resource connection])
Returns an array with client, protocol and server version (when available)
# php-src/ext/posix/posix.c
string posix_ctermid(void)
Generate terminal path name (POSIX.1, 4.7.1)
int posix_get_last_error(void)
Retrieve the error number set by the last posix function which failed.
string posix_getcwd(void)
Get working directory pathname (POSIX.1, 5.2.2)
int posix_getegid(void)
Get the current effective group id (POSIX.1, 4.2.1)
int posix_geteuid(void)
Get the current effective user id (POSIX.1, 4.2.1)
int posix_getgid(void)
Get the current group id (POSIX.1, 4.2.1)
array posix_getgrgid(long gid)
Group database access (POSIX.1, 9.2.1)
array posix_getgrnam(string groupname)
Group database access (POSIX.1, 9.2.1)
array posix_getgroups(void)
Get supplementary group id's (POSIX.1, 4.2.3)
string posix_getlogin(void)
Get user name (POSIX.1, 4.2.4)
int posix_getpgid(void)
Get the process group id of the specified process (This is not a POSIX function, but a SVR4ism, so we compile conditionally)
int posix_getpgrp(void)
Get current process group id (POSIX.1, 4.3.1)
int posix_getpid(void)
Get the current process id (POSIX.1, 4.1.1)
int posix_getppid(void)
Get the parent process id (POSIX.1, 4.1.1)
array posix_getpwnam(string groupname)
User database access (POSIX.1, 9.2.2)
array posix_getpwuid(long uid)
User database access (POSIX.1, 9.2.2)
array posix_getrlimit(void)
Get system resource consumption limits (This is not a POSIX function, but a BSDism and a SVR4ism. We compile conditionally)
int posix_getsid(void)
Get process group id of session leader (This is not a POSIX function, but a SVR4ism, so be compile conditionally)
int posix_getuid(void)
Get the current user id (POSIX.1, 4.2.1)
bool posix_isatty(int fd)
Determine if filedesc is a tty (POSIX.1, 4.7.1)
bool posix_kill(int pid, int sig)
Send a signal to a process (POSIX.1, 3.3.2)
bool posix_mkfifo(string pathname, int mode)
Make a FIFO special file (POSIX.1, 5.4.2)
bool posix_setegid(long uid)
Set effective group id
bool posix_seteuid(long uid)
Set effective user id
bool posix_setgid(int uid)
Set group id (POSIX.1, 4.2.2)
bool posix_setpgid(int pid, int pgid)
Set process group id for job control (POSIX.1, 4.3.3)
int posix_setsid(void)
Create session and set process group id (POSIX.1, 4.3.2)
bool posix_setuid(long uid)
Set user id (POSIX.1, 4.2.2)
string posix_strerror(int errno)
Retrieve the system error message associated with the given errno.
array posix_times(void)
Get process times (POSIX.1, 4.5.2)
string posix_ttyname(int fd)
Determine terminal device name (POSIX.1, 4.7.2)
array posix_uname(void)
Get system name (POSIX.1, 4.4.1)
# php-src/ext/pspell/pspell.c
bool pspell_add_to_personal(int pspell, string word)
Adds a word to a personal list
bool pspell_add_to_session(int pspell, string word)
Adds a word to the current session
bool pspell_check(int pspell, string word)
Returns true if word is valid
bool pspell_clear_session(int pspell)
Clears the current session
int pspell_config_create(string language [, string spelling [, string jargon [, string encoding]]])
Create a new config to be used later to create a manager
bool pspell_config_data_dir(int conf, string directory)
location of language data files
bool pspell_config_dict_dir(int conf, string directory)
location of the main word list
bool pspell_config_ignore(int conf, int ignore)
Ignore words <= n chars
bool pspell_config_mode(int conf, long mode)
Select mode for config (PSPELL_FAST, PSPELL_NORMAL or PSPELL_BAD_SPELLERS)
bool pspell_config_personal(int conf, string personal)
Use a personal dictionary for this config
bool pspell_config_repl(int conf, string repl)
Use a personal dictionary with replacement pairs for this config
bool pspell_config_runtogether(int conf, bool runtogether)
Consider run-together words as valid components
bool pspell_config_save_repl(int conf, bool save)
Save replacement pairs when personal list is saved for this config
int pspell_new(string language [, string spelling [, string jargon [, string encoding [, int mode]]]])
Load a dictionary
int pspell_new_config(int config)
Load a dictionary based on the given config
int pspell_new_personal(string personal, string language [, string spelling [, string jargon [, string encoding [, int mode]]]])
Load a dictionary with a personal wordlist
bool pspell_save_wordlist(int pspell)
Saves the current (personal) wordlist
bool pspell_store_replacement(int pspell, string misspell, string correct)
Notify the dictionary of a user-selected replacement
array pspell_suggest(int pspell, string word)
Returns array of suggestions
# php-src/ext/readline/readline.c
string readline([string prompt])
Reads a line
bool readline_add_history([string prompt])
Adds a line to the history
void readline_callback_handler_install(string prompt, mixed callback)
Initializes the readline callback interface and terminal, prints the prompt and returns immediately
bool readline_callback_handler_remove()
Removes a previously installed callback handler and restores terminal settings
void readline_callback_read_char()
Informs the readline callback interface that a character is ready for input
bool readline_clear_history(void)
Clears the history
bool readline_completion_function(string funcname)
Readline completion function?
mixed readline_info([string varname] [, string newvalue])
Gets/sets various internal readline variables.
array readline_list_history(void)
Lists the history
void readline_on_new_line(void)
Inform readline that the cursor has moved to a new line
bool readline_read_history([string filename] [, int from] [,int to])
Reads the history
void readline_redisplay(void)
Ask readline to redraw the display
bool readline_write_history([string filename])
Writes the history
# php-src/ext/recode/recode.c
bool recode_file(string request, resource input, resource output)
Recode file input into file output according to request
string recode_string(string request, string str)
Recode string str according to request string
# php-src/ext/session/session.c
int session_cache_expire([int new_cache_expire])
Return the current cache expire. If new_cache_expire is given, the current cache_expire is replaced with new_cache_expire
string session_cache_limiter([string new_cache_limiter])
Return the current cache limiter. If new_cache_limited is given, the current cache_limiter is replaced with new_cache_limiter
bool session_decode(string data)
Deserializes data and reinitializes the variables
bool session_destroy(void)
Destroy the current session and all data associated with it
string session_encode(void)
Serializes the current setup and returns the serialized representation
array session_get_cookie_params(void)
Return the session cookie parameters
string session_id([string newid])
Return the current session id. If newid is given, the session id is replaced with newid
bool session_is_registered(string varname)
Checks if a variable is registered in session
string session_module_name([string newname])
Return the current module name used for accessing session data. If newname is given, the module name is replaced with newname
string session_name([string newname])
Return the current session name. If newname is given, the session name is replaced with newname
bool session_regenerate_id()
Update the current session id with a newly generated one.
bool session_register(mixed var_names [, mixed ...])
Adds varname(s) to the list of variables which are freezed at the session end
string session_save_path([string newname])
Return the current save path passed to module_name. If newname is given, the save path is replaced with newname
void session_set_cookie_params(int lifetime [, string path [, string domain [, bool secure]]])
Set session cookie parameters
void session_set_save_handler(string open, string close, string read, string write, string destroy, string gc)
Sets user-level functions
bool session_start(void)
Begin session - reinitializes freezed variables, registers browsers etc
bool session_unregister(string varname)
Removes varname from the list of variables which are freezed at the session end
void session_unset(void)
Unset all registered variables
void session_write_close(void)
Write session data and end session
# php-src/ext/shmop/shmop.c
void shmop_close (int shmid)
closes a shared memory segment
bool shmop_delete (int shmid)
mark segment for deletion
int shmop_open (int key, string flags, int mode, int size)
gets and attaches a shared memory segment
string shmop_read (int shmid, int start, int count)
reads from a shm segment
int shmop_size (int shmid)
returns the shm size
int shmop_write (int shmid, string data, int offset)
writes to a shared memory segment
# php-src/ext/simplexml/simplexml.c
SimpleXMLElement::__construct()
SimpleXMLElement constructor
string SimpleXMLElement::asXML([string filename])
Return a well-formed XML string based on SimpleXML element
array SimpleXMLElement::attributes([string ns])
Identifies an element's attributes
object SimpleXMLElement::children()
Finds children of given node
simplemxml_element simplexml_import_dom(domNode node [, string class_name])
Get a simplexml_element object from dom to allow for processing
simplemxml_element simplexml_load_file(string filename [, string class_name [, int options]])
Load a filename and return a simplexml_element object to allow for processing
simplemxml_element simplexml_load_string(string data [, string class_name [, int options]])
Load a string and return a simplexml_element object to allow for processing
# php-src/ext/skeleton/skeleton.c
string confirm_extname_compiled(string arg)
Return a string to confirm that the module is compiled in
# php-src/ext/snmp/snmp.c
void php_snmpv3(INTERNAL_FUNCTION_PARAMETERS, int st)
* * Generic SNMPv3 object fetcher * From here is passed on the the common internal object fetcher. * * st=1 snmp3_get() - query an agent and return a single value. * st=2 snmp3_getnext() - query an agent and return the next single value. * st=3 snmp3_walk() - walk the mib and return a single dimensional array * containing the values. * st=4 snmp3_real_walk() - walk the mib and return an * array of oid,value pairs. * st=11 snmp3_set() - query an agent and set a single value *
int snmp3_get(string host, string sec_name, string sec_level, string auth_protocol, string auth_passphrase, string priv_protocol, string priv_passphrase, string object_id [, int timeout [, int retries]])
Fetch the value of a SNMP object
int snmp3_getnext(string host, string sec_name, string sec_level, string auth_protocol, string auth_passphrase, string priv_protocol, string priv_passphrase, string object_id [, int timeout [, int retries]])
Fetch the value of a SNMP object
int snmp3_real_walk(string host, string sec_name, string sec_level, string auth_protocol, string auth_passphrase, string priv_protocol, string priv_passphrase, string object_id [, int timeout [, int retries]])
Fetch the value of a SNMP object
int snmp3_set(string host, string sec_name, string sec_level, string auth_protocol, string auth_passphrase, string priv_protocol, string priv_passphrase, string object_id, string type, mixed value [, int timeout [, int retries]])
Fetch the value of a SNMP object
int snmp3_walk(string host, string sec_name, string sec_level, string auth_protocol, string auth_passphrase, string priv_protocol, string priv_passphrase, string object_id [, int timeout [, int retries]])
Fetch the value of a SNMP object
bool snmp_get_quick_print(void)
Return the current status of quick_print
int snmp_get_valueretrieval()
Return the method how the SNMP values will be returned
int snmp_read_mib(string filename)
Reads and parses a MIB file into the active MIB tree.
void snmp_set_enum_print(int enum_print)
Return all values that are enums with their enum value instead of the raw integer
void snmp_set_oid_numeric_print(int oid_numeric_print)
Return all objects including their respective object id withing the specified one
void snmp_set_quick_print(int quick_print)
Return all objects including their respective object id withing the specified one
int snmp_set_valueretrieval(int method)
Specify the method how the SNMP values will be returned
string snmpget(string host, string community, string object_id [, int timeout [, int retries]])
Fetch a SNMP object
string snmpgetnext(string host, string community, string object_id [, int timeout [, int retries]])
Fetch a SNMP object
array snmprealwalk(string host, string community, string object_id [, int timeout [, int retries]])
Return all objects including their respective object id withing the specified one
int snmpset(string host, string community, string object_id, string type, mixed value [, int timeout [, int retries]])
Set the value of a SNMP object
array snmpwalk(string host, string community, string object_id [, int timeout [, int retries]])
Return all objects under the specified object id
# php-src/ext/soap/soap.c
SoapServer::fault
SoapServer::fault
object SoapClient::SoapClient ( mixed wsdl [, array options])
SoapClient constructor
mixed SoapClient::__call ( string function_name [, array arguments [, array options [, array input_headers [, array output_headers]]]])
Calls a SOAP function
string SoapClient::__doRequest()
SoapClient::__doRequest()
array SoapClient::__getFunctions ( void )
Returns list of SOAP functions
string SoapClient::__getLastRequest ( void )
Returns last SOAP request
string SoapClient::__getLastRequestHeaders(void)
Returns last SOAP request headers
object SoapClient::__getLastResponse ( void )
Returns last SOAP response
string SoapClient::__getLastResponseHeaders(void)
Returns last SOAP response headers
array SoapClient::__getTypes ( void )
Returns list of SOAP types
object SoapFault::SoapFault ( string faultcode, string faultstring [, string faultactor [, mixed detail [, string faultname [, mixed headerfault]]]])
SoapFault constructor
object SoapFault::SoapFault ( string faultcode, string faultstring [, string faultactor [, mixed detail [, string faultname [, mixed headerfault]]]])
SoapFault constructor
object SoapHeader::SoapHeader ( string namespace, string name [, mixed data [, bool mustUnderstand [, mixed actor]]])
SoapHeader constructor
object SoapParam::SoapParam ( mixed data, string name)
SoapParam constructor
object SoapServer::SoapServer ( mixed wsdl [, array options])
Sets persistence mode of SoapServer
object SoapServer::SoapServer ( mixed wsdl [, array options])
SoapServer constructor
void SoapServer::addFunction(mixed functions)
Adds one or several functions those will handle SOAP requests
array SoapServer::getFunctions(void)
Returns list of defined functions
void SoapServer::handle ( [string soap_request])
Handles a SOAP request
void SoapServer::setClass(string class_name [, mixed args])
Sets class which will handle SOAP requests
object SoapVar::SoapVar ( mixed data, int encoding [, string type_name [, string type_namespace [, string node_name [, string node_namespace]]]])
SoapVar constructor
# php-src/ext/sockets/sockets.c
resource socket_accept(resource socket)
Accepts a connection on the listening socket fd
bool socket_bind(resource socket, string addr [, int port])
Binds an open socket to a listening port, port is only specified in AF_INET family.
void socket_clear_error([resource socket])
Clears the error on the socket or the last error code.
void socket_close(resource socket)
Closes a file descriptor
bool socket_connect(resource socket, string addr [, int port])
Opens a connection to addr:port on the socket specified by socket
resource socket_create(int domain, int type, int protocol)
Creates an endpoint for communication in the domain specified by domain, of type specified by type
resource socket_create_listen(int port[, int backlog])
Opens a socket on port to accept connections
bool socket_create_pair(int domain, int type, int protocol, array &fd)
Creates a pair of indistinguishable sockets and stores them in fds.
mixed socket_get_option(resource socket, int level, int optname)
Gets socket options for the socket
bool socket_getpeername(resource socket, string &addr[, int &port])
Queries the remote side of the given socket which may either result in host/port or in a UNIX filesystem path, dependent on its type.
bool socket_getsockname(resource socket, string &addr[, int &port])
Queries the remote side of the given socket which may either result in host/port or in a UNIX filesystem path, dependent on its type.
int socket_last_error([resource socket])
Returns the last socket error (either the last used or the provided socket resource)
bool socket_listen(resource socket[, int backlog])
Sets the maximum number of connections allowed to be waited for on the socket specified by fd
string socket_read(resource socket, int length [, int type])
Reads a maximum of length bytes from socket
int socket_recv(resource socket, string &buf, int len, int flags)
Receives data from a connected socket
int socket_recvfrom(resource socket, string &buf, int len, int flags, string &name [, int &port])
Receives data from a socket, connected or not
int socket_select(array &read_fds, array &write_fds, &array except_fds, int tv_sec[, int tv_usec])
Runs the select() system call on the sets mentioned with a timeout specified by tv_sec and tv_usec
int socket_send(resource socket, string buf, int len, int flags)
Sends data to a connected socket
int socket_sendto(resource socket, string buf, int len, int flags, string addr [, int port])
Sends a message to a socket, whether it is connected or not
bool socket_set_block(resource socket)
Sets blocking mode on a socket resource
bool socket_set_nonblock(resource socket)
Sets nonblocking mode on a socket resource
bool socket_set_option(resource socket, int level, int optname, int|array optval)
Sets socket options for the socket
bool socket_shutdown(resource socket[, int how])
Shuts down a socket for receiving, sending, or both.
string socket_strerror(int errno)
Returns a string describing an error
int socket_write(resource socket, string buf[, int length])
Writes the buffer to the socket resource, length is optional
# php-src/ext/spl/spl_array.c
mixed|NULL ArrayIterator::current()
Return current array entry
mixed|NULL ArrayIterator::key()
Return current array key
void ArrayIterator::next()
Move to next entry
void ArrayIterator::rewind()
Rewind array back to the start
void ArrayIterator::seek(int $position)
Seek to position.
bool ArrayIterator::valid()
Check whether array contains more entries
void ArrayObject::__construct(array|object ar = array())
proto void ArrayIterator::__construct(array|object ar = array()) Cronstructs a new array iterator from a path.
void ArrayObject::append(mixed $newval)
proto void ArrayIterator::append(mixed $newval) Appends the value (cannot be called for objects).
int ArrayObject::count()
proto int ArrayIterator::count() Return the number of elements in the Iterator.
ArrayIterator ArrayObject::getIterator()
Create a new iterator from a ArrayObject instance
bool ArrayObject::offsetExists(mixed $index)
proto bool ArrayIterator::offsetExists(mixed $index) Returns whether the requested $index exists.
bool ArrayObject::offsetGet(mixed $index)
proto bool ArrayIterator::offsetGet(mixed $index) Returns the value at the specified $index.
void ArrayObject::offsetSet(mixed $index, mixed $newval)
proto void ArrayIterator::offsetSet(mixed $index, mixed $newval) Sets the value at the specified $index to $newval.
void ArrayObject::offsetUnset(mixed $index)
proto void ArrayIterator::offsetUnset(mixed $index) Unsets the value at the specified $index.
# php-src/ext/spl/spl_directory.c
void DirectoryIterator::__construct(string path)
Cronstructs a new dir iterator from a path.
DirectoryIterator DirectoryIterator::current()
Return this (needed for Iterator interface)
int DirectoryIterator::getATime()
Get last access time of file
int DirectoryIterator::getCTime()
Get inode modification time of file
RecursiveDirectoryIterator DirectoryIterator::getChildren()
Returns an iterator fo rthe current entry if it is a directory
string DirectoryIterator::getFilename()
Return filename of current dir entry
int DirectoryIterator::getGroup()
Get file group
int DirectoryIterator::getInode()
Get file inode
int DirectoryIterator::getMTime()
Get last modification time of file
int DirectoryIterator::getOwner()
Get file owner
string DirectoryIterator::getPath()
Return directory path
string DirectoryIterator::getPathname()
Return path and filename of current dir entry
int DirectoryIterator::getPerms()
Get file permissions
int DirectoryIterator::getSize()
Get file size
string DirectoryIterator::getType()
Get file type
bool DirectoryIterator::isDir()
Returns true if file is directory
bool DirectoryIterator::isDot()
Returns true if current entry is '.' or '..'
bool DirectoryIterator::isExecutable()
Returns true if file is executable
bool DirectoryIterator::isFile()
Returns true if file is a regular file
bool DirectoryIterator::isLink()
Returns true if file is symbolic link
bool DirectoryIterator::isReadable()
Returns true if file can be read
bool DirectoryIterator::isWritable()
Returns true if file can be written
string DirectoryIterator::key()
Return current dir entry
void DirectoryIterator::next()
Move to next entry
void DirectoryIterator::rewind()
Rewind dir back to the start
string DirectoryIterator::valid()
Check whether dir contains more entries
bool RecursiveDirectoryIterator::hasChildren([bool $allow_links = false])
Returns whether current entry is a directory and not '.' or '..'
string RecursiveDirectoryIterator::key()
Return path and filename of current dir entry
void RecursiveDirectoryIterator::next()
Move to next entry
void RecursiveDirectoryIterator::rewind()
Rewind dir back to the start
# php-src/ext/spl/spl_iterators.c
AppendIterator::__construct()
Create an AppendIterator
EmptyIterator::next()
Does nothing
EmptyIterator::rewind()
Does nothing
AppendIterator::next()
Forward to next element
InfiniteIterator::next()
Prevent a call to inner iterators rewind() (internally the current data will be fetched if valid())
EmptyIterator::valid()
Return false
EmptyIterator::current()
Throws exception
EmptyIterator::key()
Throws exception
void AppendIterator::append(Iterator it)
Append an iterator
void AppendIterator::rewind()
Rewind to the first iterator and rewind the first iterator, too
boolean AppendIterator::valid()
Check if the current state is valid
string CachingIterator::__toString()
Retrun the string representation of the current element
boolean CachingIterator::hasNext()
Cehck whether the inner iterator has a valid next element
void CachingIterator::next()
Move the iterator forward
void CachingIterator::rewind()
Rewind the iterator
boolean CachingIterator::valid()
Check whether the current element is valid
CachingRecursiveIterator CachingRecursiveIterator::getChildren()
Return the inenr iteraor's children as a CachingRecursiveIterator
bolean CachingRecursiveIterator::hasChildren()
Cehck whether the current element of the inner iterator has children
mixed FilterIterator::current()
proto mixed CachingIterator::current() proto mixed LimitIterator::current() proto mixed ParentIterator::current() proto mixed IteratorIterator::current() proto mixed NoRewindIterator::current() proto mixed AppendIterator::current() Get the current element value
Iterator FilterIterator::getInnerIterator()
proto Iterator CachingIterator::getInnerIterator() proto Iterator LimitIterator::getInnerIterator() proto Iterator ParentIterator::getInnerIterator() Get the inner iterator
mixed FilterIterator::key()
proto mixed CachingIterator::key() proto mixed LimitIterator::key() proto mixed ParentIterator::key() proto mixed IteratorIterator::key() proto mixed NoRewindIterator::key() proto mixed AppendIterator::key() Get the current key
void FilterIterator::next()
Move the iterator forward
void FilterIterator::rewind()
Rewind the iterator
boolean FilterIterator::valid()
proto boolean ParentIterator::valid() proto boolean IteratorIterator::valid() proto boolean NoRewindIterator::valid() Check whether the current element is valid
int LimitIterator::getPosition()
Return the current position
void LimitIterator::next()
Move the iterator forward
void LimitIterator::rewind()
Rewind the iterator to the specified starting offset
void LimitIterator::seek(int position)
Seek to the given position
boolean LimitIterator::valid()
Check whether the current element is valid
mixed NoRewindIterator::current()
Return inner iterators current()
mixed NoRewindIterator::key()
Return inner iterators key()
void NoRewindIterator::next()
Return inner iterators next()
void NoRewindIterator::rewind()
Prevent a call to inner iterators rewind()
void NoRewindIterator::valid()
Return inner iterators valid()
ParentIterator ParentIterator::getChildren()
Return the inner iterator's children contained in a ParentIterator
boolean ParentIterator::hasChildren()
Check whether the inner iterator's current element has children
void ParentIterator::next()
proto void IteratorIterator::next() proto void NoRewindIterator::next() Move the iterator forward
void ParentIterator::rewind()
proto void IteratorIterator::rewind() Rewind the iterator
RecursiveIterator RecursiveIteratorIterator::beginChildren()
Called when recursing one level down
mixed RecursiveIteratorIterator::current()
Access the current element value
RecursiveIterator RecursiveIteratorIterator::endChildren()
Called when end recursing one level
int RecursiveIteratorIterator::getDepth()
Get the current depth of the recursive iteration
RecursiveIterator RecursiveIteratorIterator::getInnerIterator()
The current active sub iterator
RecursiveIterator RecursiveIteratorIterator::getSubIterator([int level])
The current active sub iterator or the iterator at specified level
mixed RecursiveIteratorIterator::key()
Access the current key
void RecursiveIteratorIterator::next()
Move forward to the next element
void RecursiveIteratorIterator::rewind()
Rewind the iterator to the first element of the top level inner iterator.
bolean RecursiveIteratorIterator::valid()
Check whether the current position is valid
CachingIterator::__construct(Iterator it [, flags = CIT_CALL_TOSTRING])
Construct a CachingIterator from an Iterator
CachingRecursiveIterator::__construct(RecursiveIterator it [, flags = CIT_CALL_TOSTRING])
Create an iterator from a RecursiveIterator
RecursiveIteratorIterator::__construct(RecursiveIterator|IteratorAggregate it [, int flags = RIT_LEAVES_ONLY]) throws InvalidArgumentException
Creates a RecursiveIteratorIterator from a RecursiveIterator.
LimitIterator::__construct(Iterator it [, int offset, int count])
Construct a LimitIterator from an Iterator with a given starting offset and optionally a maximum count
FilterIterator::__construct(Iterator it)
Create an Iterator from another iterator
ParentIterator::__construct(RecursiveIterator it)
Create a ParentIterator from a RecursiveIterator
InfiniteIterator::__construct(Iterator it)
Create an iterator from another iterator
NoRewindIterator::__construct(Iterator it)
Create an iterator from another iterator
IteratorIterator::__construct(Traversable it)
Create an iterator from anything that is traversable
# php-src/ext/sqlite/sqlite.c
array sqlite_array_query(resource db, string query [ , int result_type [, bool decode_binary]])
Executes a query against a given database and returns an array of arrays.
void sqlite_busy_timeout(resource db, int ms)
Set busy timeout duration. If ms <= 0, all busy handlers are disabled.
int sqlite_changes(resource db)
Returns the number of rows that were changed by the most recent SQL statement.
void sqlite_close(resource db)
Closes an open sqlite database.
mixed sqlite_column(resource result, mixed index_or_name [, bool decode_binary])
Fetches a column from the current row of a result set.
bool sqlite_create_aggregate(resource db, string funcname, mixed step_func, mixed finalize_func[, long num_args])
Registers an aggregate function for queries.
bool sqlite_create_function(resource db, string funcname, mixed callback[, long num_args])
Registers a "regular" function for queries.
array sqlite_current(resource result [, int result_type [, bool decode_binary]])
Fetches the current row from a result set as an array.
string sqlite_error_string(int error_code)
Returns the textual description of an error code.
string sqlite_escape_string(string item)
Escapes a string for use as a query parameter.
boolean sqlite_exec(string query, resource db)
Executes a result-less query against a given database
object sqlite_factory(string filename [, int mode [, string &error_message]])
Opens a SQLite database and creates an object for it. Will create the database if it does not exist.
array sqlite_fetch_all(resource result [, int result_type [, bool decode_binary]])
Fetches all rows from a result set as an array of arrays.
array sqlite_fetch_array(resource result [, int result_type [, bool decode_binary]])
Fetches the next row from a result set as an array.
resource sqlite_fetch_column_types(string table_name, [, int result_type] resource db)
Return an array of column types from a particular table.
object sqlite_fetch_object(resource result [, string class_name [, NULL|array ctor_params [, bool decode_binary]]])
Fetches the next row from a result set as an object.
string sqlite_fetch_single(resource result [, bool decode_binary])
Fetches the first column of a result set as a string.
string sqlite_field_name(resource result, int field_index)
Returns the name of a particular field of a result set.
bool sqlite_has_prev(resource result)
* Returns whether a previous row is available.
int sqlite_last_error(resource db)
Returns the error code of the last error for a database.
int sqlite_last_insert_rowid(resource db)
Returns the rowid of the most recently inserted row.
string sqlite_libencoding()
Returns the encoding (iso8859 or UTF-8) of the linked SQLite library.
string sqlite_libversion()
Returns the version of the linked SQLite library.
bool sqlite_next(resource result)
Seek to the next row number of a result set.
int sqlite_num_fields(resource result)
Returns the number of fields in a result set.
int sqlite_num_rows(resource result)
Returns the number of rows in a buffered result set.
resource sqlite_open(string filename [, int mode [, string &error_message]])
Opens a SQLite database. Will create the database if it does not exist.
resource sqlite_popen(string filename [, int mode [, string &error_message]])
Opens a persistent handle to a SQLite database. Will create the database if it does not exist.
bool sqlite_prev(resource result)
* Seek to the previous row number of a result set.
resource sqlite_query(string query, resource db [, int result_type ])
Executes a query against a given database and returns a result handle.
bool sqlite_rewind(resource result)
Seek to the first row number of a buffered result set.
bool sqlite_seek(resource result, int row)
Seek to a particular row number of a buffered result set.
array sqlite_single_query(resource db, string query [, bool first_row_only [, bool decode_binary]])
Executes a query and returns either an array for one single column or the value of the first row.
string sqlite_udf_decode_binary(string data)
Decode binary encoding on a string parameter passed to an UDF.
string sqlite_udf_encode_binary(string data)
Apply binary encoding (if required) to a string to return from an UDF.
resource sqlite_unbuffered_query(string query, resource db [ , int result_type ])
Executes a query that does not prefetch and buffer all data.
bool sqlite_valid(resource result)
Returns whether more rows are available.
# php-src/ext/standard/array.c
array array_change_key_case(array input [, int case=CASE_LOWER])
Retuns an array with all string keys lowercased [or uppercased]
array array_chunk(array input, int size [, bool preserve_keys])
Split array into chunks
array array_combine(array keys, array values)
Creates an array by using the elements of the first parameter as keys and the elements of the second as correspoding keys
array array_count_values(array input)
Return the value as key and the frequency of that value in input as value
array array_diff(array arr1, array arr2 [, array ...])
Returns the entries of arr1 that have values which are not present in any of the others arguments.
array array_diff_assoc(array arr1, array arr2 [, array ...])
Returns the entries of arr1 that have values which are not present in any of the others arguments but do additional checks whether the keys are equal
array array_diff_key(array arr1, array arr2 [, array ...])
Returns the entries of arr1 that have keys which are not present in any of the others arguments. This function is like array_diff() but works on the keys instead of the values. The associativity is preserved.
array array_diff_uassoc(array arr1, array arr2 [, array ...], callback data_comp_func)
Returns the entries of arr1 that have values which are not present in any of the others arguments but do additional checks whether the keys are equal. Elements are compared by user supplied function.
array array_diff_ukey(array arr1, array arr2 [, array ...], callback key_comp_func)
Returns the entries of arr1 that have keys which are not present in any of the others arguments. User supplied function is used for comparing the keys. This function is like array_udiff() but works on the keys instead of the values. The associativity is preserved.
array array_fill(int start_key, int num, mixed val)
Create an array containing num elements starting with index start_key each initialized to val
array array_filter(array input [, mixed callback])
Filters elements from the array via the callback.
array array_flip(array input)
Return array with key <-> value flipped
array array_intersect(array arr1, array arr2 [, array ...])
Returns the entries of arr1 that have values which are present in all the other arguments
array array_intersect_assoc(array arr1, array arr2 [, array ...])
Returns the entries of arr1 that have values which are present in all the other arguments. Keys are used to do more restrictive check
array array_intersect_key(array arr1, array arr2 [, array ...])
Returns the entries of arr1 that have keys which are present in all the other arguments. Kind of equivalent to array_diff(array_keys($arr1), array_keys($arr2)[,array_keys(...)]). Equivalent of array_intersect_assoc() but does not do compare of the data.
array array_intersect_uassoc(array arr1, array arr2 [, array ...], callback key_compare_func)
Returns the entries of arr1 that have values which are present in all the other arguments. Keys are used to do more restrictive check and they are compared by using an user-supplied callback.
array array_intersect_ukey(array arr1, array arr2 [, array ...], callback key_compare_func)
Returns the entries of arr1 that have keys which are present in all the other arguments. Kind of equivalent to array_diff(array_keys($arr1), array_keys($arr2)[,array_keys(...)]). The comparison of the keys is performed by a user supplied function. Equivalent of array_intersect_uassoc() but does not do compare of the data.
bool array_key_exists(mixed key, array search)
Checks if the given key or index exists in the array
array array_keys(array input [, mixed search_value[, bool strict]])
Return just the keys from the input array, optionally only for the specified search_value
array array_map(mixed callback, array input1 [, array input2 ,...])
Applies the callback to the elements in given arrays.
array array_merge(array arr1, array arr2 [, array ...])
Merges elements from passed arrays into one array
array array_merge_recursive(array arr1, array arr2 [, array ...])
Recursively merges elements from passed arrays into one array
bool array_multisort(array ar1 [, SORT_ASC|SORT_DESC [, SORT_REGULAR|SORT_NUMERIC|SORT_STRING]] [, array ar2 [, SORT_ASC|SORT_DESC [, SORT_REGULAR|SORT_NUMERIC|SORT_STRING]], ...])
Sort multiple arrays at once similar to how ORDER BY clause works in SQL
array array_pad(array input, int pad_size, mixed pad_value)
Returns a copy of input array padded with pad_value to size pad_size
mixed array_pop(array stack)
Pops an element off the end of the array
int array_push(array stack, mixed var [, mixed ...])
Pushes elements onto the end of the array
mixed array_rand(array input [, int num_req])
Return key/keys for random entry/entries in the array
mixed array_reduce(array input, mixed callback [, int initial])
Iteratively reduce the array to a single value via the callback.
array array_reverse(array input [, bool preserve keys])
Return input as a new array with the order of the entries reversed
mixed array_search(mixed needle, array haystack [, bool strict])
Searches the array for a given value and returns the corresponding key if successful
mixed array_shift(array stack)
Pops an element off the beginning of the array
array array_slice(array input, int offset [, int length])
Returns elements specified by offset and length
array array_splice(array input, int offset [, int length [, array replacement]])
Removes the elements designated by offset and length and replace them with supplied array
mixed array_sum(array input)
Returns the sum of the array entries
array array_udiff(array arr1, array arr2 [, array ...], callback data_comp_func)
Returns the entries of arr1 that have values which are not present in any of the others arguments. Elements are compared by user supplied function.
array array_udiff_assoc(array arr1, array arr2 [, array ...], callback key_comp_func)
Returns the entries of arr1 that have values which are not present in any of the others arguments but do additional checks whether the keys are equal. Keys are compared by user supplied function.
array array_udiff_uassoc(array arr1, array arr2 [, array ...], callback data_comp_func, callback key_comp_func)
Returns the entries of arr1 that have values which are not present in any of the others arguments but do additional checks whether the keys are equal. Keys and elements are compared by user supplied functions.
array array_uintersect(array arr1, array arr2 [, array ...], callback data_compare_func)
Returns the entries of arr1 that have values which are present in all the other arguments. Data is compared by using an user-supplied callback.
array array_uintersect_assoc(array arr1, array arr2 [, array ...], callback data_compare_func)
Returns the entries of arr1 that have values which are present in all the other arguments. Keys are used to do more restrictive check. Data is compared by using an user-supplied callback.
array array_uintersect_uassoc(array arr1, array arr2 [, array ...], callback data_compare_func, callback key_compare_func)
Returns the entries of arr1 that have values which are present in all the other arguments. Keys are used to do more restrictive check. Both data and keys are compared by using user-supplied callbacks.
array array_unique(array input)
Removes duplicate values from array
int array_unshift(array stack, mixed var [, mixed ...])
Pushes elements onto the beginning of the array
array array_values(array input)
Return just the values from the input array
bool array_walk(array input, string funcname [, mixed userdata])
Apply a user function to every member of an array
bool array_walk_recursive(array input, string funcname [, mixed userdata])
Apply a user function recursively to every member of an array
bool arsort(array array_arg [, int sort_flags])
Sort an array in reverse order and maintain index association
bool asort(array array_arg [, int sort_flags])
Sort an array and maintain index association
array compact(mixed var_names [, mixed ...])
Creates a hash containing variables and their values
int count(mixed var [, int mode])
Count the number of elements in a variable (usually an array)
mixed current(array array_arg)
Return the element currently pointed to by the internal array pointer
mixed end(array array_arg)
Advances array argument's internal pointer to the last element and return it
int extract(array var_array [, int extract_type [, string prefix]])
Imports variables into symbol table from an array
bool in_array(mixed needle, array haystack [, bool strict])
Checks if the given value exists in the array
mixed key(array array_arg)
Return the key of the element currently pointed to by the internal array pointer
bool krsort(array array_arg [, int sort_flags])
Sort an array by key value in reverse order
bool ksort(array array_arg [, int sort_flags])
Sort an array by key
mixed max(mixed arg1 [, mixed arg2 [, mixed ...]])
Return the highest value in an array or a series of arguments
mixed min(mixed arg1 [, mixed arg2 [, mixed ...]])
Return the lowest value in an array or a series of arguments
void natcasesort(array array_arg)
Sort an array using case-insensitive natural sort
void natsort(array array_arg)
Sort an array using natural sort
mixed next(array array_arg)
Move array argument's internal pointer to the next element and return it
mixed prev(array array_arg)
Move array argument's internal pointer to the previous element and return it
array range(mixed low, mixed high[, int step])
Create an array containing the range of integers or characters from low to high (inclusive)
mixed reset(array array_arg)
Set array argument's internal pointer to the first element and return it
bool rsort(array array_arg [, int sort_flags])
Sort an array in reverse order
bool shuffle(array array_arg)
Randomly shuffle the contents of an array
bool sort(array array_arg [, int sort_flags])
Sort an array
bool uasort(array array_arg, string cmp_function)
Sort an array with a user-defined comparison function and maintain index association
bool uksort(array array_arg, string cmp_function)
Sort an array by keys using a user-defined comparison function
bool usort(array array_arg, string cmp_function)
Sort an array by values using a user-defined comparison function
# php-src/ext/standard/assert.c
int assert(string|bool assertion)
Checks if assertion is false
mixed assert_options(int what [, mixed value])
Set/get the various assert flags
# php-src/ext/standard/base64.c
string base64_decode(string str)
Decodes string using MIME base64 algorithm
string base64_encode(string str)
Encodes string using MIME base64 algorithm
# php-src/ext/standard/basic_functions.c
mixed call_user_func(string function_name [, mixed parmeter] [, mixed ...])
Call a user function which is the first parameter
mixed call_user_func_array(string function_name, array parameters)
Call a user function which is the first parameter with the arguments contained in array
mixed call_user_method(string method_name, mixed object [, mixed parameter] [, mixed ...])
Call a user method on a specific object or class
mixed call_user_method_array(string method_name, mixed object, array params)
Call a user method on a specific object or class using a parameter array
int connection_aborted(void)
Returns true if client disconnected
int connection_status(void)
Returns the connection status bitfield
mixed constant(string const_name)
Given the name of a constant this function will return the constants associated value
bool error_log(string message [, int message_type [, string destination [, string extra_headers]]])
Send an error message somewhere
void flush(void)
Flush the output buffer
string get_cfg_var(string option_name)
Get the value of a PHP configuration option
string get_current_user(void)
Get the name of the owner of the current PHP script
string get_include_path()
Get the current include_path configuration option
int get_magic_quotes_gpc(void)
Get the current active configuration setting of magic_quotes_gpc
int get_magic_quotes_runtime(void)
Get the current active configuration setting of magic_quotes_runtime
string getenv(string varname)
Get the value of an environment variable
array getopt(string options [, array longopts])
Get options from the command line argument list
int getprotobyname(string name)
Returns protocol number associated with name as per /etc/protocols
string getprotobynumber(int proto)
Returns protocol name associated with protocol number proto
int getservbyname(string service, string protocol)
Returns port associated with service. Protocol must be "tcp" or "udp"
string getservbyport(int port, string protocol)
Returns service name associated with port. Protocol must be "tcp" or "udp"
bool highlight_file(string file_name [, bool return] )
Syntax highlight a source file
bool highlight_string(string string [, bool return] )
Syntax highlight a string or optionally return it
int ignore_user_abort(bool value)
Set whether we want to ignore a user abort event or not
bool import_request_variables(string types [, string prefix])
Import GET/POST/Cookie variables into the global scope
string inet_ntop(string in_addr)
Converts a packed inet address to a human readable IP address string
string inet_pton(string ip_address)
Converts a human readable IP address to a packed binary string
string ini_get(string varname)
Get a configuration option
array ini_get_all([string extension])
Get all configuration options
void ini_restore(string varname)
Restore the value of a configuration option specified by varname
string ini_set(string varname, string newvalue)
Set a configuration option, returns false on error and the old value of the configuration option on success
int ip2long(string ip_address)
Converts a string containing an (IPv4) Internet Protocol dotted address into a proper address
bool is_uploaded_file(string path)
Check if file was created by rfc1867 upload
string long2ip(int proper_address)
Converts an (IPv4) Internet network address into a string in Internet standard dotted format
bool move_uploaded_file(string path, string new_path)
Move a file if and only if it was created by an upload
array parse_ini_file(string filename [, bool process_sections])
Parse configuration file
bool php_check_syntax(string file_name [, &$error_message])
Check the syntax of the specified file.
string php_strip_whitespace(string file_name)
Return source with stripped comments and whitespace
mixed print_r(mixed var [, bool return])
Prints out or returns information about the specified variable
bool putenv(string setting)
Set the value of an environment variable
void register_shutdown_function(string function_name)
Register a user-level function to be called on request termination
bool register_tick_function(string function_name [, mixed arg [, mixed ... ]])
Registers a tick callback function
void restore_include_path()
Restore the value of the include_path configuration option
string set_include_path(string varname, string newvalue)
Sets the include_path configuration option
bool set_magic_quotes_runtime(int new_setting)
Set the current active configuration setting of magic_quotes_runtime and return previous
void sleep(int seconds)
Delay for a given number of seconds
mixed time_nanosleep(long seconds, long nanoseconds)
Delay for a number of seconds and nano seconds
void unregister_tick_function(string function_name)
Unregisters a tick callback function
void usleep(int micro_seconds)
Delay for a given number of micro seconds
# php-src/ext/standard/browscap.c
mixed get_browser([string browser_name [, bool return_array]])
Get information about the capabilities of a browser. If browser_name is omitted or null, HTTP_USER_AGENT is used. Returns an object by default; if return_array is true, returns an array.
# php-src/ext/standard/crc32.c
string crc32(string str)
Calculate the crc32 polynomial of a string
# php-src/ext/standard/crypt.c
string crypt(string str [, string salt])
Encrypt a string
# php-src/ext/standard/cyr_convert.c
string convert_cyr_string(string str, string from, string to)
Convert from one Cyrillic character set to another
# php-src/ext/standard/datetime.c
bool checkdate(int month, int day, int year)
Returns true(1) if it is a valid date in gregorian calendar
string date(string format [, int timestamp])
Format a local time/date
array getdate([int timestamp])
Get date/time information
string gmdate(string format [, int timestamp])
Format a GMT/UTC date/time
int gmmktime(int hour, int min, int sec, int mon, int day, int year)
Get UNIX timestamp for a GMT date
string gmstrftime(string format [, int timestamp])
Format a GMT/UCT time/date according to locale settings
int idate(string format [, int timestamp])
Format a local time/date as integer
array localtime([int timestamp [, bool associative_array]])
Returns the results of the C system call localtime as an associative array if the associative_array argument is set to 1 other wise it is a regular array
int mktime(int hour, int min, int sec, int mon, int day, int year)
Get UNIX timestamp for a date
string strftime(string format [, int timestamp])
Format a local time/date according to locale settings
string strptime(string timestamp, string format)
Parse a time/date generated with strftime()
int strtotime(string time, int now)
Convert string representation of date and time to a timestamp
int time(void)
Return current UNIX timestamp
# php-src/ext/standard/dir.c
bool chdir(string directory)
Change the current directory
bool chroot(string directory)
Change root directory
void closedir([resource dir_handle])
Close directory connection identified by the dir_handle
object dir(string directory[, resource context])
Directory class with properties, handle and class and methods read, rewind and close
mixed getcwd(void)
Gets the current directory
array glob(string pattern [, int flags])
Find pathnames matching a pattern
mixed opendir(string path[, resource context])
Open a directory and return a dir_handle
string readdir([resource dir_handle])
Read directory entry from dir_handle
void rewinddir([resource dir_handle])
Rewind dir_handle back to the start
array scandir(string dir [, int sorting_order [, resource context]])
List files & directories inside the specified path
# php-src/ext/standard/dl.c
int dl(string extension_filename)
Load a PHP extension at runtime
# php-src/ext/standard/dns.c
int dns_check_record(string host [, string type])
Check DNS records corresponding to a given Internet host name or IP address
bool dns_get_mx(string hostname, array mxhosts [, array weight])
Get MX records corresponding to a given Internet host name
array|false dns_get_record(string hostname [, int type[, array authns, array addtl]])
Get any Resource Record corresponding to a given Internet host name
string gethostbyaddr(string ip_address)
Get the Internet host name corresponding to a given IP address
string gethostbyname(string hostname)
Get the IP address corresponding to a given Internet host name
array gethostbynamel(string hostname)
Return a list of IP addresses that a given hostname resolves to.
# php-src/ext/standard/exec.c
string escapeshellarg(string arg)
Quote and escape an argument for use in a shell command
string escapeshellcmd(string command)
Escape shell metacharacters
string exec(string command [, array &output [, int &return_value]])
Execute an external program
void passthru(string command [, int &return_value])
Execute an external program and display raw output
bool proc_nice(int priority)
Change the priority of the current process
string shell_exec(string cmd)
Execute command via shell and return complete output as string
int system(string command [, int &return_value])
Execute an external program and display output
# php-src/ext/standard/file.c
bool copy(string source_file, string destination_file)
Copy a file
bool fclose(resource fp)
Close an open file pointer
bool feof(resource fp)
Test for end-of-file on a file pointer
bool fflush(resource fp)
Flushes output
string fgetc(resource fp)
Get a character from file pointer
array fgetcsv(resource fp [,int length [, string delimiter [, string enclosure]]])
Get line from file pointer and parse for CSV fields
string fgets(resource fp[, int length])
Get a line from file pointer
string fgetss(resource fp [, int length, string allowable_tags])
Get a line from file pointer and strip HTML tags
array file(string filename [, int flags[, resource context]])
Read entire file into an array
string file_get_contents(string filename [, bool use_include_path [, resource context [, long offset]]])
Read the entire file into a string
int file_put_contents(string file, mixed data [, int flags [, resource context]])
Write/Create a file with contents data and return the number of bytes written
bool flock(resource fp, int operation [, int &wouldblock])
Portable file locking
bool fnmatch(string pattern, string filename [, int flags])
Match filename against pattern
resource fopen(string filename, string mode [, bool use_include_path [, resource context]])
Open a file or a URL and return a file pointer
int fpassthru(resource fp)
Output all remaining data from a file pointer
int fputcsv(resource fp, array fields [, string delimiter [, string enclosure]])
Format line as CSV and write to file pointer
string fread(resource fp, int length)
Binary-safe file read
mixed fscanf(resource stream, string format [, string ...])
Implements a mostly ANSI compatible fscanf()
int fseek(resource fp, int offset [, int whence])
Seek on a file pointer
int fstat(resource fp)
Stat() on a filehandle
int ftell(resource fp)
Get file pointer's read/write position
bool ftruncate(resource fp, int size)
Truncate file to 'size' length
int fwrite(resource fp, string str [, int length])
Binary-safe file write
array get_meta_tags(string filename [, bool use_include_path])
Extracts all meta tag content attributes from a file and returns an array
int mkdir(char *dir int mode)
bool mkdir(string pathname [, int mode [, bool recursive [, resource context]]])
Create a directory
int pclose(resource fp)
Close a file pointer opened by popen()
resource popen(string command, string mode)
Execute a command and open either a read or a write pipe to it
int readfile(string filename [, bool use_include_path[, resource context]])
Output a file or a URL
string realpath(string path)
Return the resolved path
bool rename(string old_name, string new_name[, resource context])
Rename a file
bool rewind(resource fp)
Rewind the position of a file pointer
bool rmdir(string dirname[, resource context])
Remove a directory
string tempnam(string dir, string prefix)
Create a unique filename in a directory
resource tmpfile(void)
Create a temporary file that will be deleted automatically after use
int umask([int mask])
Return or change the umask
bool unlink(string filename[, context context])
Delete a file
# php-src/ext/standard/filestat.c
bool chgrp(string filename, mixed group)
Change file group
bool chmod(string filename, int mode)
Change file mode
bool chown (string filename, mixed user)
Change file owner
void clearstatcache(void)
Clear file stat cache
float disk_free_space(string path)
Get free disk space for filesystem that path is on
float disk_total_space(string path)
Get total disk space for filesystem that path is on
bool file_exists(string filename)
Returns true if filename exists
int fileatime(string filename)
Get last access time of file
int filectime(string filename)
Get inode modification time of file
int filegroup(string filename)
Get file group
int fileinode(string filename)
Get file inode
int filemtime(string filename)
Get last modification time of file
int fileowner(string filename)
Get file owner
int fileperms(string filename)
Get file permissions
int filesize(string filename)
Get file size
string filetype(string filename)
Get file type
bool is_dir(string filename)
Returns true if file is directory
bool is_executable(string filename)
Returns true if file is executable
bool is_file(string filename)
Returns true if file is a regular file
bool is_link(string filename)
Returns true if file is symbolic link
bool is_readable(string filename)
Returns true if file can be read
bool is_writable(string filename)
Returns true if file can be written
array lstat(string filename)
Give information about a file or symbolic link
array stat(string filename)
Give information about a file
bool touch(string filename [, int time [, int atime]])
Set modification time of file
# php-src/ext/standard/formatted_print.c
int fprintf(resource stream, string format [, mixed arg1 [, mixed ...]])
Output a formatted string into a stream
int printf(string format [, mixed arg1 [, mixed ...]])
Output a formatted string
string sprintf(string format [, mixed arg1 [, mixed ...]])
Return a formatted string
int vfprintf(resource stream, string format, array args)
Output a formatted string into a stream
int vprintf(string format, array args)
Output a formatted string
string vsprintf(string format, array args)
Return a formatted string
# php-src/ext/standard/fsock.c
resource fsockopen(string hostname, int port [, int errno [, string errstr [, float timeout]]])
Open Internet or Unix domain socket connection
resource pfsockopen(string hostname, int port [, int errno [, string errstr [, float timeout]]])
Open persistent Internet or Unix domain socket connection
# php-src/ext/standard/ftok.c
int ftok(string pathname, string proj)
Convert a pathname and a project identifier to a System V IPC key
# php-src/ext/standard/head.c
void header(string header [, bool replace, [int http_response_code]])
Sends a raw HTTP header
array headers_list(void)
Return list of headers to be sent / already sent
bool headers_sent([string &$file [, int &$line]])
Returns true if headers have already been sent, false otherwise
bool setcookie(string name [, string value [, int expires [, string path [, string domain [, bool secure]]]]])
Send a cookie
bool setrawcookie(string name [, string value [, int expires [, string path [, string domain [, bool secure]]]]])
Send a cookie with no url encoding of the value
# php-src/ext/standard/html.c
array get_html_translation_table([int table [, int quote_style]])
Returns the internal translation table used by htmlspecialchars and htmlentities
string html_entity_decode(string string [, int quote_style][, string charset])
Convert all HTML entities to their applicable characters
string htmlentities(string string [, int quote_style][, string charset])
Convert all applicable characters to HTML entities
string htmlspecialchars(string string [, int quote_style][, string charset])
Convert special characters to HTML entities
# php-src/ext/standard/http.c
string http_build_query(mixed formdata [, string prefix])
Generates a form-encoded query string from an associative array or object.
# php-src/ext/standard/image.c
array getimagesize(string imagefile [, array info])
Get the size of an image as 4-element array
string image_type_to_extension(int imagetype [, bool include_dot])
Get file extension for image-type returned by getimagesize, exif_read_data, exif_thumbnail, exif_imagetype
string image_type_to_mime_type(int imagetype)
Get Mime-Type for image-type returned by getimagesize, exif_read_data, exif_thumbnail, exif_imagetype
# php-src/ext/standard/info.c
string php_egg_logo_guid(void)
Return the special ID used to request the PHP logo in phpinfo screens
string php_ini_scanned_files(void)
Return comma-separated string of .ini files parsed from the additional ini dir
string php_logo_guid(void)
Return the special ID used to request the PHP logo in phpinfo screens
string php_real_logo_guid(void)
Return the special ID used to request the PHP logo in phpinfo screens
string php_sapi_name(void)
Return the current SAPI module name
string php_uname(void)
Return information about the system PHP was built on
void phpcredits([int flag])
Prints the list of people who've contributed to the PHP project
void phpinfo([int what])
Output a page of useful information about PHP and the current request
string phpversion([string extension])
Return the current PHP version
string zend_logo_guid(void)
Return the special ID used to request the Zend logo in phpinfo screens
# php-src/ext/standard/iptc.c
array iptcembed(string iptcdata, string jpeg_file_name [, int spool])
Embed binary IPTC data into a JPEG image.
array iptcparse(string iptcdata)
Parse binary IPTC-data into associative array
# php-src/ext/standard/lcg.c
float lcg_value()
Returns a value from the combined linear congruential generator
# php-src/ext/standard/levenshtein.c
int levenshtein(string str1, string str2)
Calculate Levenshtein distance between two strings
# php-src/ext/standard/link.c
int link(string target, string link)
Create a hard link
int linkinfo(string filename)
Returns the st_dev field of the UNIX C stat structure describing the link
string readlink(string filename)
Return the target of a symbolic link
int symlink(string target, string link)
Create a symbolic link
# php-src/ext/standard/mail.c
int ezmlm_hash(string addr)
Calculate EZMLM list hash value.
int mail(string to, string subject, string message [, string additional_headers [, string additional_parameters]])
Send an email message
# php-src/ext/standard/math.c
int abs(int number)
Return the absolute value of the number
float acos(float number)
Return the arc cosine of the number in radians
float acosh(float number)
Returns the inverse hyperbolic cosine of the number, i.e. the value whose hyperbolic cosine is number
float asin(float number)
Returns the arc sine of the number in radians
float asinh(float number)
Returns the inverse hyperbolic sine of the number, i.e. the value whose hyperbolic sine is number
float atan(float number)
Returns the arc tangent of the number in radians
float atan2(float y, float x)
Returns the arc tangent of y/x, with the resulting quadrant determined by the signs of y and x
float atanh(float number)
Returns the inverse hyperbolic tangent of the number, i.e. the value whose hyperbolic tangent is number
string base_convert(string number, int frombase, int tobase)
Converts a number in a string from any base <= 36 to any base <= 36
int bindec(string binary_number)
Returns the decimal equivalent of the binary number
float ceil(float number)
Returns the next highest integer value of the number
float cos(float number)
Returns the cosine of the number in radians
float cosh(float number)
Returns the hyperbolic cosine of the number, defined as (exp(number) exp(-number))/2
string decbin(int decimal_number)
Returns a string containing a binary representation of the number
string dechex(int decimal_number)
Returns a string containing a hexadecimal representation of the given number
string decoct(int decimal_number)
Returns a string containing an octal representation of the given number
float deg2rad(float number)
Converts the number in degrees to the radian equivalent
float exp(float number)
Returns e raised to the power of the number
float expm1(float number)
Returns exp(number) - 1, computed in a way that accurate even when the value of number is close to zero
float floor(float number)
Returns the next lowest integer value from the number
float fmod(float x, float y)
Returns the remainder of dividing x by y as a float
int hexdec(string hexadecimal_number)
Returns the decimal equivalent of the hexadecimal number
float hypot(float num1, float num2)
Returns sqrt(num1*num1 num2*num2)
bool is_finite(float val)
Returns whether argument is finite
bool is_infinite(float val)
Returns whether argument is infinite
bool is_nan(float val)
Returns whether argument is not a number
float log(float number, [float base])
Returns the natural logarithm of the number, or the base log if base is specified
float log10(float number)
Returns the base-10 logarithm of the number
float log1p(float number)
Returns log(1 number), computed in a way that accurate even when the value of number is close to zero
string number_format(float number [, int num_decimal_places [, string dec_seperator, string thousands_seperator]])
Formats a number with grouped thousands
int octdec(string octal_number)
Returns the decimal equivalent of an octal string
float pi(void)
Returns an approximation of pi
number pow(number base, number exponent)
Returns base raised to the power of exponent. Returns integer result when possible
float rad2deg(float number)
Converts the radian number to the equivalent number in degrees
float round(float number [, int precision])
Returns the number rounded to specified precision
float sin(float number)
Returns the sine of the number in radians
float sinh(float number)
Returns the hyperbolic sine of the number, defined as (exp(number) - exp(-number))/2
float sqrt(float number)
Returns the square root of the number
float tan(float number)
Returns the tangent of the number in radians
float tanh(float number)
Returns the hyperbolic tangent of the number, defined as sinh(number)/cosh(number)
# php-src/ext/standard/md5.c
string md5(string str, [ bool raw_output])
Calculate the md5 hash of a string
string md5_file(string filename [, bool raw_output])
Calculate the md5 hash of given filename
# php-src/ext/standard/metaphone.c
string metaphone(string text, int phones)
Break english phrases down into their phonemes
# php-src/ext/standard/microtime.c
array getrusage([int who])
Returns an array of usage statistics
array gettimeofday(void)
Returns the current time as array
mixed microtime([bool get_as_float])
Returns either a string or a float containing the current time in seconds and microseconds
# php-src/ext/standard/pack.c
string pack(string format, mixed arg1 [, mixed arg2 [, mixed ...]])
Takes one or more arguments and packs them into a binary string according to the format argument
array unpack(string format, string input)
Unpack binary string into named array elements according to format argument
# php-src/ext/standard/pageinfo.c
int getlastmod(void)
Get time of last page modification
int getmygid(void)
Get PHP script owner's GID
int getmyinode(void)
Get the inode of the current script being parsed
int getmypid(void)
Get current process ID
int getmyuid(void)
Get PHP script owner's UID
# php-src/ext/standard/proc_open.c
int proc_close(resource process)
close a process opened by proc_open
array proc_get_status(resource process)
get information about a process opened by proc_open
resource proc_open(string command, array descriptorspec, array &pipes [, string cwd [, array env [, array other_options]]])
Run a process with more control over it's file descriptors
int proc_terminate(resource process [, long signal])
kill a process opened by proc_open
# php-src/ext/standard/quot_print.c
string quoted_printable_decode(string str)
Convert a quoted-printable string to an 8 bit string
# php-src/ext/standard/rand.c
int getrandmax(void)
Returns the maximum value a random number can have
int mt_getrandmax(void)
Returns the maximum value a random number from Mersenne Twister can have
int mt_rand([int min, int max])
Returns a random number from Mersenne Twister
void mt_srand([int seed])
Seeds Mersenne Twister random number generator
int rand([int min, int max])
Returns a random number
void srand([int seed])
Seeds random number generator
# php-src/ext/standard/reg.c
int ereg(string pattern, string string [, array registers])
Regular expression match
string ereg_replace(string pattern, string replacement, string string)
Replace regular expression
int eregi(string pattern, string string [, array registers])
Case-insensitive regular expression match
string eregi_replace(string pattern, string replacement, string string)
Case insensitive replace regular expression
array split(string pattern, string string [, int limit])
Split string into array by regular expression
array spliti(string pattern, string string [, int limit])
Split string into array by regular expression case-insensitive
string sql_regcase(string string)
Make regular expression for case insensitive match
# php-src/ext/standard/sha1.c
string sha1(string str [, bool raw_output])
Calculate the sha1 hash of a string
string sha1_file(string filename [, bool raw_output])
Calculate the sha1 hash of given filename
# php-src/ext/standard/soundex.c
string soundex(string str)
Calculate the soundex key of a string
# php-src/ext/standard/streamsfuncs.c
bool set_socket_blocking(resource socket, int mode)
Set blocking/non-blocking mode on a socket
resource stream_context_create([array options])
Create a file context and optionally set parameters
resource stream_context_get_default([array options])
Get a handle on the default file/stream context and optionally set parameters
array stream_context_get_options(resource context|resource stream)
Retrieve options for a stream/wrapper/context
bool stream_context_set_option(resource context|resource stream, string wrappername, string optionname, mixed value)
Set an option for a wrapper
bool stream_context_set_params(resource context|resource stream, array options)
Set parameters for a file context
long stream_copy_to_stream(resource source, resource dest [, long maxlen ])
Reads up to maxlen bytes from source stream and writes them to dest stream.
resource stream_filter_append(resource stream, string filtername[, int read_write[, string filterparams]])
Append a filter to a stream
resource stream_filter_prepend(resource stream, string filtername[, int read_write[, string filterparams]])
Prepend a filter to a stream
bool stream_filter_remove(resource stream_filter)
Flushes any data in the filter's internal buffer, removes it from the chain, and frees the resource
long stream_get_contents(resource source [, long maxlen [, long offset]])
Reads all remaining bytes (or up to maxlen bytes) from a stream and returns them as a string.
string stream_get_line(resource stream, int maxlen [, string ending])
Read up to maxlen bytes from a stream or until the ending string is found
resource stream_get_meta_data(resource fp)
Retrieves header/meta data from streams/file pointers
array stream_get_transports()
Retrieves list of registered socket transports
array stream_get_wrappers()
Retrieves list of registered stream wrappers
int stream_select(array &read_streams, array &write_streams, array &except_streams, int tv_sec[, int tv_usec])
Runs the select() system call on the sets of streams with a timeout specified by tv_sec and tv_usec
bool stream_set_blocking(resource socket, int mode)
Set blocking/non-blocking mode on a socket or stream
bool stream_set_timeout(resource stream, int seconds, int microseconds)
Set timeout on stream read to seconds microseonds
int stream_set_write_buffer(resource fp, int buffer)
Set file write buffer
resource stream_socket_accept(resource serverstream, [ double timeout, string &peername ])
Accept a client connection from a server socket
resource stream_socket_client(string remoteaddress [, long &errcode, string &errstring, double timeout, long flags, resource context])
Open a client connection to a remote address
int stream_socket_enable_crypto(resource stream, bool enable [, int cryptokind, resource sessionstream])
Enable or disable a specific kind of crypto on the stream
string stream_socket_get_name(resource stream, bool want_peer)
Returns either the locally bound or remote name for a socket stream
array stream_socket_pair(int domain, int type, int protocol)
Creates a pair of connected, indistinguishable socket streams
string stream_socket_recvfrom(resource stream, long amount [, long flags [, string &remote_addr]])
Receives data from a socket stream
long stream_socket_sendto(resouce stream, string data [, long flags [, string target_addr]])
Send data to a socket stream. If target_addr is specified it must be in dotted quad (or [ipv6]) format
resource stream_socket_server(string localaddress [, long &errcode, string &errstring, long flags, resource context])
Create a server socket bound to localaddress
# php-src/ext/standard/string.c
string addcslashes(string str, string charlist)
Escapes all chars mentioned in charlist with backslash. It creates octal representations if asked to backslash characters with 8th bit set or with ASCII<32 (except '\n', '\r', '\t' etc...)
string addslashes(string str)
Escapes single quote, double quotes and backslash characters in a string with backslashes
string basename(string path [, string suffix])
Returns the filename component of the path
string bin2hex(string data)
Converts the binary representation of data to hex
string chr(int ascii)
Converts ASCII code to a character
string chunk_split(string str [, int chunklen [, string ending]])
Returns split line
mixed count_chars(string input [, int mode])
Returns info about what characters are used in input
string dirname(string path)
Returns the directory name component of the path
array explode(string separator, string str [, int limit])
Splits a string on string separator and return array of components. If limit is positive only limit number of components is returned. If limit is negative all components except the last abs(limit) are returned.
string hebrev(string str [, int max_chars_per_line])
Converts logical Hebrew text to visual text
string hebrevc(string str [, int max_chars_per_line])
Converts logical Hebrew text to visual text with newline conversion
string implode([string glue,] array pieces)
Joins array elements placing glue string between items and return one string
string join(array src, string glue)
An alias for implode
array localeconv(void)
Returns numeric formatting information based on the current locale
string ltrim(string str [, string character_mask])
Strips whitespace from the beginning of a string
string money_format(string format , float value)
Convert monetary value(s) to string
string nl2br(string str)
Converts newlines to HTML line breaks
string nl_langinfo(int item)
Query language and locale information
int ord(string character)
Returns ASCII value of character
void parse_str(string encoded_string [, array result])
Parses GET/POST/COOKIE data and sets global variables
array pathinfo(string path)
Returns information about a certain string
string quotemeta(string str)
Quotes meta characters
string rtrim(string str [, string character_mask])
Removes trailing whitespace
string setlocale(mixed category, string locale [, string ...])
Set locale information
int similar_text(string str1, string str2 [, float percent])
Calculates the similarity between two strings
mixed sscanf(string str, string format [, string ...])
Implements an ANSI C compatible sscanf
mixed str_ireplace(mixed search, mixed replace, mixed subject [, int &replace_count])
Replaces all occurrences of search in haystack with replace / case-insensitive
string str_pad(string input, int pad_length [, string pad_string [, int pad_type]])
Returns input string padded on the left or right to specified length with pad_string
string str_repeat(string input, int mult)
Returns the input string repeat mult times
mixed str_replace(mixed search, mixed replace, mixed subject [, int &replace_count])
Replaces all occurrences of search in haystack with replace
string str_rot13(string str)
Perform the rot13 transform on a string
void str_shuffle(string str)
Shuffles string. One permutation of all possible is created
array str_split(string str [, int split_length])
Convert a string to an array. If split_length is specified, break the string down into chunks each split_length characters long.
mixed str_word_count(string str, [int format])
Counts the number of words inside a string. If format of 1 is specified, then the function will return an array containing all the words found inside the string. If format of 2 is specified, then the function will return an associated array where the position of the word is the key and the word itself is the value. For the purpose of this function, 'word' is defined as a locale dependent string containing alphabetic characters, which also may contain, but not start with "'" and "-" characters.
string strchr(string haystack, string needle)
An alias for strstr
int strcoll(string str1, string str2)
Compares two strings using the current locale
int strcspn(string str, string mask [, start [, len]])
Finds length of initial segment consisting entirely of characters not found in mask. If start or/and length is provide works like strcspn(substr($s,$start,$len),$bad_chars)
string strip_tags(string str [, string allowable_tags])
Strips HTML and PHP tags from a string
string stripcslashes(string str)
Strips backslashes from a string. Uses C-style conventions
int stripos(string haystack, string needle [, int offset])
Finds position of first occurrence of a string within another, case insensitive
string stripslashes(string str)
Strips backslashes from a string
string stristr(string haystack, string needle)
Finds first occurrence of a string within another, case insensitive
int strnatcasecmp(string s1, string s2)
Returns the result of case-insensitive string comparison using 'natural' algorithm
int strnatcmp(string s1, string s2)
Returns the result of string comparison using 'natural' algorithm
array strpbrk(string haystack, string char_list)
Search a string for any of a set of characters
int strpos(string haystack, string needle [, int offset])
Finds position of first occurrence of a string within another
string strrchr(string haystack, string needle)
Finds the last occurrence of a character in a string within another
string strrev(string str)
Reverse a string
int strripos(string haystack, string needle [, int offset])
Finds position of last occurrence of a string within another string
int strrpos(string haystack, string needle [, int offset])
Finds position of last occurrence of a string within another string
int strspn(string str, string mask [, start [, len]])
Finds length of initial segment consisting entirely of characters found in mask. If start or/and length is provided works like strspn(substr($s,$start,$len),$good_chars)
string strstr(string haystack, string needle)
Finds first occurrence of a string within another
string strtok([string str,] string token)
Tokenize a string
string strtolower(string str)
Makes a string lowercase
string strtoupper(string str)
Makes a string uppercase
string strtr(string str, string from, string to)
Translates characters in str using given translation tables
string substr(string str, int start [, int length])
Returns part of a string
int substr_compare(string main_str, string str, int offset [, int length [, bool case_sensitivity]])
Binary safe optionally case insensitive comparison of 2 strings from an offset, up to length characters
int substr_count(string haystack, string needle)
Returns the number of times a substring occurs in the string
mixed substr_replace(mixed str, mixed repl, mixed start [, mixed length])
Replaces part of a string with another string
string trim(string str [, string character_mask])
Strips whitespace from the beginning and end of a string
string ucfirst(string str)
Makes a string's first character uppercase
string ucwords(string str)
Uppercase the first character of every word in a string
string wordwrap(string str [, int width [, string break [, boolean cut]]])
Wraps buffer to selected number of characters using string break char
# php-src/ext/standard/sunfuncs.c
mixed date_sunrise(mixed time [, int format [, float latitude [, float longitude [, float zenith [, float gmt_offset]]]]])
Returns time of sunrise for a given day and location
mixed date_sunset(mixed time [, int format [, float latitude [, float longitude [, float zenith [, float gmt_offset]]]]])
Returns time of sunset for a given day and location
# php-src/ext/standard/syslog.c
bool closelog(void)
Close connection to system logger
void define_syslog_variables(void)
Initializes all syslog-related variables
bool openlog(string ident, int option, int facility)
Open connection to system logger
bool syslog(int priority, string message)
Generate a system log message
# php-src/ext/standard/type.c
float floatval(mixed var)
Get the float value of a variable
string gettype(mixed var)
Returns the type of the variable
int intval(mixed var [, int base])
Get the integer value of a variable using the optional base for the conversion
bool is_array(mixed var)
Returns true if variable is an array
bool is_bool(mixed var)
Returns true if variable is a boolean
bool is_callable(mixed var [, bool syntax_only [, string callable_name]])
Returns true if var is callable.
bool is_float(mixed var)
Returns true if variable is float point
bool is_long(mixed var)
Returns true if variable is a long (integer)
bool is_null(mixed var)
Returns true if variable is null
bool is_numeric(mixed value)
Returns true if value is a number or a numeric string
bool is_object(mixed var)
Returns true if variable is an object
bool is_resource(mixed var)
Returns true if variable is a resource
bool is_scalar(mixed value)
Returns true if value is a scalar
bool is_string(mixed var)
Returns true if variable is a string
bool settype(mixed var, string type)
Set the type of the variable
string strval(mixed var)
Get the string value of a variable
# php-src/ext/standard/uniqid.c
string uniqid([string prefix , bool more_entropy])
Generates a unique ID
# php-src/ext/standard/url.c
array get_headers(string url)
fetches all the headers sent by the server in response to a HTTP request
array parse_url(string url)
Parse a URL and return its components
string rawurldecode(string str)
Decodes URL-encodes string
string rawurlencode(string str)
URL-encodes string
string urldecode(string str)
Decodes URL-encoded string
string urlencode(string str)
URL-encodes string
# php-src/ext/standard/user_filters.c
void stream_bucket_append(resource brigade, resource bucket)
Append bucket to brigade
object stream_bucket_make_writeable(resource brigade)
Return a bucket object from the brigade for operating on
resource stream_bucket_new(resource stream, string buffer)
Create a new bucket for use on the current stream
void stream_bucket_prepend(resource brigade, resource bucket)
Prepend bucket to brigade
bool stream_filter_register(string filtername, string classname)
Registers a custom filter handler class
array stream_get_filters(void)
Returns a list of registered filters
# php-src/ext/standard/uuencode.c
string uudecode(string data)
decode a uuencoded string
string uuencode(string data)
uuencode a string
# php-src/ext/standard/var.c
void debug_zval_dump(mixed var)
Dumps a string representation of an internal zend value to output.
int memory_get_usage()
Returns the allocated by PHP memory
string serialize(mixed variable)
Returns a string representation of variable (which can later be unserialized)
mixed unserialize(string variable_representation)
Takes a string representation of variable and recreates it
void var_dump(mixed var)
Dumps a string representation of variable to output
mixed var_export(mixed var [, bool return])
Outputs or returns a string representation of a variable
# php-src/ext/standard/versioning.c
int version_compare(string ver1, string ver2 [, string oper])
Compares two "PHP-standardized" version number strings
# php-src/ext/sybase/php_sybase_db.c
int sybase_affected_rows([int link_id])
Get number of affected rows in last query
bool sybase_close([int link_id])
Close Sybase connection
int sybase_connect([string host [, string user [, string password [, string charset [, string appname]]]]])
Open Sybase server connection
bool sybase_data_seek(int result, int offset)
Move internal row pointer
array sybase_fetch_array(int result)
Fetch row as array
object sybase_fetch_field(int result [, int offset])
Get field information
object sybase_fetch_object(int result)
Fetch row as object
array sybase_fetch_row(int result)
Get row as enumerated array
bool sybase_field_seek(int result, int offset)
Set field offset
bool sybase_free_result(int result)
Free result memory
string sybase_get_last_message(void)
Returns the last message from server (over min_message_severity)
void sybase_min_error_severity(int severity)
Sets the minimum error severity
void sybase_min_message_severity(int severity)
Sets the minimum message severity
int sybase_num_fields(int result)
Get number of fields in result
int sybase_num_rows(int result)
Get number of rows in result
int sybase_pconnect([string host [, string user [, string password [, string charset [, string appname]]]]])
Open persistent Sybase connection
int sybase_query(string query [, int link_id])
Send Sybase query
string sybase_result(int result, int row, mixed field)
Get result data
bool sybase_select_db(string database [, int link_id])
Select Sybase database
# php-src/ext/sybase_ct/php_sybase_ct.c
int sybase_affected_rows([int link_id])
Get number of affected rows in last query
bool sybase_close([int link_id])
Close Sybase connection
int sybase_connect([string host [, string user [, string password [, string charset [, string appname]]]]])
Open Sybase server connection
bool sybase_data_seek(int result, int offset)
Move internal row pointer
void sybase_deadlock_retry_count(int retry_count)
Sets deadlock retry count
array sybase_fetch_array(int result)
Fetch row as array
array sybase_fetch_assoc(int result)
Fetch row as array without numberic indices
object sybase_fetch_field(int result [, int offset])
Get field information
object sybase_fetch_object(int result [, mixed object])
Fetch row as object
array sybase_fetch_row(int result)
Get row as enumerated array
bool sybase_field_seek(int result, int offset)
Set field offset
bool sybase_free_result(int result)
Free result memory
string sybase_get_last_message(void)
Returns the last message from server (over min_message_severity)
void sybase_min_client_severity(int severity)
Sets minimum client severity
void sybase_min_server_severity(int severity)
Sets minimum server severity
int sybase_num_fields(int result)
Get number of fields in result
int sybase_num_rows(int result)
Get number of rows in result
int sybase_pconnect([string host [, string user [, string password [, string charset [, string appname]]]]])
Open persistent Sybase connection
int sybase_query(string query [, int link_id])
Send Sybase query
string sybase_result(int result, int row, mixed field)
Get result data
bool sybase_select_db(string database [, int link_id])
Select Sybase database
bool sybase_set_message_handler(mixed error_func [, resource connection])
Set the error handler, to be called when a server message is raised. If error_func is NULL the handler will be deleted
int sybase_unbuffered_query(string query [, int link_id])
Send Sybase query
# php-src/ext/sysvmsg/sysvmsg.c
resource msg_get_queue(int key [, int perms])
Attach to a message queue
mixed msg_receive(resource queue, int desiredmsgtype, int &msgtype, int maxsize, mixed message [, bool unserialize=true [, int flags=0 [, int errorcode]]])
Send a message of type msgtype (must be > 0) to a message queue
bool msg_remove_queue(resource queue)
Destroy the queue
bool msg_send(resource queue, int msgtype, mixed message [, bool serialize=true [, bool blocking=true [, int errorcode]]])
Send a message of type msgtype (must be > 0) to a message queue
bool msg_set_queue(resource queue, array data)
Set information for a message queue
array msg_stat_queue(resource queue)
Returns information about a message queue
# php-src/ext/sysvsem/sysvsem.c
bool sem_acquire(resource id)
Acquires the semaphore with the given id, blocking if necessary
resource sem_get(int key [, int max_acquire [, int perm [, int auto_release]])
Return an id for the semaphore with the given key, and allow max_acquire (default 1) processes to acquire it simultaneously
bool sem_release(resource id)
Releases the semaphore with the given id
bool sem_remove(resource id)
Removes semaphore from Unix systems
# php-src/ext/sysvshm/sysvshm.c
int shm_attach(int key [, int memsize [, int perm]])
Creates or open a shared memory segment
bool shm_detach(int shm_identifier)
Disconnects from shared memory segment
mixed shm_get_var(int id, int variable_key)
Returns a variable from shared memory
bool shm_put_var(int shm_identifier, int variable_key, mixed variable)
Inserts or updates a variable in shared memory
bool shm_remove(int shm_identifier)
Removes shared memory from Unix systems
bool shm_remove_var(int id, int variable_key)
Removes variable from shared memory
# php-src/ext/tidy/tidy.c
tidyNode::tidyNode()
Constructor.
boolean tidyNode::hasChildren()
Returns true if this node has children
boolean tidyNode::hasSiblings()
Returns true if this node has siblings
boolean tidyNode::isAsp()
Returns true if this node is ASP
boolean tidyNode::isComment()
Returns true if this node represents a comment
boolean tidyNode::isHtml()
Returns true if this node is part of a HTML document
boolean tidyNode::isJste()
Returns true if this node is JSTE
boolean tidyNode::isPhp()
Returns true if this node is PHP
boolean tidyNode::isText()
Returns true if this node represents text (no markup)
boolean tidyNode::isXhtml()
Returns true if this node is part of a XHTML document
boolean tidyNode::isXml()
Returns true if this node is part of a XML document
int tidy_access_count()
Returns the Number of Tidy accessibility warnings encountered for specified document.
boolean tidy_clean_repair()
Execute configured cleanup and repair operations on parsed markup
int tidy_config_count()
Returns the Number of Tidy configuration errors encountered for specified document.
boolean tidy_diagnose()
Run configured diagnostics on parsed and repaired markup.
int tidy_error_count()
Returns the Number of Tidy errors encountered for specified document.
TidyNode tidy_get_body(resource tidy)
Returns a TidyNode Object starting from the <BODY> tag of the tidy parse tree
array tidy_get_config()
Get current Tidy configuarion
string tidy_get_error_buffer([boolean detailed])
Return warnings and errors which occured parsing the specified document
TidyNode tidy_get_head()
Returns a TidyNode Object starting from the <HEAD> tag of the tidy parse tree
TidyNode tidy_get_html()
Returns a TidyNode Object starting from the <HTML> tag of the tidy parse tree
int tidy_get_html_ver()
Get the Detected HTML version for the specified document.
string tidy_get_output()
Return a string representing the parsed tidy markup
string tidy_get_release()
Get release date (version) for Tidy library
TidyNode tidy_get_root()
Returns a TidyNode Object representing the root of the tidy parse tree
int tidy_get_status()
Get status of specfied document.
mixed tidy_getopt(string option)
Returns the value of the specified configuration option for the tidy document.
boolean tidy_is_xhtml()
Indicates if the document is a XHTML document.
boolean tidy_is_xhtml()
Indicates if the document is a generic (non HTML/XHTML) XML document.
boolean tidy_parse_file(string file [, mixed config_options [, string encoding [, bool use_include_path]]])
Parse markup in file or URI
bool tidy_parse_string(string input [, mixed config_options [, string encoding]])
Parse a document stored in a string
boolean tidy_repair_file(string filename [, mixed config_file [, string encoding [, bool use_include_path]]])
Repair a file using an optionally provided configuration file
boolean tidy_repair_string(string data [, mixed config_file [, string encoding]])
Repair a string using an optionally provided configuration file
int tidy_warning_count()
Returns the Number of Tidy warnings encountered for specified document.
# php-src/ext/tokenizer/tokenizer.c
array token_get_all(string source)
string token_name(int type)
# php-src/ext/w32api/w32api.c
* Creates an exact clone of the object.
* Creates an instance of type TypeName
* Decreases the reference count on a variable
* Defines a C Like Type for use.
* Registers a callback type
* Registers and Loads a function from an underlying Dll
* Returns the size of a registered type
* Unregisters a previously loaded function
# php-src/ext/wddx/wddx.c
int wddx_add_vars(int packet_id, mixed var_names [, mixed ...])
Serializes given variables and adds them to packet given by packet_id
mixed wddx_deserialize(mixed packet)
Deserializes given packet and returns a PHP value
string wddx_packet_end(int packet_id)
Ends specified WDDX packet and returns the string containing the packet
int wddx_packet_start([string comment])
Starts a WDDX packet with optional comment and returns the packet id
string wddx_serialize_value(mixed var [, string comment])
Creates a new packet and serializes the given value
string wddx_serialize_vars(mixed var_name [, mixed ...])
Creates a new packet and serializes given variables into a struct
# php-src/ext/xml/xml.c
string utf8_decode(string data)
Converts a UTF-8 encoded string to ISO-8859-1
string utf8_encode(string data)
Encodes an ISO-8859-1 string to UTF-8
string xml_error_string(int code)
Get XML parser error string
int xml_get_current_byte_index(resource parser)
Get current byte index for an XML parser
int xml_get_current_column_number(resource parser)
Get current column number for an XML parser
int xml_get_current_line_number(resource parser)
Get current line number for an XML parser
int xml_get_error_code(resource parser)
Get XML parser error code
int xml_parse(resource parser, string data [, int isFinal])
Start parsing an XML document
int xml_parse_into_struct(resource parser, string data, array &struct, array &index)
Parsing a XML document
resource xml_parser_create([string encoding])
Create an XML parser
resource xml_parser_create_ns([string encoding [, string sep]])
Create an XML parser
int xml_parser_free(resource parser)
Free an XML parser
int xml_parser_get_option(resource parser, int option)
Get options from an XML parser
int xml_parser_set_option(resource parser, int option, mixed value)
Set options in an XML parser
int xml_set_character_data_handler(resource parser, string hdl)
Set up character data handler
int xml_set_default_handler(resource parser, string hdl)
Set up default handler
int xml_set_element_handler(resource parser, string shdl, string ehdl)
Set up start and end element handlers
int xml_set_end_namespace_decl_handler(resource parser, string hdl)
Set up character data handler
int xml_set_external_entity_ref_handler(resource parser, string hdl)
Set up external entity reference handler
int xml_set_notation_decl_handler(resource parser, string hdl)
Set up notation declaration handler
int xml_set_object(resource parser, object &obj)
Set up object which should be used for callbacks
int xml_set_processing_instruction_handler(resource parser, string hdl)
Set up processing instruction (PI) handler
int xml_set_start_namespace_decl_handler(resource parser, string hdl)
Set up character data handler
int xml_set_unparsed_entity_decl_handler(resource parser, string hdl)
Set up unparsed entity declaration handler
# php-src/ext/xmlrpc/xmlrpc-epi-php.c
array xmlrpc_decode(string xml [, string encoding])
Decodes XML into native PHP types
array xmlrpc_decode_request(string xml, string& method [, string encoding])
Decodes XML into native PHP types
string xmlrpc_encode(mixed value)
Generates XML for a PHP value
string xmlrpc_encode_request(string method, mixed params)
Generates XML for a method request
string xmlrpc_get_type(mixed value)
Gets xmlrpc type for a PHP value. Especially useful for base64 and datetime strings
bool xmlrpc_is_fault(array)
Determines if an array value represents an XMLRPC fault.
array xmlrpc_parse_method_descriptions(string xml)
Decodes XML into a list of method descriptions
int xmlrpc_server_add_introspection_data(resource server, array desc)
Adds introspection documentation
mixed xmlrpc_server_call_method(resource server, string xml, mixed user_data [, array output_options])
Parses XML requests and call methods
resource xmlrpc_server_create(void)
Creates an xmlrpc server
int xmlrpc_server_destroy(resource server)
Destroys server resources
bool xmlrpc_server_register_introspection_callback(resource server, string function)
Register a PHP function to generate documentation
bool xmlrpc_server_register_method(resource server, string method_name, string function)
Register a PHP function to handle method matching method_name
bool xmlrpc_set_type(string value, string type)
Sets xmlrpc type, base64 or datetime, for a PHP string value
# php-src/ext/xsl/xsltprocessor.c
xsl_xsltprocessor_has_exslt_support();
xsl_xsltprocessor_register_php_functions();
xsl_ xsl_xsltprocessor_get_parameter(string namespace, string name);
xsl_xsltdocucument xsl_xsltprocessor_import_stylesheet(node index);
URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html# Since:
xsl_ xsl_xsltprocessor_remove_parameter(string namespace, string name);
xsl_ xsl_xsltprocessor_set_parameter(string namespace, mixed name [, string value]);
xsl_document xsl_xsltprocessor_transform_to_doc(node doc [,boolean clone]);
URL: http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030226/DOM3-Core.html# Since:
xsl_ xsl_xsltprocessor_transform_to_uri(node doc, string uri [,boolean clone]);
xsl_string xsl_xsltprocessor_transform_to_xml(node doc [,boolean clone]);
# php-src/ext/yp/yp.c
bool yp_all(string domain, string map, string callback)
Traverse the map and call a function on each entry
array yp_cat(string domain, string map)
Return an array containing the entire map
string yp_err_string(int errorcode)
Returns the corresponding error string for the given error code
int yp_errno()
Returns the error code from the last call or 0 if no error occured
array yp_first(string domain, string map)
Returns the first key as array with $var[$key] and the the line as the value
string yp_get_default_domain(void)
Returns the domain or false
string yp_master(string domain, string map)
Returns the machine name of the master
string yp_match(string domain, string map, string key)
Returns the matched line or false
array yp_next(string domain, string map, string key)
Returns an array with $var[$key] and the the line as the value
int yp_order(string domain, string map)
Returns the order number or false
# php-src/ext/zlib/zlib.c
string gzcompress(string data [, int level])
Gzip-compress a string
string gzdeflate(string data [, int level])
Gzip-compress a string
string gzencode(string data [, int level [, int encoding_mode]])
GZ encode a string
array gzfile(string filename [, int use_include_path])
Read und uncompress entire .gz-file into an array
string gzinflate(string data [, int length])
Unzip a gzip-compressed string
resource gzopen(string filename, string mode [, int use_include_path])
Open a .gz-file and return a .gz-file pointer
string gzuncompress(string data [, int length])
Unzip a gzip-compressed string
string ob_gzhandler(string str, int mode)
Encode str based on accept-encoding setting - designed to be called from ob_start()
int readgzfile(string filename [, int use_include_path])
Output a .gz-file
string zlib_get_coding_type(void)
Returns the coding type used for output compression
# php-src/main/main.c
bool set_time_limit(int seconds)
Sets the maximum time a script can run
# php-src/main/output.c
bool ob_clean(void)
Clean (delete) the current output buffer
bool ob_end_clean(void)
Clean the output buffer, and delete current output buffer
bool ob_end_flush(void)
Flush (send) the output buffer, and delete current output buffer
bool ob_flush(void)
Flush (send) contents of the output buffer. The last buffer content is sent to next buffer
bool ob_get_clean(void)
Get current buffer contents and delete current output buffer
string ob_get_contents(void)
Return the contents of the output buffer
bool ob_get_flush(void)
Get current buffer contents, flush (send) the output buffer, and delete current output buffer
int ob_get_length(void)
Return the length of the output buffer
int ob_get_level(void)
Return the nesting level of the output buffer
false|array ob_get_status([bool full_status])
Return the status of the active or all output buffers
void ob_implicit_flush([int flag])
Turn implicit flush on/off and is equivalent to calling flush() after every output call
false|array ob_list_handlers()
* List all output_buffers in an array
bool ob_start([ string|array user_function [, int chunk_size [, bool erase]]])
Turn on Output Buffering (specifying an optional output handler).
bool output_add_rewrite_var(string name, string value)
Add URL rewriter values
bool output_reset_rewrite_vars(void)
Reset(clear) URL rewriter values
# php-src/main/streams/userspace.c
bool stream_wrapper_register(string protocol, string classname)
Registers a custom URL protocol handler class
# php-src/sapi/apache/mod_php5.c
# php-src/sapi/apache/php_apache.c
bool apache_child_terminate(void)
Terminate apache process after this request
array apache_get_modules(void)
Get a list of loaded Apache modules
string apache_get_version(void)
Fetch Apache version
object apache_lookup_uri(string URI)
Perform a partial request of the given URI to obtain information about it
string apache_note(string note_name [, string note_value])
Get and set Apache request notes
array apache_request_headers(void)
Fetch all HTTP request headers
bool apache_reset_timeout(void)
Reset the Apache write timer
array apache_response_headers(void)
Fetch all HTTP response headers
bool apache_setenv(string variable, string value [, bool walk_to_top])
Set an Apache subprocess_env variable
array getallheaders(void)
Alias for apache_request_headers()
bool virtual(string filename)
Perform an Apache sub-request
# php-src/sapi/apache2filter/php_functions.c
array apache_get_modules(void)
Get a list of loaded Apache modules
string apache_get_version(void)
Fetch Apache version
bool apache_getenv(string variable [, bool walk_to_top])
Get an Apache subprocess_env variable
string apache_note(string note_name [, string note_value])
Get and set Apache request notes
array apache_response_headers(void)
Fetch all HTTP response headers
bool apache_setenv(string variable, string value [, bool walk_to_top])
Set an Apache subprocess_env variable
array getallheaders(void)
Fetch all HTTP request headers
bool virtual(string uri)
Perform an apache sub-request
# php-src/sapi/apache2handler/php_functions.c
array apache_get_modules(void)
Get a list of loaded Apache modules
string apache_get_version(void)
Fetch Apache version
bool apache_getenv(string variable [, bool walk_to_top])
Get an Apache subprocess_env variable
string apache_note(string note_name [, string note_value])
Get and set Apache request notes
array apache_response_headers(void)
Fetch all HTTP response headers
bool apache_setenv(string variable, string value [, bool walk_to_top])
Set an Apache subprocess_env variable
array getallheaders(void)
Fetch all HTTP request headers
bool virtual(string uri)
Perform an apache sub-request
# php-src/sapi/apache_hooks/mod_php5.c
# php-src/sapi/apache_hooks/php_apache.c
apache_request_basic_auth_pw()
int ApacheRequest::allowed([int allowed])
string ApacheRequest::args([string new_args])
int ApacheRequest::assbackwards()
string ApacheRequest::boundary()
int ApacheRequest::bytes_sent()
int ApacheRequest::chunked()
string ApacheRequest::content_encoding([string new_encoding])
int ApacheRequest::content_length([int new_content_length])
string ApacheRequest::content_type([string new_type])
string ApacheRequest::filename([string new_filename])
string ApacheRequest::handler([string new_handler])
int ApacheRequest::header_only()
string ApacheRequest::hostname()
string ApacheRequest::method()
int ApacheRequest::method_number([int method_number])
int ApacheRequest::mtime()
int ApacheRequest::no_cache()
int ApacheRequest::no_local_copy()
string ApacheRequest::path_info([string new_path_info])
int ApacheRequest::proto_num()
string ApacheRequest::protocol()
int ApacheRequest::proxyreq([int new_proxyreq])
int ApacheRequest::read_body()
int ApacheRequest::remaining()
int ApacheRequest::request_time()
int ApacheRequest::status([int new_status])
string ApacheRequest::status_line([string new_status_line])
string ApacheRequest::the_request()
string ApacheRequest::unparsed_uri([string new_unparsed_uri])
string ApacheRequest::uri([string new_uri])
bool apache_child_terminate(void)
Terminate apache process after this request
array apache_get_modules(void)
Get a list of loaded Apache modules
string apache_get_version(void)
Fetch Apache version
object apache_lookup_uri(string URI)
Perform a partial request of the given URI to obtain information about it
string apache_note(string note_name [, string note_value])
Get and set Apache request notes
string apache_request_auth_name()
string apache_request_auth_type()
long apache_request_discard_request_body()
array apache_request_err_headers_out([{string name|array list} [, string value [, bool replace = false]]])
* fetch all headers that go out in case of an error or a subrequest
array apache_request_headers(void)
Fetch all HTTP request headers
array apache_request_headers_in()
* fetch all incoming request headers
array apache_request_headers_out([{string name|array list} [, string value [, bool replace = false]]])
* fetch all outgoing request headers
bool apache_request_is_initial_req()
boolean apache_request_log_error(string message, [long facility])
long apache_request_meets_conditions()
int apache_request_remote_host([int type])
long apache_request_run()
This is a wrapper for ap_sub_run_req and ap_destory_sub_req. It takes sub_request, runs it, destroys it, and returns it's status.
long apache_request_satisfies()
int apache_request_server_port()
void apache_request_set_etag()
void apache_request_set_last_modified()
bool apache_request_some_auth_required()
object apache_request_sub_req_lookup_file(string file)
Returns sub-request for the specified file. You would need to run it yourself with run().
object apache_request_sub_req_lookup_uri(string uri)
Returns sub-request for the specified uri. You would need to run it yourself with run()
object apache_request_sub_req_method_uri(string method, string uri)
Returns sub-request for the specified file. You would need to run it yourself with run().
long apache_request_update_mtime([int dependency_mtime])
array apache_response_headers(void)
Fetch all HTTP response headers
bool apache_setenv(string variable, string value [, bool walk_to_top])
Set an Apache subprocess_env variable
array getallheaders(void)
bool virtual(string filename)
Perform an Apache sub-request
# php-src/sapi/milter/php_milter.c
string smfi_addheader(string headerf, string headerv)
Adds a header to the current message.
string smfi_addrcpt(string rcpt)
Add a recipient to the message envelope.
string smfi_chgheader(string headerf, string headerv)
Changes a header's value for the current message.
string smfi_delrcpt(string rcpt)
Removes the named recipient from the current message's envelope.
string smfi_getsymval(string macro)
Returns the value of the given macro or NULL if the macro is not defined.
string smfi_replacebody(string body)
Replaces the body of the current message. If called more than once, subsequent calls result in data being appended to the new body.
string smfi_setflags(long flags)
Sets the flags describing the actions the filter may take.
string smfi_setreply(string rcode, string xcode, string message)
Directly set the SMTP error reply code for this connection. This code will be used on subsequent error replies resulting from actions taken by this filter.
string smfi_settimeout(long timeout)
Sets the number of seconds libmilter will wait for an MTA connection before timing out a socket.
# php-src/sapi/nsapi/nsapi.c
array nsapi_request_headers(void)
Get all headers from the request
array nsapi_response_headers(void)
Get all headers from the response
bool nsapi_virtual(string uri)
Perform an NSAPI sub-request
|