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
|
# php4/Zend/zend_builtin_functions.c
bool class_exists(string classname)
Checks if the class exists
string create_function(string args, string code)
Creates an anonymous function, and returns its name (funny, eh?)
bool define(string constant_name)
Check whether a constant exists
bool define(string constant_name, mixed value, case_sensitive=true)
Define a new constant
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(void)
Returns an array of all declared classes.
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.
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
string set_error_handler(string error_handler)
Sets a user-defined error handler function. Returns the previously defined error 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
# php4/ext/aspell/aspell.c
int aspell_check(aspell int, string word)
Return if word is valid
int aspell_check_raw(aspell int, string word)
Return if word is valid, ignoring case or trying to trim it in any way
int aspell_new(string master [, string personal])
Load a dictionary
array aspell_suggest(aspell int, string word)
Return array of Suggestions
# php4/ext/bcmath/bcmath.c
string bcadd(string left_operand, string right_operand [, int scale])
Returns the sum of two arbitrary precision numbers
string 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 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
# php4/ext/bz2/bz2.c
int bzclose(resource bz)
Closes a BZip2 stream
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
int bzflush(resource bz)
Flushes a BZip2 stream
resource bzopen(string|int file|fp, string mode)
Opens a new BZip2 stream
string bzread(resource bz [, int len])
Reads len bytes from the BZip2 stream given by bz
int bzwrite(resource bz, string data [, int len])
Writes data to the BZip2 stream given by bz
# php4/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
# php4/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)
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
# php4/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])
Return the number of days after March 21 that Easter falls on for a given year (defaults to current year)
# php4/ext/ccvs/ccvs.c
string ccvs_add(string session, string invoice, string argtype, string argval)
Add data to a transaction
string ccvs_auth(string session, string invoice)
Perform credit authorization test on a transaction
string ccvs_command(string session, string type, string argval)
Performs a command which is peculiar to a single protocol, and thus is not available in the general CCVS API
int ccvs_count(string session, string type)
Find out how many transactions of a given type are stored in the system
string ccvs_delete(string session, string invoice)
Delete a transaction
string ccvs_done(string sess)
Terminate CCVS engine and do cleanup work
string ccvs_init(string name)
Initialize CCVS for use
string ccvs_lookup(string session, string invoice, int inum)
Look up an item of a particular type in the database
string ccvs_new(string session, string invoice)
Create a new, blank transaction
string ccvs_report(string session, string type)
Return the status of the background communication process
string ccvs_return(string session, string invoice)
Transfer funds from the merchant to the credit card holder
string ccvs_reverse(string session, string invoice)
Perform a full reversal on an already-processed authorization
string ccvs_sale(string session, string invoice)
Transfer funds from the credit card holder to the merchant
string ccvs_status(string session, string invoice)
Check the status of an invoice
string ccvs_textvalue(string session)
Get text return value for previous function call
string ccvs_void(string session, string invoice)
Perform a full reversal on a completed transaction
# php4/ext/com/COM.c
mixed com_addref(int module)
Increases the reference counter on a COM object
mixed com_invoke(int module, string handler_name [, mixed arg [, mixed ...]])
Invokes a COM module
bool com_isenum(object com_module)
Grabs an IEnumVariant
int com_load(string module_name [, string remote_host [, int codepage [, string typelib]]])
Loads a COM module
bool com_load_typelib(string typelib_name [, int case_insensitive])
Loads a Typelib
mixed com_propget(int module, string property_name)
Gets properties from a COM module
bool com_propput(int module, string property_name, mixed value)
Puts the properties for a module
mixed com_release(int module)
Releases a COM object
# php4/ext/cpdf/cpdf.c
void 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
void cpdf_arc(int pdfdoc, float x, float y, float radius, float start, float end [, int mode])
Draws an arc
void cpdf_begin_text(int pdfdoc)
Starts text section
void cpdf_circle(int pdfdoc, float x, float y, float radius [, int mode])
Draws a circle
void cpdf_clip(int pdfdoc)
Clips to current path
void cpdf_close(int pdfdoc)
Closes the pdf document
void cpdf_closepath(int pdfdoc)
Close path
void cpdf_closepath_fill_stroke(int pdfdoc)
Close, fill and stroke current path
void cpdf_closepath_stroke(int pdfdoc)
Close path and draw line along path
void cpdf_continue_text(int pdfdoc, string text)
Outputs text in next line
void cpdf_curveto(int pdfdoc, float x1, float y1, float x2, float y2, float x3, float y3 [, int mode])
Draws a curve
void cpdf_end_text(int pdfdoc)
Ends text section
void cpdf_fill(int pdfdoc)
Fills current path
void cpdf_fill_stroke(int pdfdoc)
Fills and stroke current path
array cpdf_finalize(int pdfdoc)
Creates PDF doc in memory
void cpdf_finalize_page(int pdfdoc, int pagenr)
Ends the page to save memory
void cpdf_global_set_document_limits(int maxPages, int maxFonts, int maxImages, int maxAnnots, int maxObjects)
Sets document settings for all documents
void 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
void cpdf_lineto(int pdfdoc, float x, float y [, int mode])
Draws a line
void cpdf_moveto(int pdfdoc, float x, float y [, int mode])
Sets current point
void cpdf_newpath(int pdfdoc)
Starts new path
int cpdf_open(int compression [, string filename [, array doc_limits]])
Opens a new pdf document
array cpdf_output_buffer(int pdfdoc)
Returns the internal memory stream as string
void cpdf_page_init(int pdfdoc, int pagenr, int orientation, int height, int width [, float unit])
Starts page
void cpdf_place_inline_image(int pdfdoc, int gdimage, float x, float y, float angle, fload width, float height, int gsave [, int mode])
Includes image
void cpdf_rect(int pdfdoc, float x, float y, float width, float height [, int mode])
Draws a rectangle
void cpdf_restore(int pdfdoc)
Restores formerly saved enviroment
void cpdf_rlineto(int pdfdoc, float x, float y [, int mode])
Draws a line relative to current point
void cpdf_rmoveto(int pdfdoc, float x, float y [, int mode])
Sets current point
void cpdf_rotate(int pdfdoc, float angle)
Sets rotation
void cpdf_rotate_text(int pdfdoc, float angle)
Sets text rotation angle
void cpdf_save(int pdfdoc)
Saves current enviroment
array cpdf_save_to_file(int pdfdoc, string filename)
Saves the internal memory stream to a file
void cpdf_scale(int pdfdoc, float x_scale, float y_scale)
Sets scaling
void cpdf_set_action_url(int pdfdoc, float xll, float yll, float xur, float xur, string url [, int mode])
Sets hyperlink
void cpdf_set_char_spacing(int pdfdoc, float space)
Sets character spacing
bool cpdf_set_creator(int pdfdoc, string creator)
Sets the creator field
void cpdf_set_current_page(int pdfdoc, int pagenr)
Sets page for output
void cpdf_set_font(int pdfdoc, string font, float size, string encoding)
Selects the current font face, size and encoding
void cpdf_set_font_directories(int pdfdoc, string pfmdir, string pfbdir)
Sets directories to search when using external fonts
void cpdf_set_font_map_file(int pdfdoc, string filename)
Sets fontname to filename translation map when using external fonts
void 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
void cpdf_set_leading(int pdfdoc, float distance)
Sets distance between text lines
void 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
void cpdf_set_text_matrix(int pdfdoc, arry matrix)
Sets the text matrix
void cpdf_set_text_pos(int pdfdoc, float x, float y [, int mode])
Sets the position of text for the next cpdf_show call
void cpdf_set_text_rendering(int pdfdoc, int rendermode)
Determines how text is rendered
void 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
void cpdf_set_viewer_preferences(int pdfdoc, array preferences)
How to show the document in the viewer
void cpdf_set_word_spacing(int pdfdoc, float space)
Sets spacing between words
void cpdf_setdash(int pdfdoc, long white, long black)
Sets dash pattern
void cpdf_setflat(int pdfdoc, float value)
Sets flatness
void cpdf_setgray(int pdfdoc, float value)
Sets drawing and filling color to gray value
void cpdf_setgray_fill(int pdfdoc, float value)
Sets filling color to gray value
void cpdf_setgray_stroke(int pdfdoc, float value)
Sets drawing color to gray value
void cpdf_setlinecap(int pdfdoc, int value)
Sets linecap parameter
void cpdf_setlinejoin(int pdfdoc, int value)
Sets linejoin parameter
void cpdf_setlinewidth(int pdfdoc, float width)
Sets line width
void cpdf_setmiterlimit(int pdfdoc, float value)
Sets miter limit
void cpdf_setrgbcolor(int pdfdoc, float red, float green, float blue)
Sets drawing and filling color to RGB color value
void cpdf_setrgbcolor_fill(int pdfdoc, float red, float green, float blue)
Sets filling color to rgb color value
void cpdf_setrgbcolor_stroke(int pdfdoc, float red, float green, float blue)
Sets drawing color to RGB color value
void cpdf_show(int pdfdoc, string text)
Output text at current position
void 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
void cpdf_stroke(int pdfdoc)
Draws line along path path
void cpdf_text(int pdfdoc, string text [, float x-koor, float y-koor [, int mode [, float orientation [, int alignmode]]]])
Outputs text
void cpdf_translate(int pdfdoc, float x, float y)
Sets origin of coordinate system
# php4/ext/crack/crack.c
string crack_check([int dictionary,] string password)
Performs an obscure check with the given password
string crack_closedict([int link_identifier])
Closes an open cracklib dictionary
string crack_getlastmessage(void)
Returns the message from the last obscure check
string crack_opendict(string dictionary)
Opens a new cracklib dictionary
# php4/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
# php4/ext/curl/curl.c
void curl_close(int ch)
Close a CURL session
int curl_errno(int ch)
Return an integer containing the last error number
string curl_error(int ch)
Return a string contain the last error for the current session
bool curl_exec(int ch)
Perform a CURL session
string curl_getinfo(int ch, int opt)
Get information regarding a specific transfer
int curl_init([string url])
Initialize a CURL session
bool curl_setopt(int ch, string option, mixed value)
Set an option for a CURL transfer
string curl_version(void)
Return the CURL version string.
# php4/ext/cybercash/cybercash.c
string cybercash_base64_decode(string data)
base64 decode data for cybercash
string cybercash_base64_encode(string data)
base64 encode data for cybercash
array cybercash_decr(string wmp, string sk, string data)
Cybercash decrypt
array cybercash_encr(string wmk, string sk, string data)
Cybercash encrypt
# php4/ext/cybermut/cybermut.c
string cybermut_creerformulairecm(string url_CM, string version, string TPE, string montant, string ref_commande, string texte_libre, string url_retour, string url_retour_ok, string url_retour_err, string langue, string code_societe, string texte_bouton)
Returns a string containing source HTML of the form of request for payment. This result corresponds to the last parameter "formulaire" of the original function which was removed
string cybermut_creerreponsecm(string phrase)
Returns a string containing the message of acknowledgement of delivery (headers and body of the message). This result corresponds to the last parameter "reponse" of the original function which was removed
bool cybermut_testmac(string code_MAC, string version, string TPE, string cdate, string montant, string ref_commande, string texte_libre, string code_retour)
Returns a boolean attesting that the authentification proceeded well. TRUE if the received message is authenticated and FALSE if not
# php4/ext/cyrus/cyrus.c
bool cyrus_authenticate( resource connection [, string mechlist [, string service [, string user [, int minssf [, int maxssf]]]]])
Authenticate agaings a Cyrus IMAP server
bool cyrus_bind( resource connection, array callbacks)
Bind callbacks to a Cyrus IMAP connection
bool cyrus_close( resource connection)
Close connection to a cyrus server
resource cyrus_connect([ string host [, string port [, int flags]]])
Connect to a Cyrus IMAP server
bool cyrus_query( resource connection, string query)
Send a query to a Cyrus IMAP server
bool cyrus_unbind( resource connection, string trigger_name)
Unbind ...
# php4/ext/db/db.c
string dblist(void)
Describes the dbm-compatible library being used
bool dbmclose(int dbm_identifier)
Closes a dbm database
int dbmdelete(int dbm_identifier, string key)
Deletes the value for a key from a dbm database
int dbmexists(int dbm_identifier, string key)
Tells if a value exists for a key in a dbm database
string dbmfetch(int dbm_identifier, string key)
Fetches a value for a key from a dbm database
string dbmfirstkey(int dbm_identifier)
Retrieves the first key from a dbm database
int dbminsert(int dbm_identifier, string key, string value)
Inserts a value for a key in a dbm database
string dbmnextkey(int dbm_identifier, string key)
Retrieves the next key from a dbm database
int dbmopen(string filename, string mode)
Opens a dbm database
int dbmreplace(int dbm_identifier, string key, string value)
Replaces the value for a key in a dbm database
# php4/ext/dba/dba.c
void dba_close(int handle)
Closes database
bool dba_delete(string key, int handle)
Deletes the entry associated with key
bool dba_exists(string key, int handle)
Checks, if the specified key exists
string dba_fetch(string key, int handle)
Fetches the data associated with key
string dba_firstkey(int handle)
Resets the internal key pointer and returns the first key
bool dba_insert(string key, string value, int handle)
Inserts value as key, returns false, if key exists already
string dba_nextkey(int handle)
Returns the next key
int dba_open(string path, string mode, string handlername [, string ...])
Opens path using the specified handler in mode
bool dba_optimize(int handle)
Optimizes (e.g. clean up, vacuum) database
int 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, int handle)
Inserts value as key, replaces key, if key exists already
bool dba_sync(int handle)
Synchronizes database
# php4/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_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
# php4/ext/dbplus/php_dbplus.c
int dbplus_add(int relation, array tuple)
Adds a tuple to a relation
resource dbplus_aql(string query [, string server [, string dbpath]])
Performs AQL query
string dbplus_chdir([string newdir])
Gets/Sets database virtual current directory
int dbplus_close(int relation)
Closes a relation
int dbplus_curr(int relation, array tuple)
Gets current tuple from relation
string dbplus_errcode(int err)
Gets error string for given errorcode or last error
int dbplus_errno(void)
Gets error code for last operation
int dbplus_find(int relation, array constr, mixed tuple)
Sets a constraint on a relation
int dbplus_first(int relation, array tuple)
Gets first tuple from relation
int dbplus_flush(int relation)
???
int dbplus_freealllocks(void)
Frees all locks held by this client
int dbplus_freelock(int relation, array tuple)
Releases write lock on tuple
int dbplus_freerlocks(int relation)
Frees all locks on given relation
int dbplus_getlock(int relation, array tuple)
Requests locking of tuple
int dbplus_getunique(int handle, int uniqueid)
Gets a id number unique to a relation
int dbplus_info(int relation, string key, array &result)
???
int dbplus_last(int relation, array tuple)
Gets last tuple from relation
int dbplus_lockrel(int relation)
Requests write lock on relation
int dbplus_next(int relation, array &tname)
Gets next tuple from relation
resource dbplus_open(string name)
Opens a relation file
int dbplus_prev(int relation, array tuple)
Gets previous tuple from relation
int dbplus_rchperm(int relation, int mask, string user, string group)
???
resource dbplus_rcreate(string name, mixed domlist [, int overwrite])
Creates a new DB++ relation
resource dbplus_rcrtexact(string name, resource relation [, boolean overwrite])
Creates an exact but empty copy of a relation including indices
resource dbplus_rcrtlike(string name, int handle [, int overwrite])
Creates an empty copy of a relation with default indices
int dbplus_resolve(string name)
Resolves host information for relation
int dbplus_restorepos(int relation, array tuple)
???
resource dbplus_rkeys(resource relation, mixed domlist)
Defines primary key for relation
resource dbplus_ropen(string name)
Opens relation file local
resource dbplus_rquery(string name, string dbpath)
???
int dbplus_rrename(int relation, string name)
???
resource dbplus_rsecindex(resource relation, mixed domlist, int compact)
Creates an additional index on relation
int dbplus_runlink(int relation)
Removes relation from filesystem
int dbplus_rzap(int relation, int truncate)
Removes all tuples from relation
int dbplus_savepos(int relation)
???
int dbplus_setindex(int relation, string idx_name)
???
int dbplus_setindexbynumber(int relation, int idx_number)
???
resource dbplus_sql(string query, string server, string dbpath)
Performs SQL query
string dbplus_tcl(int sid, string script)
Executes server side TCL code
int dbplus_tremove(int relation, array old [, array current])
Removes tuple and return new current tuple
int dbplus_undo(int relation)
???
int dbplus_undoprepare(int relation)
???
int dbplus_unlockrel(int relation)
Gives up write lock on relation
int dbplus_unselect(int relation)
Removes constraint from relation
int dbplus_update(int relation, array old, array new)
Updates specified tuple in relation
int dbplus_xlockrel(int relation)
Requests exclusive lock on relation
int dbplus_xunlockrel(int relation)
Frees exclusive lock on relation
# php4/ext/dbx/dbx.c
bool 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
void dbx_error(dbx_link_object dbx_link)
Returns success or failure
dbx_result_object dbx_query(dbx_link_object dbx_link, string sql_statement [, long 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
# php4/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
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
# php4/ext/domxml/php_domxml.c
object domxml_add_root(string name)
Adds root node to document
array domxml_attr_name(void)
Returns list of attribute names
array domxml_attr_specified(void)
Returns list of attribute names
array domxml_attr_value(void)
Returns list of attribute names
array domxml_cdata_length(void)
Returns list of attribute names
bool domxml_clone_node(void)
Clones a node
object domxml_doc_create_attribute(string name)
Creates new attribute node
object domxml_doc_create_cdata_section(string name)
Creates new cdata node
object domxml_doc_create_comment(string name)
Creates new comment node
object domxml_doc_create_element(string name)
Creates new element node
object domxml_doc_create_entity_reference(string name)
Creates new cdata node
object domxml_doc_create_processing_instruction(string name)
Creates new processing_instruction node
object domxml_doc_create_text_node(string name)
Creates new text node
object domxml_doc_doctype(void)
Returns DomDocumentType
array domxml_doc_document_element(void)
Returns root node of document
object domxml_doc_implementation(void)
Returns DomeDOMImplementation
object domxml_doc_imported_node(object node, bool recursive)
Creates new element node
array domxml_doctype_name(void)
Returns name of DocumentType
object domxml_dtd(void)
Returns DTD of document
string domxml_dump_mem([object doc_handle])
Dumps document into string
int domxml_dump_mem_file([object doc_handle],filename,compressmode)
Dumps document into file and uses compression if specified Returns false on error, otherwise the length of the xml-document (uncompressed)
string domxml_dump_node([object doc_handle],object node_handle[,int format[,int level]])
Dumps node into string
string domxml_elem_get_attribute(string attrname)
Returns value of given attribute
string domxml_elem_get_attribute_node(string attrname)
Returns value of given attribute
string domxml_elem_get_element_by_tagname(string tagname)
Returns element for given attribute
string domxml_elem_remove_attribute(string attrname)
Removes given attribute
bool domxml_elem_set_attribute(string attrname, string value)
Sets value of given attribute
bool domxml_elem_set_attribute_node(int attr)
Sets value of given attribute
string domxml_elem_tagname(void)
Returns tag name of element node
object domxml_element(string name)
Constructor of DomElement
string domxml_html_dump_mem([int doc_handle])
Dumps document into string as HTML
bool domxml_is_blank_node(void)
Returns true if node is blank
object domxml_new_xmldoc(string version)
Creates new xmldoc
object domxml_node(string name)
Creates node
object domxml_node_add_child(object domnode)
Adds existing node to parent node
object domxml_node_append_child(object domnode)
Adds node to list of children
array domxml_node_attributes(void)
Returns list of attributes of node
array domxml_node_children(void)
Returns list of children nodes
object domxml_node_first_child(void)
Returns first child from list of children
string domxml_node_get_content()
Gets content of a node. "Read the value of a node, this can be either the text carried directly by this node if it's a TEXT node or the aggregate string of the values carried by this node child's (TEXT and ENTITY_REF). Entity references are substituted."
object domxml_node_has_attributes(void)
Returns true if node has attributes
object domxml_node_has_child_nodes(void)
Returns true if node has children
object domxml_node_insert_before(object newnode, object refnode)
Adds node in list of nodes before given node
object domxml_node_last_child(void)
Returns last child from list of children
object domxml_node_name(void)
Returns name of node
object domxml_node_new_child(string name, string content)
Adds child node to parent node
object domxml_node_next_sibling(void)
Returns next child from list of children
object domxml_node_owner_document(void)
Returns document this node belongs to
object domxml_node_parent(void)
Returns parent of node
object domxml_node_prefix(void)
Returns namespace prefix of node
object domxml_node_previous_sibling(void)
Returns previous child from list of children
object domxml_node_replace_node(object domnode)
Replaces one node with another node
bool domxml_node_set_content(string content)
Sets content of a node
bool domxml_node_set_name(string name)
Sets name of a node
bool domxml_node_text_concat(string content)
Add string tocontent of a node
int domxml_node_type(void)
Returns the type of the node
void domxml_node_unlink_node([object node])
Deletes the node
object domxml_node_value(void)
Returns name of value
string domxml_notation_public_id(void)
Returns public id of notation node
string domxml_notation_system_id(void)
Returns system ID of notation node
array domxml_pi_data(void)
Returns data of pi
array domxml_pi_target(void)
Returns target of pi
bool domxml_substitute_entities_default(bool enable)
Set and return the previous value for default entity support
int domxml_test(int id)
Unity function for testing
string domxml_version(void)
Get XML library version
object domxml_xslt_process(object xslstylesheet, object xmldoc [, array xslt_parameters [, bool xpath_parameters]])
Perform an XSLT transformation
object domxml_xslt_stylesheet(string xsltstylesheet)
Creates XSLT Stylesheet object from string
object domxml_xslt_stylesheet_doc(object xmldoc)
Creates XSLT Stylesheet object from DOM Document object
object domxml_xslt_stylesheet_file(string filename)
Creates XSLT Stylesheet object from file
string domxml_xslt_version(void)
Get XSLT library version
object html_doc(string html_doc [, bool from_file])
Creates DOM object of HTML document
object html_doc_file(string filename)
Creates DOM object of HTML document in file
int node_attributes(zval **attributes, int node)
Returns list of children nodes
int node_children([int node])
Returns list of children nodes
int node_namespace([int node])
Returns list of namespaces
object xmldoc(string xmldoc [, bool from_file])
Creates DOM object of XML document
object xmldocfile(string filename)
Creates DOM object of XML document in file
object xmltree(string xmltree)
Creates a tree of PHP objects from an XML document
object xpath_eval([object xpathctx_handle,] string str)
Evaluates the XPath Location Path in the given string
object xpath_eval_expression([object xpathctx_handle,] string str)
Evaluates the XPath expression in the given string
bool xpath_init(void)
Initializing XPath environment
object xpath_new_context([int doc_handle])
Creates new XPath context
bool xpath_register_ns([object xpathctx_handle,] string namespace_prefix, string namespace_uri)
Registeres the given namespace in the passed XPath context
int xptr_eval([int xpathctx_handle,] string str)
Evaluates the XPtr Location Path in the given string
object xptr_new_context([int doc_handle])
Creates new XPath context
# php4/ext/exif/exif.c
array exif_read_data(string filename [, string sections [, int arrays [, int htumbnail]]])
Reads the header data from a TIFF or JPEGfile
string exif_thumbnail(string filename)
Reads the embedded thumbnail of a TIFF or JPEG image.
# php4/ext/fbsql/php_fbsql.c
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
string 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
string fbsql_clob_size(string clob_handle [, resource link_identifier])
Get the size of a CLOB identified by clob_handle
int 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
int 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])
???
string 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(int 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
int 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])
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]])
???
int 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
bool fbsql_set_lob_mode(resource result, int lob_mode)
Sets the mode for how LOB data re retreived (actual data or a handle)
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])
Start a database on the server
bool fbsql_stop_db(string database_name [, resource link_identifier])
Stop a database on the server
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
# php4/ext/fdf/fdf.c
bool fdf_add_template(int fdfdoc, int newpage, string filename, string template, int rename)
Adds a template into the FDF document
bool fdf_close(int fdfdoc)
Closes the FDF document
int fdf_create(void)
Creates a new FDF document
string fdf_get_file(int fdfdoc)
Gets the value of /F key
string fdf_get_status(int fdfdoc)
Gets the value of /Status key
string fdf_get_value(int fdfdoc, string fieldname)
Gets the value of a field as string
string fdf_next_field_name(int fdfdoc [, string fieldname])
Gets the name of the next field name or the first field name
int fdf_open(string filename)
Opens a new FDF document
bool fdf_save(int fdfdoc, string filename)
Writes out the FDF file
bool fdf_set_ap(int fdfdoc, string fieldname, int face, string filename, int pagenr)
Sets the appearence of a field
bool fdf_set_encoding(int fdf_document, string encoding)
Sets FDF encoding (either "Shift-JIS" or "Unicode")
bool fdf_set_file(int fdfdoc, string filename)
Sets the value of /F key
bool fdf_set_flags(int fdfdoc, string fieldname, int whichflags, int newflags)
Sets flags for a field in the FDF document
bool fdf_set_javascript_action(int fdfdoc, string fieldname, int whichtrigger, string script)
Sets the javascript action for a field
bool fdf_set_opt(int fdfdoc, string fieldname, int element, string value, string name)
Sets a value in the opt array for a field
bool fdf_set_status(int fdfdoc, string status)
Sets the value of /Status key
bool fdf_set_submit_form_action(int fdfdoc, string fieldname, int whichtrigger, string url, int flags)
Sets the submit form action for a field
bool fdf_set_value(int fdfdoc, string fieldname, string value, int isname)
Sets the value of a field
# php4/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
# php4/ext/fribidi/fribidi.c
string fribidi_log2vis(string str, string direction, int charset)
Convert a logical string to a visual one
# php4/ext/ftp/php_ftp.c
bool ftp_cdup(resource stream)
Changes to the parent directory
bool ftp_chdir(resource stream, string directory)
Changes directories
void 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)
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)
Stores a file from an open file to the FTP server
bool ftp_get(resource stream, string local_file, string remote_file, int mode)
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
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)
Stores a file on the FTP server
string ftp_pwd(resource stream)
Returns the present working directory
array ftp_rawlist(resource stream, string directory)
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
string ftp_systype(resource stream)
Returns the system type identifier
# php4/ext/gd/gd.c
int image2wbmp(int im [, string filename [, int threshold]])
Output WBMP image to browser or file
void imagealphablending(resource im, bool on)
Turn alpha blending mode on or off for the given image
int imagearc(int im, int cx, int cy, int w, int h, int s, int e, int col)
Draw a partial ellipse
int imagechar(int im, int font, int x, int y, string c, int col)
Draw a character
int imagecharup(int im, int font, int x, int y, string c, int col)
Draw a character rotated 90 degrees counter-clockwise
int imagecolorallocate(int im, int red, int green, int blue)
Allocate a color for an image
int imagecolorat(int im, int x, int y)
Get the index of the color of a pixel
int imagecolorclosest(int 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(int 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
int imagecolordeallocate(int im, int index)
De-allocate a color for an image
int imagecolorexact(int 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
int imagecolorresolve(int 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
int imagecolorset(int im, int col, int red, int green, int blue)
Set the color for the specified palette index
array imagecolorsforindex(int im, int col)
Get the colors for an index
int imagecolorstotal(int im)
Find out the number of colors in an image's palette
int imagecolortransparent(int im [, int col])
Define a color as transparent
int imagecopy(int dst_im, int 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
int imagecopymerge(int src_im, int 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
int imagecopymergegray(int src_im, int 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
int imagecopyresampled(int dst_im, int 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
int imagecopyresized(int dst_im, int 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
int imagecreate(int x_size, int y_size)
Create a new image
int imagecreatefromgd(string filename)
Create a new image from GD file or URL
int imagecreatefromgd2(string filename)
Create a new image from GD2 file or URL
int imagecreatefromgd2part(string filename, int srcX, int srcY, int width, int height)
Create a new image from a given part of GD2 file or URL
int imagecreatefromgif(string filename)
Create a new image from GIF file or URL
int imagecreatefromjpeg(string filename)
Create a new image from JPEG file or URL
int imagecreatefrompng(string filename)
Create a new image from PNG file or URL
int imagecreatefromstring(string image)
Create a new image from the image stream in the string
int imagecreatefromwbmp(string filename)
Create a new image from WBMP file or URL
int imagecreatefromxbm(string filename)
Create a new image from XBM file or URL
int imagecreatefromxpm(string filename)
Create a new image from XPM file or URL
int imagecreatetruecolor(int x_size, int y_size)
Create a new true color image
int imagedashedline(int im, int x1, int y1, int x2, int y2, int col)
Draw a dashed line
int imagedestroy(int im)
Destroy an image
void imageellipse(resource im, int cx, int cy, int w, int h, int color)
Draw an ellipse
int imagefill(int im, int x, int y, int col)
Flood fill
int imagefilledarc(int im, int cx, int cy, int w, int h, int s, int e, int col, int style)
Draw a filled partial ellipse
void imagefilledellipse(resource im, int cx, int cy, int w, int h, int color)
Draw an ellipse
int imagefilledpolygon(int im, array point, int num_points, int col)
Draw a filled polygon
int imagefilledrectangle(int im, int x1, int y1, int x2, int y2, int col)
Draw a filled rectangle
int imagefilltoborder(int im, int x, int y, int border, int col)
Flood fill to specific color
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(int 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
int imagegammacorrect(int im, float inputgamma, float outputgamma)
Apply a gamma correction to a GD image
int imagegd(int im [, string filename])
Output GD image to browser or file
int imagegd2(int im [, string filename])
Output GD2 image to browser or file
int imagegif(int im [, string filename])
Output GIF image to browser or file
int imageinterlace(int im [, int interlace])
Enable or disable interlace
int imagejpeg(int im [, string filename [, int quality]])
Output JPEG image to browser or file
int imageline(int im, int x1, int y1, int x2, int y2, int col)
Draw a line
int imageloadfont(string filename)
Load a new font
int imagepalettecopy(int dst, int src)
Copy the palette from the src image onto the dst image
int imagepng(int im [, string filename])
Output PNG image to browser or file
int imagepolygon(int im, array point, int num_points, int col)
Draw a polygon
array imagepsbbox(string text, int 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(int font_index, string filename)
To change a fonts character encoding vector
bool imagepsextendfont(int font_index, float extend)
Extend or or condense (if extend < 1) a font
bool imagepsfreefont(int font_index)
Free memory used by a font
int imagepsloadfont(string pathname)
Load a new font from specified file
bool imagepsslantfont(int font_index, float slant)
Slant a font
array imagepstext(int image, string text, int font, int size, int xcoord, int ycoord [, int space, int tightness, float angle, int antialias])
Rasterize a string over an image
int imagerectangle(int im, int x1, int y1, int x2, int y2, int col)
Draw a rectangle
int imagesetbrush(resource image, resource brush)
Set the brush image to $brush when filling $image with the "IMG_COLOR_BRUSHED" color
int imagesetpixel(int im, int x, int y, int col)
Set a single pixel
void imagesetstyle(resource im, array styles)
Set the line drawing styles for use with imageline and IMG_COLOR_STYLED.
void imagesetthickness(resource im, int thickness)
Set line thickness for drawing lines, ellipses, rectangles, polygons etc.
int imagesettile(resource image, resource tile)
Set the tile image to $tile when filling $image with the "IMG_COLOR_TILED" color
int imagestring(int im, int font, int x, int y, string str, int col)
Draw a string horizontally
int imagestringup(int im, int font, int x, int y, string str, int col)
Draw a string vertically - rotated 90 degrees counter-clockwise
int imagesx(int im)
Get image width
int imagesy(int 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(int 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
int imagewbmp(int im [, string filename, [, int foreground]])
Output WBMP image to browser or file
void jpeg2wbmp (string f_org, string f_dest, int d_height, int d_width, int threshold)
Convert JPEG image to WBMP image
void png2wbmp (string f_org, string f_dest, int d_height, int d_width, int threshold)
Convert PNG image to WBMP image
# php4/ext/gd/gdt1.c
array imagepsbbox(string text, int font, int size [, int space, int tightness, int angle])
Return the bounding box needed by a string if rasterized
bool imagepsencodefont(int font_index, string filename)
To change a fonts character encoding vector
bool imagepsextendfont(int font_index, float extend)
Extend or or condense (if extend < 1) a font
bool imagepsfreefont(int font_index)
Free memory used by a font
int imagepsloadfont(string pathname)
Load a new font from specified file
bool imagepsslantfont(int font_index, float slant)
Slant a font
array imagepstext(int image, string text, int font, int size, int xcoord, int ycoord [, int space, int tightness, float angle, int antialias])
Rasterize a string over an image
# php4/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
# php4/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
# php4/ext/hyperwave/hw.c
string hw_array2objrec(array objarr)
Returns object record of object array
void hw_changeobject(int link, int objid, array attributes)
Changes attributes of an object (obsolete)
array hw_children(int link, int objid)
Returns array of children object ids
array hw_childrenobj(int link, int objid)
Returns array of children object records
void hw_close(int link)
Close connection to Hyperwave server
int hw_connect(string host, int port [string username [, string password]])
Connect to the Hyperwave server
void hw_connection_info(int link)
Prints information about the connection to Hyperwave server
void hw_cp(int link, array objrec, int dest)
Copies object
void hw_deleteobject(int link, int objid)
Deletes object
int hw_docbyanchor(int link, int anchorid)
Returns objid of document belonging to anchorid
array hw_docbyanchorobj(int link, int anchorid)
Returns object record of document belonging to anchorid
string hw_document_attributes(hwdoc doc)
Returns object record of document
string hw_document_bodytag(hwdoc doc [, string prefix])
Return bodytag prefixed by prefix
string hw_document_content(hwdoc doc)
Returns content of document
int hw_document_setcontent(hwdoc doc, string content)
Sets/replaces content of document
int hw_document_size(hwdoc doc)
Returns size of document
string hw_documentattributes(hwdoc doc)
An alias for hw_document_attributes
string hw_documentbodytag(hwdoc doc [, string prefix])
An alias for hw_document_bodytag
int hw_documentsize(hwdoc doc)
An alias for hw_document_size
string hw_dummy(int link, int id, int msgid)
Hyperwave dummy function
void hw_edittext(int link, hwdoc doc)
Modifies text document
int hw_error(int link)
Returns last error number
string hw_errormsg(int link)
Returns last error message
void hw_free_document(hwdoc doc)
Frees memory of document
array hw_getanchors(int link, int objid)
Return all anchors of object
array hw_getanchorsobj(int link, int objid)
Return all object records of anchors of object
string hw_getandlock(int link, int objid)
Returns object record and locks object
hwdoc hw_getcgi(int link, int objid)
Returns the output of a CGI script
array hw_getchildcoll(int link, int objid)
Returns array of child collection object ids
array hw_getchildcollobj(int link, int objid)
Returns array of child collection object records
array hw_getchilddoccoll(int link, int objid)
Returns all children ids which are documents
array hw_getchilddoccollobj(int link, int objid)
Returns all children object records which are documents
string hw_getobject(int link, int objid [, string query])
Returns object record
array hw_getobjectbyftquery(int link, string query, int maxhits)
Search for query as fulltext and return maxhits objids
array hw_getobjectbyftquerycoll(int link, int collid, string query, int maxhits)
Search for fulltext query in collection and return maxhits objids
array hw_getobjectbyftquerycollobj(int link, int collid, string query, int maxhits)
Search for fulltext query in collection and return maxhits object records
array hw_getobjectbyftqueryobj(int link, string query, int maxhits)
Search for query as fulltext and return maxhits object records
array hw_getobjectbyquery(int link, string query, int maxhits)
Search for query and return maxhits objids
array hw_getobjectbyquerycoll(int link, int collid, string query, int maxhits)
Search for query in collection and return maxhits objids
array hw_getobjectbyquerycollobj(int link, int collid, string query, int maxhits)
Search for query in collection and return maxhits object records
array hw_getobjectbyqueryobj(int link, string query, int maxhits)
Search for query and return maxhits object records
array hw_getparents(int link, int objid)
Returns array of parent object ids
array hw_getparentsobj(int link, int objid)
Returns array of parent object records
string hw_getrellink(int link, int rootid, int sourceid, int destid)
Get link from source to dest relative to rootid
int hw_getremote(int link, int objid)
Returns the content of a remote document
[array|int] hw_getremotechildren(int link, string objrec)
Returns the remote document or an array of object records
int hw_getsrcbydestobj(int link, int destid)
Returns object id of source docuent by destination anchor
hwdoc hw_gettext(int link, int objid [, int rootid])
Returns text document. Links are relative to rootid if given
string hw_getusername(int link)
Returns the current user name
void hw_identify(int link, string username, string password)
Identifies at Hyperwave server
array hw_incollections(int link, array objids, array collids, int para)
Returns object ids which are in collections
void hw_info(int link)
Outputs info string
void hw_inscoll(int link, int parentid, array objarr)
Inserts collection
void hw_insdoc(int link, int parentid, string objrec [, string text])
Inserts document
string hw_insertanchors(int hwdoc, array anchorecs, array dest [, array urlprefixes])
Inserts only anchors into text
void hw_insertdocument(int link, int parentid, hwdoc doc)
Insert new document
int hw_insertobject(int link, string objrec, string parms)
Inserts an object
int hw_mapid(int link, int serverid, int destid)
Returns virtual object id of document on remote Hyperwave server
void hw_modifyobject(int link, int objid, array remattributes, array addattributes [, int mode])
Modifies attributes of an object
void hw_mv(int link, array objrec, int from, int dest)
Moves object
hwdoc hw_new_document(string objrec, string data, int size)
Create a new document
hwdoc hw_new_document_from_file(string objrec, string filename)
Create a new document from a file
array hw_objrec2array(string objrec, [array format])
Returns object array of object record
void hw_output_document(hwdoc doc)
Prints document
void hw_outputdocument(hwdoc doc)
An alias for hw_output_document
int hw_pconnect(string host, int port [, string username [, string password]])
Connect to the Hyperwave server persistent
hwdoc hw_pipecgi(int link, int objid)
Returns output of CGI script
hwdoc hw_pipedocument(int link, int objid [, array urlprefixes])
Returns document with links inserted. Optionally a array with five urlprefixes may be passed, which will be inserted for the different types of anchors. This should be a named array with the following keys: HW_DEFAULT_LINK, HW_IMAGE_LINK, HW_BACKGROUND_LINK, HW_INTAG_LINK, and HW_APPLET_LINK
hwdoc hw_pipedocument(int link, int objid)
Returns document
int hw_root(void)
Returns object id of root collection
void hw_setlinkroot(int link, int rootid)
Set the id to which links are calculated
string hw_stat(int link)
Returns status string
void hw_unlock(int link, int objid)
Unlocks object
array hw_who(int link)
Returns names and info of users loged in
# php4/ext/icap/php_icap.c
int icap_close(int stream_id [, int options])
Close an ICAP stream
string icap_create_calendar(int stream_id, string calendar)
Create a new calendar
string icap_delete_calendar(int stream_id, int uid)
Delete event
string icap_delete_calendar(int stream_id, string calendar)
Delete calendar
string icap_delete_event(int stream_id, int uid)
Delete event
int icap_expunge(int stream_id)
Delete all messages marked for deletion
int icap_fetch_event(int stream_id, int eventid [, int options])
Fetch an event
int icap_list_alarms(int stream_id, array date, array time)
List alarms for a given time
array icap_list_events(int stream_id, int begindate [, int enddate])
Returns list of UIDs for that day or range of days
int icap_open(string calendar, string user, string password [, int options])
Open an ICAP stream to a calendar
void icap_popen(void)
For now this is obviously a dummy
string icap_rename_calendar(int stream_id, string src_calendar, string dest_calendar)
Rename a calendar
int icap_reopen(int stream_id, string calendar [, int options])
Reopen ICAP stream to new calendar
string icap_snooze(int stream_id, int uid)
Snooze an alarm
string icap_store_event(int stream_id, object event)
Store an event
# php4/ext/iconv/iconv.c
string iconv(string in_charset, string out_charset, string str)
Returns str converted to the out_charset character set
array iconv_get_encoding([string type])
Get internal encoding and output encoding for ob_iconv_handler()
bool iconv_set_encoding(string type, string charset)
Sets internal encoding and output encoding for ob_iconv_handler()
string ob_iconv_handler(string contents, int status)
Returns str in output buffer converted to the iconv.output_encoding character set
# php4/ext/iisfunc/setup.c
int iis_add_server(string Path, string Comment, string ServerIP, int ServerPort, string HostName, int ServerRights, int StartServer)
Creates a new virtual web server
int iis_get_dir_security(int ServerInstance, string VirtualPath)
Gets Directory Security
int iis_get_server_by_comment(string Comment)
Return the instance number associated with the Comment
int iis_get_server_by_path(string Path)
Return the instance number associated with the Path
int iis_get_server_rights(int ServerInstance, string VirtualPath)
Gets server rights
int iis_get_service_state(string ServiceId)
Returns teh state for the service defined by ServiceId
int iis_remove_server(int ServerInstance)
Removes the virtual web server indicated by ServerInstance
int iis_set_app_settings(int ServerInstance, string VirtualPath, string Name)
Creates application scope for a virtual directory
int iis_set_dir_security(int ServerInstance, string VirtualPath, int DirectoryFlags)
Sets Directory Security
int iis_set_script_map(int ServerInstance, string VirtualPath, string ScriptExtention)
Gets script mapping on a virtual directory for a specific extention
int iis_set_script_map(int ServerInstance, string VirtualPath, string ScriptExtention, string EnginePath, int AllowScripting)
Sets script mapping on a virtual directory
int iis_set_server_rights(int ServerInstance, string VirtualPath, int ServerFlags)
Sets server rights
int iis_start_server(int ServerInstance)
Starts the virtual web server
int iis_stop_server(int ServerInstance)
Stops the virtual web server
int iis_stop_service(string ServiceId)
Starts the service defined by ServiceId
int iis_stop_service(string ServiceId)
Stops the service defined by ServiceId
# php4/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.
int imap_append(int stream_id, string folder, string message [, string flags])
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(int stream_id, int msg_no [, int options])
Read the message body
object imap_bodystruct(int stream_id, int msg_no, int section)
Read the structure of a specified body section of a specific message
object imap_check(int stream_id)
Get mailbox properties
int imap_clearflag_full(int stream_id, string sequence, string flag [, int options])
Clears flags on messages
int imap_close(int stream_id [, int options])
Close an IMAP stream
int imap_createmailbox(int stream_id, string mailbox)
Create a new mailbox
int imap_delete(int stream_id, int msg_no [, int flags])
Mark a message for deletion
int imap_deletemailbox(int 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.
int imap_expunge(int stream_id)
Permanently delete all messages marked for deletion
array imap_fetch_overview(int stream_id, int msg_no [, int flags])
Read an overview of the information in the headers of the given message sequence
string imap_fetchbody(int stream_id, int msg_no, int section [, int options])
Get a specific body section
string imap_fetchheader(int stream_id, int msg_no [, int options])
Get the full unfiltered header for a message
object imap_fetchstructure(int stream_id, int msg_no [, int options])
Read the full structure of a message
array imap_get_quota(int stream_id, string qroot)
Returns the quota set to the mailbox account qroot
array imap_getmailboxes(int 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(int stream_id, string ref, string pattern)
Return a list of subscribed mailboxes, in the same format as imap_getmailboxes()
object imap_headerinfo(int stream_id, int msg_no [, int from_length [, int subject_length [, string default_host]]])
Read the headers of the message
array imap_headers(int 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(int stream_id, string ref, string pattern)
Read the list of mailboxes
array imap_lsub(int stream_id, string ref, string pattern)
Return a list of subscribed mailboxes
int 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
int imap_mail_copy(int stream_id, int msg_no, string mailbox [, int options])
Copy specified message to a mailbox
int imap_mail_move(int stream_id, int msg_no, string mailbox [, int options])
Move specified message to a mailbox
object imap_mailboxmsginfo(int 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(int stream_id, int unique_msg_id)
Get the sequence number associated with a UID
int imap_num_msg(int stream_id)
Gives the number of messages in the current mailbox
int imap_num_recent(int stream_id)
Gives the number of recent messages in current mailbox
int imap_open(string mailbox, string user, string password [, int options])
Open an IMAP stream to a mailbox
int imap_ping(int stream_id)
Check if the IMAP stream is still active
int imap_popen(string mailbox, string user, string password [, int options])
Open a persistant IMAP stream to a mailbox
string imap_qprint(string text)
Convert a quoted-printable string to an 8-bit string
int imap_renamemailbox(int stream_id, string old_name, string new_name)
Rename a mailbox
int imap_reopen(int 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(int stream_id, string ref, string pattern, string content)
Read list of mailboxes containing a certain string
array imap_search(int stream_id, string criteria [, long flags])
Return a list of messages matching the given criteria
int imap_set_quota(int stream_id, string qroot, int mailbox_size)
Will set the quota for qroot mailbox
int imap_setacl(int stream_id, string mailbox, string id, string rights)
Sets the ACL for a giving mailbox
int imap_setflag_full(int stream_id, string sequence, string flag [, int options])
Sets flags on messages
array imap_sort(int stream_id, int criteria, int reverse [, int options [, string search_criteria]])
Sort an array of message headers, optionally including only messages that meet specified criteria.
object imap_status(int stream_id, string mailbox, int options)
Get status info from a mailbox
int imap_subscribe(int stream_id, string mailbox)
Subscribe to a mailbox
int imap_thread(int stream_id [, int flags])
Return threaded by REFERENCES tree
int imap_uid(int stream_id, int msg_no)
Get the unique message id associated with a standard sequential message number
int imap_undelete(int stream_id, int msg_no)
Remove the delete flag from a message
int imap_unsubscribe(int 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 string)
Convert a string to UTF-8
# php4/ext/informix/ifx.ec
int ifx_affected_rows(int resultid)
Returns the number of rows affected by query identified by resultid
void ifx_blobinfile_mode(int mode)
Sets the default blob-mode for all select-queries
void ifx_byteasvarchar(int mode)
Sets the default byte-mode for all select-queries
int ifx_close([int connid])
Close informix connection
int 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
int ifx_do(int resultid)
Executes a previously prepared query or opens a cursor for it
string ifx_error([int connection_id])
Returns the Informix error codes (SQLSTATE & SQLCODE)
string ifx_errormsg([int errorcode])
Returns the Informix errormessage associated with
array ifx_fetch_row(int resultid [, mixed position])
Fetches the next row or <position> row if using a scroll cursor
array ifx_fieldproperties(int resultid)
Returns an associative for query <resultid> array with fieldnames as key
array ifx_fieldtypes(int resultid)
Returns an associative array with fieldnames as key for query <resultid>
int ifx_free_blob(int bid)
Deletes the blob-object
int ifx_free_char(int bid)
Deletes the char-object
int ifx_free_result(int 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
int ifx_getsqlca(int resultid)
Returns the sqlerrd[] fields of the sqlca struct for query resultid
int ifx_htmltbl_result(int resultid [, string htmltableoptions])
Formats all rows of the resultid query into a html table
void ifx_nullformat(int mode)
Sets the default return value of a NULL-value on a fetch-row
int ifx_num_fields(int resultid)
Returns the number of columns in query resultid
int ifx_num_rows(int resultid)
Returns the number of rows already fetched for query identified by resultid
int ifx_pconnect([string database [, string userid [, string password]]])
Connects to database using userid/password, returns connection id
int ifx_prepare(string query, int connid [, int cursortype] [, array idarray])
Prepare a query on a given connection
int ifx_query(string query, int connid [, int cursortype] [, array idarray])
Perform a query on a given connection
void 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
int ifx_update_char(int bid, string content)
Updates the content of the char-object
int ifxus_close_slob(int bid)
Deletes the slob-object
int ifxus_create_slob(int mode)
Creates a slob-object and opens it
int ifxus_free_slob(int bid)
Deletes the slob-object
int ifxus_open_slob(long bid, int mode)
Opens an slob-object
int ifxus_read_slob(long bid, long nbytes)
Reads nbytes of the slob-object
int ifxus_seek_slob(long bid, int mode, long offset)
Sets the current file or seek position of an open slob-object
int ifxus_tell_slob(long bid)
Returns the current file or seek position of an open slob-object
int ifxus_write_slob(long bid, string content)
Writes a string into the slob-object
# php4/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
# php4/ext/interbase/interbase.c
int ibase_add_user(string server, string dba_user_name, string dba_password, string user_name, string password [, string first_name] [, string middle_name] [, string last_name])
Add an user to security database
int ibase_blob_add(int blob_id, string data)
Add data into created blob
int ibase_blob_cancel(int blob_id)
Cancel creating blob
int ibase_blob_close(int blob_id)
Close blob
int ibase_blob_create([int link_identifier])
Create blob for adding data
int ibase_blob_echo(string blob_id_str)
Output blob contents to browser
string ibase_blob_get(int blob_id, int len)
Get len bytes data from open blob
string ibase_blob_import([link_identifier, ] int file_id)
Create blob, copy file in it, and close it
object ibase_blob_info(string blob_id_str)
Return blob length and other useful info
int ibase_blob_open(string blob_id)
Open blob for retriving data parts
int ibase_close([int link_identifier])
Close an InterBase connection
int ibase_commit([int link_identifier, ] int trans_number)
Commit transaction
int ibase_connect(string database [, string username] [, string password] [, string charset] [, int buffers] [, int dialect] [, string role])
Open a connection to an InterBase database
int ibase_delete_user(string server, string dba_user_name, string dba_password, string username)
Delete an user from security database
string ibase_errmsg(void)
Return error message
int ibase_execute(int query [, int bind_args [, int ...]])
Execute a previously prepared query
object ibase_fetch_object(int result [, int blob_flag])
Fetch a object from the results of a query
array ibase_fetch_row(int result [, int blob_flag])
Fetch a row from the results of a query
array ibase_field_info(int result, int field_number)
Get information about a field
int ibase_free_query(int query)
Free memory used by a query
int ibase_free_result(int result)
Free the memory used by a result
int ibase_modify_user(string server, string dba_user_name, string dba_password, string user_name, string password [, string first_name] [, string middle_name] [, string last_name])
Modify an user in security database
int ibase_num_fields(int result)
Get the number of fields in result
int ibase_pconnect(string database [, string username] [, string password] [, string charset] [, int buffers] [, int dialect] [, string role])
Open a persistent connection to an InterBase database
int ibase_prepare([int link_identifier, ] string query)
Prepare a query for later execution
int ibase_query([int link_identifier, ] string query [, int bind_args])
Execute a query
int ibase_rollback([int link_identifier, ] int trans_number)
Roolback transaction
int ibase_timefmt(string format)
Sets the format of timestamp, date and time columns returned from queries
int ibase_trans([int trans_args [, int link_identifier]])
Start transaction
# php4/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(void)
???
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_is_conn_alive(int connection)
Checks connection status
bool ircg_join(int connection, string channel)
Joins a channel on a connected server
bool ircg_kick(int connection, string channel, string nick, string reason)
Kicks user from channel
bool ircg_lookup_format_messages(string name)
Selects a set of format strings for display of IRC messages
bool ircg_msg(void)
???
bool ircg_nick(void)
???
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(void)
???
bool ircg_part(int connection, string channel)
Leaves a channel
int ircg_pconnect(void)
???
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 execute when connection dies
bool ircg_topic(int connection, string channel, string topic)
Sets topic for channel
bool ircg_whois( int connection, string nick)
Queries user information for nick on server
# php4/ext/java/java.c
void java_last_exception_clear(void)
Clear last java extension
object java_last_exception_get(void)
Get last Java exception
# php4/ext/ldap/ldap.c
string ldap_8859_to_t61(string value)
Translate 8859 characters to t61 characters
int ldap_add(int link, string dn, array entry)
Add entries to LDAP directory
int ldap_bind(int link [, string dn, string password])
Bind to LDAP directory
int ldap_compare(int link, string dn, string attr, string value)
Determine if an entry has a specific value for one of its attributes
int ldap_connect([string host [, int port]])
Connect to an LDAP server
int ldap_count_entries(int link, int result)
Count the number of entries in a search result
int ldap_delete(int 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(int link)
Get the current ldap error number
string ldap_error(int 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(int link, int result, int ber)
Return first attribute
int ldap_first_entry(int link, int result)
Return first result id
int ldap_first_reference(int link, int result)
Return first reference
int ldap_free_result(int result)
Free result memory
array ldap_get_attributes(int link, int result)
Get attributes from a search result entry
string ldap_get_dn(int link, int result)
Get the DN of a result entry
array ldap_get_entries(int link, int result)
Get all result entries
boolean ldap_get_option(int link, int option, mixed retval)
Get the current value of various session-wide parameters
array ldap_get_values(int link, int result, string attribute)
Get all values from a result entry
array ldap_get_values_len(int link, int result, string attribute)
Get all values with lengths from a result entry
int ldap_list(int link, string base_dn, string filter [, array attrs [, int attrsonly [, int sizelimit [, int timelimit [, int deref]]]]])
Single-level search
int ldap_mod_add(int link, string dn, array entry)
Add attribute values to current
int ldap_mod_del(int link, string dn, array entry)
Delete attribute values
int ldap_mod_replace(int link, string dn, array entry)
Replace attribute values with new ones
string ldap_next_attribute(int link, int result, int ber)
Get the next attribute in result
int ldap_next_entry(int link, int entry)
Get next result entry
int ldap_next_reference(int link, int entry)
Get next reference
boolean ldap_parse_reference(int link, int entry, array referrals)
Extract information from reference entry
boolean ldap_parse_result(int link, int result, int errcode, string matcheddn, string errmsg, array referrals)
Extract information from result
int ldap_read(int link, string base_dn, string filter [, array attrs [, int attrsonly [, int sizelimit [, int timelimit [, int deref]]]]])
Read an entry
boolean ldap_rename(int link, string dn, string newrdn, string newparent, boolean deleteoldrdn);
Modify the name of an entry
int ldap_search(int link, string base_dn, string filter [, array attrs [, int attrsonly [, int sizelimit [, int timelimit [, int deref]]]]])
Search LDAP tree under base_dn
boolean ldap_set_option(int link, int option, mixed newval)
Set the value of various session-wide parameters
int ldap_set_rebind_proc(int link, string callback)
Set a callback function to do re-binds on referral chasing.
int ldap_sort(int link, int result, string sortfilter)
Sort LDAP result entries
int ldap_start_tls(int link)
Start TLS
string ldap_t61_to_8859(string value)
Translate t61 characters to 8859 characters
int ldap_unbind(int link)
Unbind from LDAP directory
# php4/ext/mailparse/mailparse.c
int mailparse_determine_best_xfer_encoding(resource fp)
Figures out the best way of encoding the content read from the file pointer fp, which must be seek-able
int mailparse_msg_create(void)
Returns a handle that can be used to parse a message
void mailparse_msg_extract_part(resource rfc2045, string msgbody[, string callbackfunc])
Extracts/decodes a message section. If callbackfunc is not specified, the contents will be sent to "stdout"
string mailparse_msg_extract_part_file(resource rfc2045, string filename [, string callbackfunc])
Extracts/decodes a message section, decoding the transfer encoding
void mailparse_msg_free(resource rfc2045buf)
Frees a handle allocated by mailparse_msg_create
int mailparse_msg_get_part(resource rfc2045, string mimesection)
Returns a handle on a given section in a mimemessage
array mailparse_msg_get_part_data(resource rfc2045)
Returns an associative array of info about the message
array mailparse_msg_get_structure(resource rfc2045)
Returns an array of mime section names in the supplied message
void mailparse_msg_parse(resource rfc2045buf, string data)
Incrementally parse data into buffer
resource mailparse_msg_parse_file(string filename)
Parse file and return a resource representing the structure
array mailparse_rfc822_parse_addresses(string addresses)
Parse addresses and returns a hash containing that data
boolean mailparse_stream_encode(resource sourcefp, resource destfp, string encoding)
Streams data from source file pointer, apply encoding and write to destfp
array mailparse_uudecode_all(resource fp)
Scans the data from fp and extract each embedded uuencoded file. Returns an array listing filename information
# php4/ext/mbstring/mbstring.c
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])
Encodings of the given string is returned (as a string)
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
string 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
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
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
# php4/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 as a string.
array mb_split(string pattern, string string [, int limit])
split multibyte string into array by regular expression
# php4/ext/mcal/php_mcal.c
string mcal_append_event(int stream_id)
Append a new event to the calendar stream
int mcal_close(int stream_id [, int options])
Close an MCAL stream
string mcal_create_calendar(int stream_id, string calendar)
Create a new calendar
int mcal_date_compare(int ayear, int amonth, int aday, int byear, int bmonth, int bday)
Returns <0, 0, >0 if a<b, a==b, a>b respectively
bool mcal_date_valid(int year, int month, int day)
Returns true if the date is a valid date
int mcal_day_of_week(int year, int month, int day)
Returns the day of the week of the given date
int mcal_day_of_year(int year, int month, int day)
Returns the day of the year of the given date
int mcal_days_in_month(int month, bool leap_year)
Returns the number of days in the given month, needs to know if the year is a leap year or not
string mcal_delete_calendar(int stream_id, string calendar)
Delete calendar
string mcal_delete_event(int stream_id, int event_id)
Delete an event
string mcal_event_add_attribute(int stream_id, string attribute, string value)
Add an attribute and value to an event
int mcal_event_init(int stream_id)
Initialize a streams global event
int mcal_event_set_alarm(int stream_id, int alarm)
Add an alarm to the streams global event
string mcal_event_set_category(int stream_id, string category)
Attach a category to an event
int mcal_event_set_class(int stream_id, int class)
Add an class to the streams global event
string mcal_event_set_description(int stream_id, string description)
Attach a description to an event
string mcal_event_set_end(int stream_id, int year,int month, int day [[[, int hour], int min], int sec])
Attach an end datetime to an event
string mcal_event_set_recur_daily(int stream_id, int year, int month, int day, int interval)
Create a daily recurrence
string mcal_event_set_recur_monthly_mday(int stream_id, int year, int month, int day, int interval)
Create a monthly by day recurrence
string mcal_event_set_recur_monthly_wday(int stream_id, int year, int month, int day, int interval)
Create a monthly by week recurrence
string mcal_event_set_recur_none(int stream_id)
Create a daily recurrence
string mcal_event_set_recur_weekly(int stream_id, int year, int month, int day, int interval, int weekdays)
Create a weekly recurrence
string mcal_event_set_recur_yearly(int stream_id, int year, int month, int day, int interval)
Create a yearly recurrence
string mcal_event_set_start(int stream_id, int year,int month, int day [[[, int hour], int min], int sec])
Attach a start datetime to an event
string mcal_event_set_title(int stream_id, string title)
Attach a title to an event
int mcal_expunge(int stream_id)
Delete all events marked for deletion
object mcal_fetch_current_stream_event(int stream_id)
Fetch the current event stored in the stream's event structure
int mcal_fetch_event(int stream_id, int eventid [, int options])
Fetch an event
bool mcal_is_leap_year(int year)
Returns true if year is a leap year, false if not
bool mcal_list_alarms(int stream_id, int year, int month, int day, int hour, int min, int sec)
List alarms for a given time
array mcal_list_events(int stream_id, object begindate [, object enddate])
Returns list of UIDs for that day or range of days
object mcal_next_recurrence(int stream_id, int weekstart, array next)
Returns an object filled with the next date the event occurs, on or after the supplied date. Returns empty date field if event does not occur or something is invalid.
int mcal_open(string calendar, string user, string password [, int options])
Open an MCAL stream to a calendar
string mcal_popen(string calendar, string user, string password [, int options])
Open a persistent MCAL stream to a calendar
string mcal_rename_calendar(int stream_id, string src_calendar, string dest_calendar)
Rename a calendar
int mcal_reopen(int stream_id, string calendar [, int options])
Reopen MCAL stream to a new calendar
string mcal_snooze(int stream_id, int uid)
Snooze an alarm
string mcal_store_event(int stream_id)
Store changes to an event
bool mcal_time_valid(int hour, int min, int sec)
Returns true if the time is a valid time
int mcal_week_of_year(int day, int month, int year)
Returns the week number of the given date
# php4/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 using optional iv
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_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)
ECB crypt/decrypt data using key key with cipher cipher
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
int 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(int cipher)
Get the block size of cipher
int mcrypt_get_block_size(string cipher, string module)
Get the key size of cipher
string mcrypt_get_cipher_name(int cipher)
Get the name 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(int cipher)
Get the key size of cipher
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
int 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 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
# php4/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
# php4/ext/ming/ming.c
void ming_setcubicthreshold (int threshold)
Set cubic threshold (?)
void ming_setscale(int scale)
Set scale (?)
void ming_useswfversion(int version)
Use SWF version (?)
object swfaction_init(string)
Returns a new SWFAction object, compiling the given script
void swfbitmap_getHeight(void)
Returns the height of this bitmap
void swfbitmap_getWidth(void)
Returns the width of this bitmap
class swfbitmap_init(file [, maskfile])
Returns a new SWFBitmap object from jpg (with optional mask) or dbl file
void swfbutton_addAction(SWFAction action, int flags)
Sets the action to perform when conditions described in flags is met
void swfbutton_addShape(SWFCharacter character, int flags)
Sets the character to display for the condition described in flags
object swfbutton_init(void)
Returns a new SWFButton object
int swfbutton_keypress(string str)
Returns the action flag for keyPress(char)
void swfbutton_setAction(SWFAction)
Sets the action to perform when button is pressed
void swfbutton_setDown(SWFCharacter)
Sets the character for this button's down state
void swfbutton_setHit(SWFCharacter)
Sets the character for this button's hit test state
void swfbutton_setOver(SWFCharacter)
Sets the character for this button's over state
void swfbutton_setUp(SWFCharacter)
Sets the character for this button's up state
void swfdisplayitem_addAction(SWFAction action, 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_move(int dx, int 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_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_init(void)
Returns a new SWFFill object
void swffill_moveTo(int x, int 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
int swffont_getAscent(void)
Returns the ascent of the font, or 0 if not available
int swffont_getDescent(void)
Returns the descent of the font, or 0 if not available
int swffont_getLeading(void)
Returns the leading of the font, or 0 if not available
int swffont_getWidth(string)
Calculates the width of the given string in this font at full height
class swffont_init(string filename)
Returns a new SWFFont object from given file
void swfgradient_addEntry(float ratio, string r, string g, string b [, string a]
Adds given entry to the gradient
class swfgradient_init(void)
Returns a new SWFGradient object
SWFShape swfmorph_getShape1(void)
Return's this SWFMorph's start shape
SWFShape swfmorph_getShape2(void)
Return's this SWFMorph's start shape
object swfmorph_init(void)
Returns a new SWFMorph object
int swfshape_addfill(int fill, int flags)
Returns a fill object, for use with swfshape_setleftfill and swfshape_setrightfill
void swfshape_drawarc(int r, float startAngle, float endAngle)
Draws an arc of radius r centered at the current location, from angle startAngle to angle endAngle measured counterclockwise from 12 o'clock
void swfshape_drawcircle(int 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
class swfshape_init(void)
Returns a new SWFShape object
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 fill)
Sets the left side fill style to fill
void swfshape_setline(int width, int r, int g, int b [, int a])
Sets the current line style for this SWFShape
void swfshape_setrightfill(int fill)
Sets the right side fill style to fill
SWFDisplayItem swfsprite_add(SWFCharacter)
Adds the character to the sprite, returns a displayitem
class swfsprite_init(void)
Returns a new SWFSprite object
void swfsprite_nextFrame(void)
Moves the sprite to the next frame
void swfsprite_remove(SWFDisplayItem)
Remove the named character from the sprite's display list
void swfsprite_setFrames(int frames)
Sets the number of frames in this SWFSprite
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
float swftext_getAscent(void)
Returns the ascent of the current font at its current size, or 0 if not available
float swftext_getDescent(void)
Returns the descent of the current font at its current size, or 0 if not available
float swftext_getLeading(void)
Returns the leading of the current font at its current size, or 0 if not available
float swftext_getWidth(string str)
Calculates the width of the given string in this text objects current font and size
class swftext_init(void)
Returns new SWFText object
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(class 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
void swftextfield_addString(string str)
Adds the given string to this textfield
void swftextfield_align(int alignment)
Sets the alignment of this textfield
object swftextfield_init(void)
Returns a new SWFTextField object
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(int 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)
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_setRightMargin(float margin)
Sets the right margin of this textfield
# php4/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_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_check_stored(int agent, int link, string doc_id)
Open connection to stored
int udm_clear_search_limits(int agent)
Clear all mnoGoSearch search restrictions
int udm_close_stored(int agent, int link)
Open connection to stored
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
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_param(int res, int param)
Get mnoGoSearch result parameters
int udm_load_ispell_data(int agent, int var, string val1, [string charset], string val2, int flag)
Load ispell data
int udm_open_stored(int agent, string storedaddr)
Open connection to stored
int udm_set_agent_param(int agent, int var, string val)
Set mnoGoSearch agent session parameters
# php4/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
bool msession_destroy(string name)
Destroy a session
void msession_disconnect(void)
Disconnect from msession server
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
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
# php4/ext/msql/php_msql.c
int msql_affected_rows(int query)
Return number of affected rows
int msql_close([int link_identifier])
Close an mSQL connection
int msql_connect([string hostname[:port]] [, string username] [, string password])
Open a connection to an mSQL Server
int msql_create_db(string database_name [, int link_identifier])
Create an mSQL database
int msql_data_seek(int query, int row_number)
Move internal result pointer
int msql_db_query(string database_name, string query [, int link_identifier])
Send an SQL query to mSQL
int msql_drop_db(string database_name [, int link_identifier])
Drop (delete) an mSQL database
string msql_error([int link_identifier])
Returns the text of the error message from previous mSQL operation
array msql_fetch_array(int query [, int result_type])
Fetch a result row as an associative array
object msql_fetch_field(int query [, int field_offset])
Get column information from a result and return as an object
object msql_fetch_object(int query [, int result_type])
Fetch a result row as an object
array msql_fetch_row(int query)
Get a result row as an enumerated array
string msql_field_flags(int 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(int query, int field_index)
Get the name of the specified field in a result
int msql_field_seek(int query, int field_offset)
Set result pointer to a specific field offset
string msql_field_table(int query, int field_offset)
Get name of the table the specified field is in
string msql_field_type(int query, int field_offset)
Get the type of the specified field in a result
int msql_free_result(int query)
Free result memory
int msql_list_dbs([int link_identifier])
List databases available on an mSQL server
int msql_list_fields(string database_name, string table_name [, int link_identifier])
List mSQL result fields
int msql_list_tables(string database_name [, int link_identifier])
List tables in an mSQL database
int msql_num_fields(int query)
Get number of fields in a result
int msql_num_rows(int 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
int msql_query(string query [, int link_identifier])
Send an SQL query to mSQL
int msql_result(int query, int row [, mixed field])
Get result data
int msql_select_db(string database_name [, int link_identifier])
Select an mSQL database
# php4/ext/mssql/php_mssql.c
int mssql_bind(int 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
int mssql_close([int connectionid])
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
int mssql_data_seek(int 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
int mssql_execute(int stmt)
Executes a stored procedure on a MS-SQL server database
array mssql_fetch_array(int 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(int result_id [, int result_type])
Returns an associative array of the current row in the result set specified by result_id
int mssql_fetch_batch(string result_index)
Returns the next batch of records
object mssql_fetch_field(int result_id [, int offset])
Gets information about certain fields in a query result
object mssql_fetch_object(int 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(int result_id [, int result_type])
Returns an array of the current row in the result set specified by result_id
int mssql_field_length(int result_id [, int offset])
Get the length of a MS-SQL field
string mssql_field_name(int 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(int result_id [, int offset])
Returns the type of a field
int mssql_free_result(string result_index)
Free a MS-SQL result 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 [, int 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(int result_id)
Move the internal result pointer to the next result
int mssql_num_fields(int mssql_result_index)
Returns the number of fields fetched in from the result id specified
int mssql_num_rows(int 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
int mssql_query(string query [, int conn_id [, int batch_size]])
Perform an SQL query on a MS-SQL server database
string mssql_result(int result_id, int row, mixed field)
Returns the contents of one cell from a MS-SQL result set
int mssql_rows_affected(int conn_id)
Returns the number of records affected by the query
bool mssql_select_db(string database_name [, int conn_id])
Select a MS-SQL database
# php4/ext/muscat/muscat.c
int muscat_close(resource muscat_handle)
Shuts down the muscat session and releases any memory back to php. [Not back to the system, note!]
string muscat_get(resource muscat_handle)
Gets a line back from the core muscat api. Returns a literal FALSE when there is no more to get (as opposed to ""). Use === FALSE or !== FALSE to check for this
int muscat_give(resource muscat_handle, string string)
Sends string to the core muscat api
resource muscat_setup(int size [, string muscat_dir])
Creates a new muscat session and returns the handle. Size is the ammount of memory in bytes to allocate for muscat muscat_dir is the muscat installation dir e.g. "/usr/local/empower", it defaults to the compile time muscat directory
resource muscat_setup_net(string muscat_host, int port)
Creates a new muscat session and returns the handle. muscat_host is the hostname to connect to port is the port number to connect to - actually takes exactly the same args as fsockopen
# php4/ext/mysql/php_mysql.c
int mysql_affected_rows([int link_identifier])
Gets number of affected rows in previous MySQL operation
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])
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(int 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(int result [, int result_type])
Fetch a result row as an array (associative, numeric or both)
array mysql_fetch_assoc(int result)
Fetch a result row as an associative array
object mysql_fetch_field(int result [, int field_offset])
Gets column information from a result and return as an object
array mysql_fetch_lengths(int result)
Gets max data size of each column in a result
object mysql_fetch_object(int result [, int result_type])
Fetch a result row as an object
array mysql_fetch_row(int result)
Gets a result row as an enumerated array
string mysql_field_flags(int result, int field_offset)
Gets the flags associated with the specified field in a result
int mysql_field_len(int result, int field_offset)
Returns the length of the specified field
string mysql_field_name(int result, int field_index)
Gets the name of the specified field in a result
bool mysql_field_seek(int result, int field_offset)
Sets result pointer to a specific field offset
string mysql_field_table(int result, int field_offset)
Gets name of the table the specified field is in
string mysql_field_type(int result, int field_offset)
Gets the type of the specified field in a result
bool mysql_free_result(int 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
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_tables(string database_name [, int link_identifier])
List tables in a MySQL database
int mysql_num_fields(int result)
Gets number of fields in a result
int mysql_num_rows(int result)
Gets number of rows in a result
resource mysql_pconnect([string hostname[:port][:/path/to/socket]] [, string username] [, string password])
Opens a persistent connection to a MySQL Server
resource mysql_query(string query [, int link_identifier] [, int result_mode])
Sends an SQL query to MySQL
mixed mysql_result(int result, int row [, mixed field])
Gets result data
bool mysql_select_db(string database_name [, int link_identifier])
Selects a MySQL database
resource mysql_unbuffered_query(string query [, int link_identifier] [, int result_mode])
Sends an SQL query to MySQL, without fetching and buffering the result rows
# php4/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
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_set(int pair)
Sets fore- and background color
int ncurses_curs_set(int visibility)
Sets cursor state
bool ncurses_def_prog_mode(void)
Saves terminals (program) mode
bool ncurses_def_shell_mode(void)
Saves terminal (shell) mode
int ncurses_define_key(string definition, int keycode)
Defines a keycode
int ncurses_delay_output(int milliseconds)
Delays output on terminal using padding characters
bool ncurses_delch(void)
Deletes character at current position, move rest of line left
bool ncurses_deleteln(void)
Deletes line at current position, move rest of screen up
int ncurses_delwin(resource window)
Deletes a ncurses window
bool ncurses_doupdate(void)
Writes all prepared refreshes to terminal
bool 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
bool ncurses_erase(void)
Erases terminal screen
string ncurses_erasechar(void)
Returns current erase character
int ncurses_filter(void)
bool ncurses_flash(void)
Flashes terminal screen (visual bell)
bool ncurses_flushinp(void)
Flushes keyboard input buffer
int ncurses_getch(void)
Reads a character from keyboard
bool ncurses_getmouse(array mevent)
Reads mouse event from queue
int ncurses_halfdelay(int tenth)
Puts terminal into halfdelay mode
bool ncurses_has_colors(void)
Checks if terminal has colors
bool ncurses_has_ic(void)
Checks for insert- and delete-capabilities
bool 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_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)
bool 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
bool ncurses_isendwin(void)
Ncurses is in endwin mode, normal screen output may be performed
int ncurses_keyok(int keycode, bool 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
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_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
int ncurses_newwin(int rows, int cols, int y, int x)
Creates a new window
bool ncurses_nl(void)
Translates newline and carriage return / line feed
bool ncurses_nocbreak(void)
Switches terminal to cooked mode
bool ncurses_noecho(void)
Switches off keyboard input echo
bool 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_putp(string text)
???
int ncurses_qiflush(void)
Flushes on signal characters
bool ncurses_raw(void)
Switches terminal into raw mode
int ncurses_refresh(int ch)
Refresh screen
bool ncurses_resetty(void)
Restores saved terminal state
bool 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
bool 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)
???
bool ncurses_slk_clear(void)
bool 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
bool ncurses_slk_noutrefresh(void)
Copies soft label keys to virtual screen
bool ncurses_slk_refresh(void)
Copies soft label keys to screen
bool ncurses_slk_restore(void)
Restores soft label keys
bool ncurses_slk_set(int labelnr, string label, int format)
Sets function key labels
bool 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
bool 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_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
bool ncurses_use_default_colors(void)
Assigns terminal default colors to color id -1
void ncurses_use_env(bool 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_waddstr(resource window, string str [, int n])
Outputs text at current postion in window
int ncurses_wclear(resource window)
Clears window
int ncurses_wcolor_set(resource window, int color_pair)
Sets windows color pairings
int ncurses_wgetch(resource window)
Reads a character from keyboard (window)
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
# php4/ext/notes/php_notes.c
array notes_body(string server, string mailbox, int msg_number)
Opens the message msg_number in the specified mailbox on the specified server (leave server blank for local) and returns an array of body text lines
string notes_copy_db(string from_database_name, string to_database_name [, string title])
Creates a note using form form_name
bool notes_create_db(string database_name)
Creates a Lotus Notes database
string notes_create_note(string database_name, string form_name)
Creates a note using form form_name
bool notes_drop_db(string database_name)
Drops a Lotus Notes database
bool notes_find_note(string database_name, string name [, string type])
Returns a note id found in database_name
object notes_header_info(string server, string mailbox, int msg_number)
Opens the message msg_number in the specified mailbox on the specified server (leave server blank for local)
bool notes_list_msgs(string db)
???
string notes_mark_read(string database_name, string user_name, string note_id)
Marks a note_id as read for the User user_name. Note: user_name must be fully distinguished user name
string notes_mark_unread(string database_name, string user_name, string note_id)
Marks a note_id as unread for the User user_name. Note: user_name must be fully distinguished user name
bool notes_nav_create(string database_name, string name)
Creates a navigator name, in database_name
string notes_search(string database_name, string keywords)
Finds notes that match keywords in database_name. The note(s) that are returned must be converted to base 16. Example base_convert($note_id, "10", "16")
string notes_unread(string database_name, string user_name)
Returns the unread note id's for the current User user_name. Note: user_name must be fully distinguished user name
string notes_version(string database_name)
Gets the Lotus Notes version
# php4/ext/oci8/oci8.c
int ocibindbyname(int stmt, string name, mixed &var, int maxlength [, int type])
Bind a PHP variable to an Oracle placeholder by name
int ocicancel(int stmt)
Prepare a new row of data for reading
string ocicloselob(object lob)
Closes lob descriptor
string ocicollappend(object collection,value)
Append an object to the collection
string ocicollassign(object collection,object)
Assign a collection from another existing collection
string ocicollassignelem(object collection,ndx,val)
Assign element val to collection at index ndx
string ocicollgetelem(object collection,ndx)
Retrieve the value at collection index ndx
string ocicollmax(object collection)
Return the max value of a collection. For a varray this is the maximum length of the array
string ocicollsize(object collection)
Return the size of a collection
string ocicolltrim(object collection,num)
Trim num elements from the end of a collection
int ocicolumnisnull(int stmt, int col)
Tell whether a column is NULL
string ocicolumnname(int stmt, int col)
Tell the name of a column
int ocicolumnprecision(int stmt, int col)
Tell the precision of a column
int ocicolumnscale(int stmt, int col)
Tell the scale of a column
int ocicolumnsize(int stmt, int col)
Tell the maximum data size of a column
mixed ocicolumntype(int stmt, int col)
Tell the data type of a column
mixed ocicolumntyperaw(int stmt, int col)
Tell the raw oracle data type of a column
string ocicommit(int conn)
Commit the current context
int ocidefinebyname(int stmt, string name, mixed &var [, int type])
Define a PHP variable to an Oracle column by name
array ocierror([int stmt|conn|global])
Return the last error of stmt|conn|global. If no error happened returns false.
int ociexecute(int stmt [, int mode])
Execute a parsed statement
int ocifetch(int stmt)
Prepare a new row of data for reading
int ocifetchinto(int stmt, array &output [, int mode])
Fetch a row of result data into an array
int ocifetchstatement(int stmt, array &output[, int skip][, int maxrows][, int flags])
Fetch all rows of result data into an array
string ocifreecollection(object lob)
Deletes collection object
string ocifreedesc(object lob)
Deletes large object description
int ocifreestatement(int stmt)
Free all resources associated with a statement
void ociinternaldebug(int onoff)
Toggle internal debugging output for the OCI extension
string ociloadlob(object lob)
Loads a large object
int ocilogoff(int conn)
Disconnect from database
int ocilogon(string user, string pass [, string db])
Connect to an Oracle database and log on. Returns a new session.
string ocinewcollection(int connection, string tdo,[string schema])
Initialize a new collection
int ocinewcursor(int conn)
Return a new cursor (Statement-Handle) - use this to bind ref-cursors!
string ocinewdescriptor(int connection [, int type])
Initialize a new empty descriptor LOB/FILE (LOB is default)
int ocinlogon(string user, string pass [, string db])
Connect to an Oracle database and log on. returns a new session
int ocinumcols(int stmt)
Return the number of result columns in a statement
int ociparse(int conn, string query)
Parse a query and return a statement
int ociplogon(string user, string pass [, string db])
Connect to an Oracle database using a persistent connection and log on. Returns a new session.
string ociresult(int stmt, mixed column)
Return a single column of result data
string ocirollback(int conn)
Rollback the current context
int ocirowcount(int stmt)
Return the row count of an OCI statement
string ocisavelob(object lob)
Saves a large object
string ocisavelobfile(object lob)
Saves a large object file
string ociserverversion(int conn)
Return a string containing server version information
int ocisetprefetch(int stmt, int prefetch_rows)
sets the number of rows to be prefetched on execute to prefetch_rows for stmt
int ocistatementtype(int stmt)
Return the query type of an OCI statement
void ociwritelobtofile(object lob [, string filename] [, int start] [, int length])
Writes a large object into a file
int ociwritetemporarylob(int stmt, int loc, string var)
Return the row count of an OCI statement
# php4/ext/odbc/php_odbc.c
int odbc_autocommit(int connection_id [, int OnOff])
Toggle autocommit mode or get status
int odbc_binmode(int result_id, int mode)
Handle binary column data
void odbc_close(int connection_id)
Close an ODBC connection
void odbc_close_all(void)
Close all ODBC connections
int odbc_columnprivileges(int 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
int odbc_columns(int 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
int odbc_commit(int connection_id)
Commit an ODBC transaction
int odbc_connect(string DSN, string user, string password [, int cursor_option])
Connect to a datasource
string odbc_cursor(int result_id)
Get cursor name
string odbc_error([int connection_id])
Get the last error code
string odbc_errormsg([int connection_id])
Get the last error message
int odbc_exec(int connection_id, string query [, int flags])
Prepare and execute an SQL statement
int odbc_execute(int 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(int result_id [, int rownumber], array result_array)
Fetch one result row into an array
object odbc_fetch_object(int result [, int rownumber])
Fetch a result row as an object
int odbc_fetch_row(int result_id [, int row_number])
Fetch a row
int odbc_field_len(int result_id, int field_number)
Get the length (precision) of a column
string odbc_field_name(int result_id, int field_number)
Get a column name
int odbc_field_num(int result_id, string field_name)
Return column number
int odbc_field_scale(int result_id, int field_number)
Get the scale of a column
string odbc_field_type(int result_id, int field_number)
Get the datatype of a column
int odbc_foreignkeys(int 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
int odbc_free_result(int result_id)
Free resources associated with a result
int odbc_gettypeinfo(int connection_id [, int data_type])
Returns a result identifier containing information about data types supported by the data source
int odbc_longreadlen(int result_id, int length)
Handle LONG columns
bool odbc_next_result(int result_id)
Checks if multiple results are avaiable
int odbc_num_fields(int result_id)
Get number of columns in a result
int odbc_num_rows(int result_id)
Get number of rows in a result
int odbc_pconnect(string DSN, string user, string password [, int cursor_option])
Establish a persistent connection to a datasource
int odbc_prepare(int connection_id, string query)
Prepares a statement for execution
int odbc_primarykeys(int connection_id, string qualifier, string owner, string table)
Returns a result identifier listing the column names that comprise the primary key for a table
int odbc_procedurecolumns(int 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
int odbc_procedures(int connection_id [, string qualifier, string owner, string name])
Returns a result identifier containg the list of procedure names in a datasource
string odbc_result(int result_id, mixed field)
Get result data
int odbc_result_all(int result_id [, string format])
Print result as HTML table
int odbc_rollback(int connection_id)
Rollback a transaction
int odbc_setoption(int conn_id|result_id, int which, int option, int value)
Sets connection or statement options
int odbc_specialcolumns(int 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
int odbc_statistics(int 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
int odbc_tableprivileges(int connection_id, string qualifier, string owner, string name)
Returns a result identifier containing a list of tables and the privileges associated with each table
int odbc_tables(int connection_id [, string qualifier, string owner, string name, string table_types])
Call the SQLTables function
# php4/ext/odbc/velocis.c
bool velocis_autocommit(int index)
bool velocis_close(int id)
bool velocis_commit(int index)
int velocis_connect(string server, string user, sting pass)
int velocis_exec(int index, string exec_str)
bool velocis_fetch(int index)
string velocis_fieldname(int index, int col)
int velocis_fieldnum(int index)
bool velocis_freeresult(int index)
bool velocis_off_autocommit(int index)
mixed velocis_result(int index, int col)
bool velocis_rollback(int index)
# php4/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 or a var
bool openssl_csr_new(array dn, resource &privkey [, array extraattribs, array configargs])
Generates a privkey and CSR
resource openssl_csr_sign(mixed csr, mixed x509, mixed priv_key, long days)
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])
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 crypted, 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
# php4/ext/oracle/oracle.c
int ora_bind(int cursor, string php_variable_name, string sql_parameter_name, int length [, int type])
Bind a PHP variable to an Oracle parameter
int ora_close(int cursor)
Close an Oracle cursor
string ora_columnname(int 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(int cursor, int column)
Get the type of an Oracle result column
int ora_commit(int connection)
Commit an Oracle transaction
int ora_commitoff(int connection)
Disable automatic commit
int ora_commiton(int connection)
Enable automatic commit
int ora_do(int connection, int cursor)
Parse and execute a statement and fetch first result row
string ora_error(int cursor_or_connection)
Get an Oracle error message
int ora_errorcode(int cursor_or_connection)
Get an Oracle error code
int ora_exec(int cursor)
Execute a parsed statement
int ora_fetch(int cursor)
Fetch a row of result data from a cursor
int ora_fetch_into(int cursor, array result [, int flags])
Fetch a row into the specified result array
mixed ora_getcolumn(int cursor, int column)
Get data from a fetched row
int ora_logoff(int connection)
Close an Oracle connection
int ora_logon(string user, string password)
Open an Oracle connection
int ora_numcols(int cursor)
Returns the numbers of columns in a result
int ora_numrows(int cursor)
Returns the number of rows in a result
int ora_open(int connection)
Open an Oracle cursor
int ora_parse(int cursor, string sql_statement [, int defer])
Parse an Oracle SQL statement
int ora_plogon(string user, string password)
Open a persistent Oracle connection
int ora_rollback(int connection)
Roll back an Oracle transaction
# php4/ext/overload/overload.c
void overload(string class_entry)
Enables property and method call overloading for a class.
# php4/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
int 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
int ovrimos_execute(int result_id [, array parameters_array])
Execute a prepared statement
int 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'
int 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
string ovrimos_field_type(int result_id, int field_number)
Get the datatype of a column
int ovrimos_free_result(int result_id)
Free resources associated with a result
int 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
int 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
# php4/ext/pcntl/pcntl.c
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
bool pcntl_signal(long signo, mixed handle)
Assigns a system signal handler to a PHP function
int pcntl_waitpid(long pid, long status, long options)
Waits on or returns the status of a forked child as defined by the waitpid() system call
int pcntl_wexitstatus(long status)
Returns the status code of a child's exit
bool pcntl_wifexited(long status)
Returns true if the child status code represents a successful exit
bool pcntl_wifsignaled(long status)
Returns true if the child status code represents a process that was terminated due to a signal
bool pcntl_wifstopped(long status)
Returns true if the child status code represents a stopped process (WUNTRACED must have been used with waitpid)
int pcntl_wstopsig(long status)
Returns the number of the signal that caused the process to stop who's status code is passed
int pcntl_wtermsig(long status)
Returns the number of the signal that terminated the process who's status code is passed
# php4/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])
Perform a Perl-style regular expression match
int preg_match_all(string pattern, string subject, array subpatterns [, int order])
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
# php4/ext/pdf/pdf.c
void pdf_add_annotation(int pdfdoc, float xll, float yll, float xur, float xur, string title, string text)
Sets annotation (depreciated use pdf_add_note instead)
int pdf_add_bookmark(int pdfdoc, string text [, int parent, int open])
Adds bookmark for current page
void pdf_add_launchlink(int pdfdoc, float llx, float lly, float urx, float ury, string filename)
Adds link to web resource
void pdf_add_locallink(int pdfdoc, float llx, float lly, float urx, float ury, int page, string dest)
Adds link to web resource
void pdf_add_note(int pdfdoc, float llx, float lly, float urx, float ury, string contents, string title, string icon, int open)
Sets annotation
void pdf_add_pdflink(int pdfdoc, float llx, float lly, float urx, float ury, string filename, int page, string dest)
Adds link to PDF document
void pdf_add_thumbnail(int pdf, int image);
* Add an existing image as thumbnail for the current page.
void pdf_add_weblink(int pdfdoc, float llx, float lly, float urx, float ury, string url)
Adds link to web resource
void pdf_arc(int pdfdoc, float x, float y, float radius, float start, float end)
Draws an arc
void pdf_arcn(int pdf, float x, float y, float r, float alpha, float beta);
* Draw a clockwise circular arc from alpha to beta degrees.
void pdf_attach_file(int pdf, float lly, float lly, float urx, float ury, string filename, string description, string author, string mimetype, string icon)
Adds a file attachment annotation at the rectangle specified by his lower left and upper right corners
void pdf_begin_page(int pdfdoc, float width, float height)
Starts page
int pdf_begin_pattern(int pdf, float width, float height, float xstep, float ystep, int painttype);
* Start a new pattern definition.
int pdf_begin_template(int pdf, float width, float height);
* Start a new template definition.
void pdf_circle(int pdfdoc, float x, float y, float radius)
Draws a circle
void pdf_clip(int pdfdoc)
Clips to current path
void pdf_close(int pdfdoc)
Closes the pdf document
void pdf_close_image(int pdf, int pdfimage)
Closes the PDF image
void pdf_close_pdi(int pdf, int doc);
* Close all open page handles, and close the input PDF document.
void pdf_close_pdi_page(int pdf, int page);
* Close the page handle, and free all page-related resources.
void pdf_closepath(int pdfdoc)
Close path
void pdf_closepath_fill_stroke(int pdfdoc)
Close, fill and stroke current path
void pdf_closepath_stroke(int pdfdoc)
Close path and draw line along path
void pdf_concat(int pdf, float a, float b, float c, float d, float e, float f)
Concatenates a matrix to the current transformation matrix for text and graphics
void pdf_continue_text(int pdfdoc, string text)
Output text in next line
void pdf_curveto(int pdfdoc, float x1, float y1, float x2, float y2, float x3, float y3)
Draws a curve
bool pdf_delete(int pdfdoc)
Deletes the PDF object
void pdf_end_page(int pdfdoc)
Ends page
void pdf_end_pattern(int pdf);
* Finish the pattern definition.
void pdf_end_template(int pdf);
* Finish the template definition.
void pdf_endpath(int pdfdoc)
Ends current path
void pdf_fill(int pdfdoc)
Fill current path
void pdf_fill_stroke(int pdfdoc)
Fill and stroke current path
int pdf_findfont(int pdfdoc, string fontname, string encoding [, int embed])
Prepares the font fontname for later use with pdf_setfont()
int pdf_get_buffer(int pdfdoc)
Fetches the full buffer containig the generated PDF data
int pdf_get_font(int pdfdoc)
Gets the current font
string pdf_get_fontname(int pdfdoc)
Gets the current font name
float pdf_get_fontsize(int pdfdoc)
Gets the current font size
int pdf_get_image_height(int pdf, int pdfimage)
Returns the height of an image
int pdf_get_image_width(int pdf, int pdfimage)
Returns the width of an image
int pdf_get_majorversion()
Returns the major version number of the PDFlib
int pdf_get_minorversion()
Returns the minor version number of the PDFlib
string pdf_get_parameter(int pdfdoc, string key, mixed modifier)
Gets arbitrary parameters
string pdf_get_pdi_parameter(int pdf, string key, int doc, int page, int index);
* Get the contents of some PDI document parameter with string type.
float pdf_get_pdi_value(int pdf, string key, int doc, int page, int index);
* Get the contents of some PDI document parameter with numerical type.
float pdf_get_value(int pdfdoc, string key, float modifier)
Gets arbitrary value
void pdf_initgraphics(int pdf);
* Reset all implicit color and graphics state parameters to their defaults.
void pdf_lineto(int pdfdoc, float x, float y)
Draws a line
int pdf_makespotcolor(int pdf, string spotname);
* Make a named spot color from the current color.
void pdf_moveto(int pdfdoc, float x, float y)
Sets current point
int pdf_new()
Creates a new PDF object
int pdf_open([int filedesc])
Opens a new pdf document. If filedesc is NULL, document is created in memory. This is the old interface, only for compatibility use pdf_new + pdf_open_file instead
int pdf_open_ccitt(int pdf, string filename, int width, int height, int bitreverse, int k, int blackls1)
Opens an image file with raw CCITT G3 or G4 compresed bitmap data
int pdf_open_file(int pdfdoc [, char filename])
Opens a new PDF document. If filename is NULL, document is created in memory. This is not yet fully supported
int pdf_open_gif(int pdf, string giffile)
Opens a GIF file and returns an image for placement in a pdf object
int pdf_open_image(int pdf, string type, string source, string data, long length, int width, int height, int components, int bpc, string params)
Opens an image of the given type and returns an image for placement in a PDF document
int pdf_open_image_file(int pdf, string type, string file, string stringparam, int intparam)
Opens an image file of the given type and returns an image for placement in a PDF document
int pdf_open_jpeg(int pdf, string jpegfile)
Opens a JPEG file and returns an image for placement in a PDF document
int pdf_open_memory_image(int pdf, int image)
Takes an GD image and returns an image for placement in a PDF document
int pdf_open_pdi(int pdf, string filename, string stringparam, int intparam);
* Open an existing PDF document and prepare it for later use.
int pdf_open_pdi_page(int pdf, int doc, int page, string label);
* Prepare a page for later use with PDF_place_image().
int pdf_open_png(int pdf, string pngfile)
Opens a PNG file and returns an image for placement in a PDF document
int pdf_open_tiff(int pdf, string tifffile)
Opens a TIFF file and returns an image for placement in a PDF document
void pdf_place_image(int pdf, int pdfimage, float x, float y, float scale)
Places image in the PDF document
void pdf_place_pdi_page(int pdf, int page, float x, float y, float sx, float sy)
* Place a PDF page with the lower left corner at (x, y), and scale it.
void pdf_rect(int pdfdoc, float x, float y, float width, float height)
Draws a rectangle
void pdf_restore(int pdfdoc)
Restores formerly saved enviroment
void pdf_rotate(int pdfdoc, float angle)
Sets rotation
void pdf_save(int pdfdoc)
Saves current enviroment
void pdf_scale(int pdfdoc, float x_scale, float y_scale)
Sets scaling
void pdf_set_border_color(int pdfdoc, float red, float green, float blue)
Sets color of box surounded all kinds of annotations and links
void pdf_set_border_dash(int pdfdoc, float black, float white)
Sets the border dash style of all kinds of annotations and links
void pdf_set_border_style(int pdfdoc, string style, float width)
Sets style of box surounding all kinds of annotations and link
void pdf_set_char_spacing(int pdfdoc, float space)
Sets character spacing
void pdf_set_duration(int pdfdoc, float duration)
Sets duration between pages
void pdf_set_font(int pdfdoc, string font, float size, string encoding [, int embed])
Select the current font face, size and encoding
void pdf_set_horiz_scaling(int pdfdoc, float scale)
Sets horizontal scaling of text
bool pdf_set_info(int pdfdoc, string fieldname, string value)
Fills an info field of the document
bool pdf_set_info_author(int pdfdoc, string author)
Fills the author field of the document
bool pdf_set_info_creator(int pdfdoc, string creator)
Fills the creator field of the document
bool pdf_set_info_keywords(int pdfdoc, string keywords)
Fills the keywords field of the document
bool pdf_set_info_subject(int pdfdoc, string subject)
Fills the subject field of the document
bool pdf_set_info_title(int pdfdoc, string title)
Fills the title field of the document
void pdf_set_leading(int pdfdoc, float distance)
Sets distance between text lines
void pdf_set_parameter(int pdfdoc, string key, string value)
Sets arbitrary parameters
void pdf_set_text_pos(int pdfdoc, float x, float y)
Sets the position of text for the next pdf_show call
void pdf_set_text_rendering(int pdfdoc, int mode)
Determines how text is rendered
void pdf_set_text_rise(int pdfdoc, float value)
Sets the text rise
void pdf_set_transition(int pdfdoc, int transition)
Sets transition between pages
void pdf_set_value(int pdfdoc, string key, float value)
Sets arbitrary value
void pdf_set_word_spacing(int pdfdoc, float space)
Sets spacing between words
void pdf_setcolor(int pdf, string type, string colorspace, float c1 [, float c2 [, float c3 [, float c4]]]);
* Set the current color space and color.
void pdf_setdash(int pdfdoc, float black, float white)
Sets dash pattern
void pdf_setflat(int pdfdoc, float value)
Sets flatness
void pdf_setfont(int pdfdoc, int font, float fontsize)
Sets the current font in the fiven fontsize
void pdf_setgray(int pdfdoc, float value)
Sets drawing and filling color to gray value
void pdf_setgray_fill(int pdfdoc, float value)
Sets filling color to gray value
void pdf_setgray_stroke(int pdfdoc, float value)
Sets drawing color to gray value
void pdf_setlinecap(int pdfdoc, int value)
Sets linecap parameter
void pdf_setlinejoin(int pdfdoc, int value)
Sets linejoin parameter
void pdf_setlinewidth(int pdfdoc, float width)
Sets line width
void pdf_setmatrix(int pdf, float a, float b, float c, float d, float e, float f)
Explicitly set the current transformation matrix.
void pdf_setmiterlimit(int pdfdoc, float value)
Sets miter limit
void pdf_setpolydash(int pdfdoc, float darray)
Sets more complicated dash pattern
void pdf_setrgbcolor(int pdfdoc, float red, float green, float blue)
Sets drawing and filling color to RGB color value
void pdf_setrgbcolor_fill(int pdfdoc, float red, float green, float blue)
Sets filling color to RGB color value
void pdf_setrgbcolor_stroke(int pdfdoc, float red, float green, float blue)
Sets drawing color to RGB color value
void pdf_show(int pdfdoc, string text)
Output text at current position
int pdf_show_boxed(int pdfdoc, string text, float x_koor, float y_koor, float width, float height, string mode [, string feature])
Output text formated in a boxed
void pdf_show_xy(int pdfdoc, string text, float x_koor, float y_koor)
Output text at position
void pdf_skew(int pdfdoc, float xangle, float yangle)
Skew the coordinate system
float pdf_stringwidth(int pdfdoc, string text [, int font, float size])
Returns width of text in current font
void pdf_stroke(int pdfdoc)
Draw line along path path
void pdf_translate(int pdfdoc, float x, float y)
Sets origin of coordinate system
# php4/ext/pfpro/pfpro.c
void pfpro_cleanup()
Shuts down the Payflow Pro library
void 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
# php4/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] | [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
bool pg_copy_from(int connection, string table_name , array rows [, string delimiter [, string null_as]])
Copy table from array
array pg_copy_to(int connection, string table_name [, string delimiter [, string null_as]])
Copy table to array
string pg_dbname([resource connection])
Get the database name
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_array(resource result, [int row [, int result_type]])
Fetch a row as an array
object pg_fetch_object(resource result, [int row [, int result_type]])
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])
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
resource pg_get_result([resource connection])
Get asynchronous query result
string pg_host([resource connection])
Returns the host name associated with the connection
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
int 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,] int large_object_oid)
Delete a large object
int pg_lo_write(resource large_object, string buf [, int len])
Write a large object
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
resource pg_pconnect([string connection_string] | [string host, string port [, string options [, string tty,]] string database)
Open a persistent PostgreSQL connection
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
int pg_result_status(resource result)
Get status of query result
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
bool pg_untrace([resource connection])
Disable tracing of a PostgreSQL connection
# php4/ext/posix/posix.c
string posix_ctermid(void)
Generate terminal path name (POSIX.1, 4.7.1)
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)
int 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)
int 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)
int posix_kill(int pid, int sig)
Send a signal to a process (POSIX.1, 3.3.2)
string posix_mkfifo(void)
Make a FIFO special file (POSIX.1, 5.4.2)
int posix_setegid(long uid)
Set effective group id
int posix_seteuid(long uid)
Set effective user id
int posix_setgid(long uid)
Set group id (POSIX.1, 4.2.2)
int posix_setpgid(long pid, long 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)
int posix_setuid(long uid)
Set user id (POSIX.1, 4.2.2)
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)
# php4/ext/printer/printer.c
void printer_abort(resource handle)
Abort printing
void printer_close(resource connection)
Close the printer connection
mixed printer_create_brush(resource handle)
Create a brush
void printer_create_dc(int handle)
Create a device content
mixed printer_create_font(string face, int height, int width, int font_weight, bool italic, bool underline, bool strikeout, int orientaton)
Create a font
mixed printer_create_pen(int style, int width, string color)
Create a pen
void printer_delete_brush(resource brush_handle)
Delete a brush
bool printer_delete_dc(int handle)
Delete a device content
void printer_delete_font(int fonthandle)
Delete a font
void printer_delete_pen(resource pen_handle)
Delete a pen
mixed printer_draw_bmp(resource handle, string filename, int x, int y)
Draw a bitmap
void printer_draw_chord(resource handle, int rec_x, int rec_y, int rec_x1, int rec_y1, int rad_x, int rad_y, int rad_x1, int rad_y1)
Draw a chord
void printer_draw_elipse(resource handle, int ul_x, int ul_y, int lr_x, int lr_y)
Draw an elipse
void printer_draw_line(int handle, int fx, int fy, int tx, int ty)
Draw line from x, y to x, y
void printer_draw_pie(resource handle, int rec_x, int rec_y, int rec_x1, int rec_y1, int rad1_x, int rad1_y, int rad2_x, int rad2_y)
Draw a pie
void printer_draw_rectangle(resource handle, int ul_x, int ul_y, int lr_x, int lr_y)
Draw a rectangle
void printer_draw_roundrect(resource handle, int ul_x, int ul_y, int lr_x, int lr_y, int width, int height)
Draw a roundrect
void printer_draw_text(resource handle, string text, int x, int y)
Draw text
bool printer_end_doc(int handle)
End a document
bool printer_end_page(int handle)
End a page
mixed printer_get_option(int handle, string option)
Get configured data
array printer_list(int EnumType [, string Name [, int Level]])
Return an array of printers attached to the server
int printer_logical_fontheight(int handle, int height)
Get the logical font height
mixed printer_open([string printername])
Return a handle to the printer or false if connection failed
void printer_select_brush(resource printer_handle, resource brush_handle)
Select a brush
void printer_select_font(int printerhandle, int fonthandle)
Select a font
void printer_select_pen(resource printer_handle, resource pen_handle)
Select a pen
bool printer_set_option(resource connection,string option,mixed value)
Configure the printer device
bool printer_start_doc(int handle)
Start a document
bool printer_start_page(int handle)
Start a page
bool printer_write(resource connection,string content)
Write directly to the printer
# php4/ext/pspell/pspell.c
int pspell_add_to_personal(int pspell, string word)
Adds a word to a personal list
int pspell_add_to_session(int pspell, string word)
Adds a word to the current session
int pspell_check(int pspell, string word)
Returns true if word is valid
int 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
int pspell_config_ignore(int conf, int ignore)
Ignore words <= n chars
int pspell_config_mode(int conf, long mode)
Select mode for config (PSPELL_FAST, PSPELL_NORMAL or PSPELL_BAD_SPELLERS)
int pspell_config_personal(int conf, string personal)
Use a personal dictionary for this config
int pspell_config_repl(int conf, string repl)
Use a personal dictionary with replacement pairs for this config
int pspell_config_runtogether(int conf, bool runtogether)
Consider run-together words as valid components
int 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
int pspell_save_wordlist(int pspell)
Saves the current (personal) wordlist
int 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
# php4/ext/qtdom/qtdom.c
string qdom_error()
Returns the error string from the last QDOM operation or FALSE if no errors occured.
object qdom_tree( string )
creates a tree of an xml string
# php4/ext/readline/readline.c
string readline([string prompt])
Reads a line
void readline_add_history([string prompt])
Adds a line to the history
void readline_clear_history(void)
Clears the history
void 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
int readline_read_history([string filename] [, int from] [,int to])
Reads the history
int readline_write_history([string filename])
Writes the history
# php4/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
# php4/ext/satellite/object.c
string satellite_object_to_string(object obj)
Convert an object to its string representation
# php4/ext/satellite/php_orbit.c
bool satellite_caught_exception(void)
See if an exception was caught from the previous function
string satellite_exception_id(void)
Get exception caught from the previous function
object satellite_exception_value(void)
Get the exception struct for the latest exception
int satellite_get_repository_id(object obj)
NOT IMPLEMENTED
bool satellite_load_idl(string file)
Instruct the type manager to load an IDL file if not already loaded
# php4/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_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
# php4/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, int 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
# php4/ext/skeleton/skeleton.c
string confirm_extname_compiled(string arg)
Return a string to confirm that the module is compiled in
# php4/ext/snmp/snmp.c
bool snmp_get_quick_print(void)
Return the current status of quick_print
void snmp_set_quick_print(int quick_print)
Return all objects including their respective object id withing the specified one
string snmpget(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
# php4/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_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.
resource socket_fd_alloc(void)
Allocates a new file descriptor set
bool socket_fd_clear(resource set, mixed socket)
Clears (a) file descriptor(s) from a set
bool socket_fd_free(resource set)
Deallocates a file descriptor set
bool socket_fd_isset(resource set, resource socket)
Checks to see if a file descriptor is set within the file descrirptor set
bool socket_fd_set(resource set, mixed socket)
Adds (a) file descriptor(s) to a set
bool socket_fd_zero(resource set)
Clears a file descriptor set
mixed socket_getopt(resource socket, int level, int optname)
Gets socket options for the socket
bool socket_getpeername(resource socket, string &addr[, int &port])
Given an fd, stores a string representing sa.sin_addr and the value of sa.sin_port into addr and port describing the remote side of a socket
bool socket_getsockname(resource socket, string &addr[, int &port])
Given an fd, stores a string representing sa.sin_addr and the value of sa.sin_port into addr and port describing the local side of a socket
bool socket_iovec_add(resource iovec, int iov_len)
Adds a new vector to the scatter/gather array
resource socket_iovec_alloc(int num_vectors [, int ...])
Builds a 'struct iovec' for use with sendmsg, recvmsg, writev, and readv
bool socket_iovec_delete(resource iovec, int iov_pos)
Deletes a vector from an array of vectors
string socket_iovec_fetch(resource iovec, int iovec_position)
Returns the data held in the iovec specified by iovec_id[iovec_position]
bool socket_iovec_free(resource iovec)
Frees the iovec specified by iovec_id
bool socket_iovec_set(resource iovec, int iovec_position, string new_val)
Sets the data held in iovec_id[iovec_position] to new_val
int socket_last_error(resource socket)
Returns/Clears the last error on the socket
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 length bytes from socket
bool socket_readv(resource socket, resource iovec_id)
Reads from an fd, using the scatter-gather array defined by iovec_id
string socket_recv(resource socket, 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
bool socket_recvmsg(resource socket, resource iovec, array &control, int &controllen, int &flags, string &addr [, int &port])
Used to receive messages on a socket, whether connection-oriented or not
int socket_select(resource read_fd, resource write_fd, resource except_fd, 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
bool socket_sendmsg(resource socket, resource iovec, int flags, string addr [, int port])
Sends a message to a socket, regardless of whether it is connection-oriented or not
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_nonblock(resource socket)
Sets nonblocking mode for file descriptor fd
bool socket_setopt(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 file descriptor fd, length is optional
bool socket_writev(resource socket, resource iovec_id)
Writes to a file descriptor, fd, using the scatter-gather array defined by iovec_id
# php4/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_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_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
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])
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_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 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)
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
# php4/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
# php4/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
# php4/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
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
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)
Syntax highlight a source file
bool highlight_string(string string [, int return] )
Syntax highlight a string or optionally return it
int ignore_user_abort(boolean 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 ini_get(string varname)
Get a configuration option
array ini_get_all([string extension])
Get all configuration options
string 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 [, boolean process_sections])
Parse configuration file
bool print_r(mixed var)
Prints out 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
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
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
# php4/ext/standard/browscap.c
object get_browser(string browser_name)
Get information about the capabilities of a browser
# php4/ext/standard/crc32.c
string crc32(string str)
Calculate the crc32 polynomial of a string
# php4/ext/standard/crypt.c
string crypt(string str [, string salt])
Encrypt a string
# php4/ext/standard/cyr_convert.c
string convert_cyr_string(string str, string from, string to)
Convert from one Cyrillic character set to another
# php4/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
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
int strtotime(string time, int now)
Convert string representation of date and time to a timestamp
int time(void)
Return current UNIX timestamp
# php4/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
class dir(string directory)
Directory class with properties, handle and class and methods read, rewind and close
mixed getcwd(void)
Gets the current directory
mixed opendir(string path)
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
# php4/ext/standard/dl.c
int dl(string extension_filename)
Load a PHP extension at runtime
# php4/ext/standard/dns.c
int checkdnsrr(string host [, string type])
Check DNS records corresponding to a given Internet host name or IP address
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.
int getmxrr(string hostname, array mxhosts [, array weight])
Get MX records corresponding to a given Internet host name
# php4/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
string shell_exec(string cmd)
Use pclose() for FILE* that has been opened via popen()
int system(string command [, int return_value])
Execute an external program and display output
# php4/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])
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 [, bool use_include_path])
Read entire file into an array
bool flock(resource fp, int operation [, int wouldblock])
Portable file locking
resource fopen(string filename, string mode [, bool use_include_path])
Open a file or a URL and return a file pointer
resource fopenstream(string filename, string mode)
int fpassthru(resource fp)
Output all remaining data from a file pointer
string fread(resource fp, int length)
Binary-safe file read
mixed fscanf(string str, 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
int 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
bool mkdir(string pathname[, int mode])
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 [, int use_include_path])
Output a file or a URL
string realpath(string path)
Return the resolved path
bool rename(string old_name, string new_name)
Rename a file
bool rewind(resource fp)
Rewind the position of a file pointer
bool rmdir(string dirname)
Remove a directory
int set_file_buffer(resource fp, int buffer)
Set file write buffer
bool set_socket_blocking(resource socket, int mode)
Set blocking/non-blocking mode on a socket
array socket_get_status(resource socket_descriptor)
Return an array describing socket status
bool socket_set_blocking(resource socket, int mode)
Set blocking/non-blocking mode on a socket
bool socket_set_timeout(int socket_descriptor, int seconds, int microseconds)
Set timeout on socket read to seconds + microseonds
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)
Delete a file
# php4/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
int is_dir(string filename)
Returns true if file is directory
int is_executable(string filename)
Returns true if file is executable
int is_file(string filename)
Returns true if file is a regular file
int is_link(string filename)
Returns true if file is symbolic link
int is_readable(string filename)
Returns true if file can be read
int 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
# php4/ext/standard/formatted_print.c
int printf(string format [, mixed arg1 [, mixed ...]])
Output a formatted string
string sprintf(string format [, mixed arg1 [, mixed ...]])
Return a formatted string
int vprintf(string format, array args)
Output a formatted string
string vsprintf(string format, array args)
Return a formatted string
# php4/ext/standard/fsock.c
int fsockopen(string hostname, int port [, int errno [, string errstr [, float timeout]]])
Open Internet or Unix domain socket connection
int pfsockopen(string hostname, int port [, int errno [, string errstr [, float timeout]]])
Open persistent Internet or Unix domain socket connection
# php4/ext/standard/ftok.c
int ftok(string pathname, string proj)
Convert a pathname and a project identifier to a System V IPC key
# php4/ext/standard/head.c
void header(string header [, bool replace])
Sends a raw HTTP header
int headers_sent(void)
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
# php4/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 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
# php4/ext/standard/image.c
array getimagesize(string imagefile [, array info])
Get the size of an image as 4-element array
# php4/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_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
# php4/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
# php4/ext/standard/lcg.c
float lcg_value()
Returns a value from the combined linear congruential generator
# php4/ext/standard/levenshtein.c
int levenshtein(string str1, string str2)
Calculate Levenshtein distance between two strings
# php4/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
# php4/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
# php4/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
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(double val)
Returns whether double is finite
bool is_infinite(double val)
Returns whether double is infinite
bool is_nan(double val)
Returns whether double is not a number
float log(float number)
Returns the natural logarithm of the number
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)
# php4/ext/standard/md5.c
string md5(string str)
Calculate the md5 hash of a string
string md5_file(string filename)
Calculate the md5 hash of given filename
# php4/ext/standard/metaphone.c
string metaphone(string text, int phones)
Break english phrases down into their phonemes
# php4/ext/standard/microtime.c
array getrusage([int who])
Returns an array of usage statistics
array gettimeofday(void)
Returns the current time as array
string microtime(void)
Returns a string containing the current time in seconds and microseconds
# php4/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
# php4/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
# php4/ext/standard/quot_print.c
string quoted_printable_decode(string str)
Convert a quoted-printable string to an 8 bit string
# php4/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
# php4/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
# php4/ext/standard/soundex.c
string soundex(string str)
Calculate the soundex key of a string
# php4/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 chop(string str [, string character_mask])
An alias for rtrim
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
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(array src, string glue)
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 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)
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
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 [, bool boyer])
Replaces all occurrences of search in haystack with replace
string str_rot13(string str)
Perform the rot13 transform on a string
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)
Finds length of initial segment consisting entirely of characters not found in mask
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
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
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 strrpos(string haystack, string needle)
Finds position of last occurrence of a character in a string within another
int strspn(string str, string mask)
Finds length of initial segment consisting entirely of characters found in mask
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_count(string haystack, string needle)
Returns the number of times a substring occurs in the string
string substr_replace(string str, string repl, int start [, int 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 [, int cut]]])
Wraps buffer to selected number of characters using string break char
# php4/ext/standard/syslog.c
int closelog(void)
Close connection to system logger
void define_syslog_variables(void)
Initializes all syslog-related variables
int openlog(string ident, int option, int facility)
Open connection to system logger
int syslog(int priority, string message)
Generate a system log message
# php4/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
# php4/ext/standard/uniqid.c
string uniqid(string prefix [, bool more_entropy])
Generates a unique ID
# php4/ext/standard/url.c
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
# php4/ext/standard/var.c
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 [, int return])
Outputs or returns a string representation of avariable
# php4/ext/standard/versioning.c
int version_compare(string ver1, string ver2 [, string oper])
Compares two "PHP-standardized" version number strings
# php4/ext/swf/swf.c
void swf_actiongeturl(string url, string target)
Gets the specified url
void swf_actiongotoframe(int frame_number)
Causes the Flash movie to display the specified frame, frame_number, and then stop.
void swf_actiongotolabel(string label)
Causes the flash movie to display the frame with the given label and then stop
void swf_actionnextframe(void)
Goes foward one frame
void swf_actionplay(void)
Starts playing the Flash movie from the current frame
void swf_actionprevframe(void)
Goes backward one frame
void swf_actionsettarget(string target)
Sets the context for actions
void swf_actionstop(void)
Stops playing the Flash movie at the current frame
void swf_actiontogglequality(void)
Toggles between high and low quality
void swf_actionwaitforframe(int frame, int skipcount)
If the specified frame has not been loaded, skip the specified number of actions in the action list
void swf_addbuttonrecord(int state, int objid, int depth)
Controls the location, appearance and active area of the current button
void swf_addcolor(float r, float g, float b, float a)
Set the global add color to the rgba value specified
void swf_closefile(void)
Close a Shockwave flash file that was opened with swf_openfile
void swf_definebitmap(int objid, string imgname)
Defines a bitmap given the name of a .gif .rgb .jpeg or .fi image. The image will be converted into Flash jpeg or Flash color map format
void swf_definefont(int fontid, string name)
Defines a font. name specifies the PostScript name of the font to use. This font also becomes the current font.
void swf_defineline(int objid, float x1, float y1, float x2, float y2, float width)
Create a line with object id, objid, starting from x1, y1 and going to x2, y2 with width, width
void swf_definepoly(int obj_id, array coords, int npoints, float width)
Define a Polygon from an array of x,y coordinates, coords.
void swf_definerect(int objid, float x1, float y1, float x2, float y2, float width)
Create a rectangle with object id, objid, the upper lefthand coordinate is given by x1, y1 the bottom right coordinate is x2, y2 and with is the width of the line
void swf_definetext(int objid, string str, int docCenter)
defines a text string using the current font, current fontsize and current font slant. If docCenter is 1, the word is centered in x
void swf_endbutton(void)
Complete the definition of the current button
void swf_enddoaction(void)
Ends the list of actions to perform for the current frame
void swf_endshape(void)
Completes the definition of the current shape
void swf_endsymbol(void)
End the current symbol
void swf_fontsize(float height)
Sets the current font's height to the value specified by height
void swf_fontslant(float slant)
Set the current font slant to the angle indicated by slant
void swf_fonttracking(track)
Sets the current font tracking to the specified value, track
array swf_getbitmapinfo(int bitmapid)
Returns an array of information about a bitmap specified by bitmapid
array swf_getfontinfo(void)
Get information about the current font
int swf_getframe(void)
Returns the current frame
void swf_labelframe(string name)
Adds string name to the current frame
void swf_lookat(float vx, float vy, float vz, float px, float py, float pz, float twist)
Defines a viewing transformation by giving the view position vx, vy, vz, and the coordinates of a reference point in the scene at px, py, pz. Twist controls a rotation along the viewer's z axis
void swf_modifyobject(int depth, int how)
Updates the position and/or color of the object
void swf_mulcolor(float r, float g, float b, float a)
Sets the global multiply color to the rgba value specified
int swf_nextid(void)
Returns a free objid
void swf_oncondition(int transitions)
Describes a transition used to trigger an action list
void swf_openfile(string name, float xsize, float ysize, float framerate, float r, float g, float b)
Create a Shockwave Flash file given by name, with width xsize and height ysize at a frame rate of framerate and a background color specified by a red value of r, green value of g and a blue value of b
void swf_ortho(float xmin, float xmax, float ymin, float ymax, float zmin, float zmax)
Defines an orthographic mapping of user coordinates onto the current viewport
void swf_ortho2(float xmin, float xmax, float ymin, float ymax)
Defines a 2-D orthographic mapping of user coordinates onto the current viewport
void swf_perspective(float fovy, float aspect, float near, float far)
Define a perspective projection transformation.
void swf_placeobject(int objid, int depth)
Places the object, objid, in the current frame at depth, depth
void swf_polarview(float dist, float azimuth, float incidence, float twist)
Defines he viewer's position in polar coordinates
void swf_popmatrix(void)
Restore a previous transformation matrix
void swf_posround(int doit)
This enables or disables rounding of the translation when objects are places or moved
void swf_pushmatrix(void)
Push the current transformation matrix onto the stack
void swf_removeobject(int depth)
Removes the object at the specified depth
void swf_rotate(float angle, string axis)
Rotate the current transformation by the given angle about x, y, or z axis. The axis may be 'x', 'y', or 'z'
void swf_scale(float x, float y, float z)
Scale the current transformation
void swf_setfont(int fontid)
Sets fontid to the current font
void swf_setframe(int frame_number)
Set the current frame number to the number given by frame_number
void swf_shapearc(float x, float y, float r, float ang1, float ang2)
Draws a circular arc from ang1 to ang2. The center of the circle is given by x, and y. r specifies the radius of the arc
void swf_shapecurveto(float x1, float y1, float x2, float y2)
Draws a quadratic bezier curve starting at the current position using x1, y1 as an off curve control point and using x2, y2 as the end point. The current position is then set to x2, y2.
void swf_shapecurveto3(float x1, float y1, float x2, float y2, float x3, float y3)
Draws a cubic bezier curve starting at the current position using x1, y1 and x2, y2 as off curve control points and using x3,y3 as the end point. The current position is then sent to x3, y3
void swf_shapefillbitmapclip(int bitmapid)
Sets the current fill mode to clipped bitmap fill. Pixels from the previously defined bitmapid will be used to fill areas
void swf_shapefillbitmaptile(int bitmapid)
Sets the current fill mode to tiled bitmap fill. Pixels from the previously defined bitmapid will be used to fill areas
void swf_shapefilloff(void)
Turns off filling
void swf_shapefillsolid(float r, float g, float b, float a)
Sets the current fill style to a solid fill with the specified rgba color
void swf_shapelinesolid(float r, float g, float b, float a, float width)
Create a line with color defined by rgba, and a width of width
void swf_shapelineto(float x, float y)
Draws a line from the current position to x,y, the current position is then set to x,y
void swf_shapemoveto(float x, float y)
swf_shapemoveto moves the current position to the given x,y.
void swf_showframe(void)
Finish the current frame
void swf_startbutton(int objid, int type)
Start a button with an object id, objid and a type of either TYPE_MENUBUTTON or TYPE_PUSHBUTTON
void swf_startdoaction(void)
Starts the description of an action list for the current frame
void swf_startshape(int objid)
Initialize a new shape with object id, objid
void swf_startsymbol(int objid)
Create a new symbol with object id, objid
void swf_textwidth(string str)
Calculates the width of a string, str, using the current fontsize & current font
void swf_translate(float x, float y, float z)
Translate the current transformation
void swf_viewport(float xmin, float xmax, float ymin, float ymax)
Selects an area on the drawing surface for future drawing
# php4/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]]]])
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]]]])
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
# php4/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]]]])
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_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]]]])
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
# php4/ext/sysvsem/sysvsem.c
int sem_acquire(int id)
Acquires the semaphore with the given id, blocking if necessary
int sem_get(int key [, int max_acquire [, int perm]])
Return an id for the semaphore with the given key, and allow max_acquire (default 1) processes to acquire it simultaneously
int sem_release(int id)
Releases the semaphore with the given id
int sem_remove(int id)
Removes semaphore from Unix systems
# php4/ext/sysvshm/sysvshm.c
int shm_attach(int key [, int memsize [, int perm]])
Creates or open a shared memory segment
int 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
int shm_put_var(int shm_identifier, int variable_key, mixed variable)
Inserts or updates a variable in shared memory
int shm_remove(int shm_identifier)
Removes shared memory from Unix systems
int shm_remove_var(int id, int variable_key)
Removes variable from shared memory
# php4/ext/vpopmail/php_vpopmail.c
bool vpopmail_add_alias_domain(string domain, string aliasdomain)
Add an alias for a virtual domain
bool vpopmail_add_alias_domain_ex(string olddomain, string newdomain)
Add alias to an existing virtual domain
bool vpopmail_add_domain(string domain, string dir, int uid, int gid)
Add a new virtual domain
bool vpopmail_add_domain_ex(string domain, string passwd [, string quota [, string bounce [, bool apop]]])
Add a new virtual domain
bool vpopmail_add_user(string user, string domain, string password[, string gecos[, bool apop]])
Add a new user to the specified virtual domain
bool vpopmail_alias_add(string user, string domain, string alias)
insert a virtual alias
bool vpopmail_alias_del(string user, string domain)
deletes all virtual aliases of a user
bool vpopmail_alias_del_domain(string domain)
deletes all virtual aliases of a domain
array vpopmail_alias_get(string alias, string domain)
get all lines of an alias for a domain
array vpopmail_alias_get_all(string domain)
get all lines of an alias for a domain
bool vpopmail_auth_user(string user, string domain, string password[, string apop])
Attempt to validate a username/domain/password. Returns true/false
bool vpopmail_del_domain(string domain)
Delete a virtual domain
bool vpopmail_del_domain_ex(string domain)
Delete a virtual domain
bool vpopmail_del_user(string user, string domain)
Delete a user from a virtual domain
string vpopmail_error(void)
Get text message for last vpopmail error. Returns string
bool vpopmail_passwd(string user, string domain, string password)
Change a virtual user's password
bool vpopmail_set_user_quota(string user, string domain, string quota)
Sets a virtual user's quota
# php4/ext/w32api/w32api.c
int w32api_deftype(string typename, string member1_type, string member1_name, ...)
Defines a type for use with other w32api_functions.
resource w32api_init_dtype(string typename, mixed val1, mixed val2);
Creates an instance to the data type typename and fills it with the values val1, val2, the function then returns a DYNAPARM which can be passed when invoking a function as a parameter.
mixed w32api_invoke_function(string funcname, ....)
Invokes function funcname with the arguments passed after the function name
bool w32api_register_function(string libary, string function_name)
Registers function function_name from library with PHP
void w32api_set_call_method(int method)
Sets the calling method used
# php4/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(string 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
# php4/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
int xml_parser_create([string encoding])
Create an XML parser
int 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
# php4/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
array xmlrpc_parse_method_descriptions(string xml)
Decodes XML into a list of method descriptions
int xmlrpc_server_add_introspection_data(handle server, array desc)
Adds introspection documentation
mixed xmlrpc_server_call_method(handle server, string xml, mixed user_data [, array output_options])
Parses XML requests and call methods
handle xmlrpc_server_create(void)
Creates an xmlrpc server
void xmlrpc_server_destroy(handle server)
Destroys server resources
boolean xmlrpc_server_register_introspection_callback(handle server, string function)
Register a PHP function to generate documentation
boolean xmlrpc_server_register_method(handle 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
# php4/ext/xslt/sablot.c
resource xslt_create(void)
Create a new XSLT processor
int xslt_errno(resource processor)
Error number
string xslt_error(resource processor)
Error string
void xslt_free(resource processor)
Free the xslt processor up
string xslt_process(resource processor, string xml, string xslt[, mixed result[, array args[, array params]]])
Perform the xslt transformation
void xslt_set_base(resource processor, string base)
Sets the base URI for all XSLT transformations
void xslt_set_encoding(resource processor, string encoding)
Set the output encoding for the current stylesheet
void xslt_set_error_handler(resource processor, mixed error_func)
Set the error handler, to be called when an XSLT error happens
void xslt_set_log(resource processor, string logfile)
Set the log file to write the errors to (defaults to stderr)
void xslt_set_sax_handlers(resource processor, array handlers)
Set the SAX handlers to be called when the XML document gets processed
void xslt_set_scheme_handlers(resource processor, array handlers)
Set the scheme handlers for the XSLT processor
# php4/ext/yaz/php_yaz.c
string yaz_addinfo(int id)
Return additional info for last error (empty string if none)
int yaz_ccl_conf(int id, array package)
Configure CCL package
int yaz_ccl_parse(int id, string query, array res)
Parse a CCL query
int yaz_close(int id)
Destory and close target
int yaz_connect(string zurl [ array options])
Create target with given zurl. Returns positive id if successful.
int yaz_database (int id, string databases)
Specify the databases within a session
int yaz_element(int id, string elementsetname)
Set Element-Set-Name for retrieval
int yaz_errno(int id)
Return last error number (>0 for bib-1 diagnostic, <0 for other error, 0 for no error
string yaz_error(int id)
Return last error message
int yaz_es_result(int id)
Inspects Extended Services Result
int yaz_hits(int id)
Return number of hits (result count) for last search
int yaz_itemorder(int id, array package)
Sends Item Order request
int yaz_present(int id)
Retrieve records
int yaz_range(int id, int start, int number)
Set result set start point and number of records to request
string yaz_record(int id, int pos, string type)
Return record information at given result set position
int yaz_scan(int id, type, query [, flags])
Sends Scan Request
int yaz_scan_result(int id, array options)
Inspects Scan Result
int yaz_search(int id, string type, string query)
Specify query of type for search - returns true if successful
int yaz_sort(int id, string sortspec)
Set result set sorting criteria
int yaz_syntax(int id, string syntax)
Set record syntax for retrieval
int yaz_wait([array options])
Process events.
# php4/ext/yp/yp.c
void 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
# php4/ext/zip/zip.c
void zip_close(resource zip)
Close a Zip archive
void zip_entry_close(resource zip_ent)
Close a zip entry
int zip_entry_compressedsize(resource zip_entry)
Return the compressed size of a ZZip entry
string zip_entry_compressionmethod(resource zip_entry)
Return a string containing the compression method used on a particular entry
int zip_entry_filesize(resource zip_entry)
Return the actual filesize of a ZZip entry
string zip_entry_name(resource zip_entry)
Return the name given a ZZip entry
bool zip_entry_open(resource zip_dp, resource zip_entry, string mode)
Open a Zip File, pointed by the resource entry
string zip_entry_read(resource zip_ent)
Read X bytes from an opened zip entry
resource zip_open(string filename)
Open a new zip archive for reading
resource zip_read(resource zip)
Returns the next file in the archive
# php4/ext/zlib/zlib.c
int gzclose(int zp)
Close an open .gz-file pointer
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 encoding_mode])
GZ encode a string
int gzeof(int zp)
Test for end-of-file on a .gz-file pointer
array gzfile(string filename [, int use_include_path])
Read und uncompress entire .gz-file into an array
string gzgetc(int zp)
Get a character from .gz-file pointer
string gzgets(int zp, int length)
Get a line from .gz-file pointer
string gzgetss(int zp, int length [, string allowable_tags])
Get a line from file pointer and strip HTML tags
string gzinflate(string data, int length)
Unzip a gzip-compressed string
int gzopen(string filename, string mode [, int use_include_path])
Open a .gz-file and return a .gz-file pointer
int gzpassthru(int zp)
Output all remaining data from a .gz-file pointer
int gzputs(int zp, string str [, int length])
An alias for gzwrite
string gzread(int zp, int length)
Binary-safe file read
int gzrewind(int zp)
Rewind the position of a .gz-file pointer
int gzseek(int zp, int offset)
Seek on a file pointer
int gztell(int zp)
Get .gz-file pointer's read/write position
string gzuncompress(string data, int length)
Unzip a gzip-compressed string
int gzwrite(int zp, string str [, int length])
Binary-safe .gz-file write
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
# php4/main/main.c
void set_time_limit(int seconds)
Sets the maximum time a script can run
# php4/main/output.c
void ob_clean(void)
Clean (erase) the output buffer
void ob_end_clean(void)
Clean (erase) the output buffer, and turn off output buffering
void ob_end_flush(void)
Flush (send) the output buffer, and turn off output buffering
void ob_flush(void)
Flush (send) the output buffer
string ob_get_contents(void)
Return the contents of the output buffer
string ob_get_length(void)
Return the length of the output buffer
integer ob_get_level(void)
Return the nesting level of the output buffer
void ob_implicit_flush([int flag])
Turn implicit flush on/off and is equivalent to calling flush() after every output call
void ob_start([ string user_function [, int chunk_size]])
Turn on Output Buffering (specifying an optional output handler).
# php4/sapi/apache/mod_php4.c
# php4/sapi/apache/php_apache.c
string apache_child_terminate()
Terminate apache process after this request
class 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
int apache_setenv(string variable, string value [, boolean walk_to_top])
Set an Apache subprocess_env variable
array getallheaders(void)
Fetch all HTTP request headers
int virtual(string filename)
Perform an Apache sub-request
# php4/sapi/apache2filter/php_functions.c
array getallheaders(void)
Fetch all HTTP request headers
bool virtual(string uri)
Perform an apache sub-request
|