php-internal-docs 8.4.8
Unofficial docs for php/php-src
Loading...
Searching...
No Matches
basic_functions.stub.php
Go to the documentation of this file.
1<?php
2
4
5/* array.c */
6
11const EXTR_OVERWRITE = UNKNOWN;
16const EXTR_SKIP = UNKNOWN;
21const EXTR_PREFIX_SAME = UNKNOWN;
26const EXTR_PREFIX_ALL = UNKNOWN;
31const EXTR_PREFIX_INVALID = UNKNOWN;
36const EXTR_PREFIX_IF_EXISTS = UNKNOWN;
41const EXTR_IF_EXISTS = UNKNOWN;
46const EXTR_REFS = UNKNOWN;
47
52const SORT_ASC = UNKNOWN;
57const SORT_DESC = UNKNOWN;
58
63const SORT_REGULAR = UNKNOWN;
68const SORT_NUMERIC = UNKNOWN;
73const SORT_STRING = UNKNOWN;
78const SORT_LOCALE_STRING = UNKNOWN;
83const SORT_NATURAL = UNKNOWN;
88const SORT_FLAG_CASE = UNKNOWN;
89
94const CASE_LOWER = UNKNOWN;
99const CASE_UPPER = UNKNOWN;
100
105const COUNT_NORMAL = UNKNOWN;
110const COUNT_RECURSIVE = UNKNOWN;
111
116const ARRAY_FILTER_USE_BOTH = UNKNOWN;
121const ARRAY_FILTER_USE_KEY = UNKNOWN;
122
123/* assert.c */
124
130const ASSERT_ACTIVE = UNKNOWN;
136const ASSERT_CALLBACK = UNKNOWN;
142const ASSERT_BAIL = UNKNOWN;
148const ASSERT_WARNING = UNKNOWN;
154const ASSERT_EXCEPTION = UNKNOWN;
155
156/* basic_functions.h */
157
162const CONNECTION_ABORTED = UNKNOWN;
167const CONNECTION_NORMAL = UNKNOWN;
172const CONNECTION_TIMEOUT = UNKNOWN;
173
178const INI_USER = UNKNOWN;
183const INI_PERDIR = UNKNOWN;
188const INI_SYSTEM = UNKNOWN;
193const INI_ALL = UNKNOWN;
194
199const INI_SCANNER_NORMAL = UNKNOWN;
204const INI_SCANNER_RAW = UNKNOWN;
209const INI_SCANNER_TYPED = UNKNOWN;
210
215const PHP_URL_SCHEME = UNKNOWN;
220const PHP_URL_HOST = UNKNOWN;
225const PHP_URL_PORT = UNKNOWN;
230const PHP_URL_USER = UNKNOWN;
235const PHP_URL_PASS = UNKNOWN;
240const PHP_URL_PATH = UNKNOWN;
245const PHP_URL_QUERY = UNKNOWN;
250const PHP_URL_FRAGMENT = UNKNOWN;
255const PHP_QUERY_RFC1738 = UNKNOWN;
260const PHP_QUERY_RFC3986 = UNKNOWN;
261
266const M_E = 2.718281828459045;
271const M_LOG2E = 1.4426950408889634074;
276const M_LOG10E = 0.43429448190325182765;
281const M_LN2 = 0.69314718055994530942;
286const M_LN10 = 2.30258509299404568402;
291const M_PI = 3.14159265358979323846;
296const M_PI_2 = 1.57079632679489661923;
301const M_PI_4 = 0.78539816339744830962;
306const M_1_PI = 0.31830988618379067154;
311const M_2_PI = 0.63661977236758134308;
316const M_SQRTPI = 1.77245385090551602729;
321const M_2_SQRTPI = 1.12837916709551257390;
326const M_LNPI = 1.14472988584940017414;
331const M_EULER = 0.57721566490153286061;
336const M_SQRT2 = 1.41421356237309504880;
341const M_SQRT1_2 = 0.70710678118654752440;
346const M_SQRT3 = 1.73205080756887729352;
351const INF = UNKNOWN;
356const NAN = UNKNOWN;
357
362const PHP_ROUND_HALF_UP = UNKNOWN;
367const PHP_ROUND_HALF_DOWN = UNKNOWN;
372const PHP_ROUND_HALF_EVEN = UNKNOWN;
377const PHP_ROUND_HALF_ODD = UNKNOWN;
378
379/* crypt.c */
380
385const CRYPT_SALT_LENGTH = UNKNOWN;
391const CRYPT_MD5 = 1;
395const CRYPT_SHA256 = 1;
397const CRYPT_SHA512 = 1;
398
399/* dns.c */
400
401#if (defined(PHP_WIN32) || (defined(HAVE_DNS_SEARCH_FUNC) && defined(HAVE_FULL_DNS_FUNCS)))
406const DNS_A = UNKNOWN;
411const DNS_NS = UNKNOWN;
416const DNS_CNAME = UNKNOWN;
421const DNS_SOA = UNKNOWN;
426const DNS_PTR = UNKNOWN;
431const DNS_HINFO = UNKNOWN;
432#if (!defined(PHP_WIN32))
437const DNS_CAA = UNKNOWN;
438#endif
443const DNS_MX = UNKNOWN;
448const DNS_TXT = UNKNOWN;
453const DNS_SRV = UNKNOWN;
458const DNS_NAPTR = UNKNOWN;
463const DNS_AAAA = UNKNOWN;
468const DNS_A6 = UNKNOWN;
473const DNS_ANY = UNKNOWN;
478const DNS_ALL = UNKNOWN;
479#endif
480
481/* html.c */
482
487const HTML_SPECIALCHARS = UNKNOWN;
492const HTML_ENTITIES = UNKNOWN;
497const ENT_COMPAT = UNKNOWN;
502const ENT_QUOTES = UNKNOWN;
507const ENT_NOQUOTES = UNKNOWN;
512const ENT_IGNORE = UNKNOWN;
517const ENT_SUBSTITUTE = UNKNOWN;
522const ENT_DISALLOWED = UNKNOWN;
527const ENT_HTML401 = UNKNOWN;
532const ENT_XML1 = UNKNOWN;
537const ENT_XHTML = UNKNOWN;
542const ENT_HTML5 = UNKNOWN;
543
544/* image.c */
545
550const IMAGETYPE_GIF = UNKNOWN;
555const IMAGETYPE_JPEG = UNKNOWN;
560const IMAGETYPE_PNG = UNKNOWN;
565const IMAGETYPE_SWF = UNKNOWN;
570const IMAGETYPE_PSD = UNKNOWN;
575const IMAGETYPE_BMP = UNKNOWN;
580const IMAGETYPE_TIFF_II = UNKNOWN;
585const IMAGETYPE_TIFF_MM = UNKNOWN;
590const IMAGETYPE_JPC = UNKNOWN;
595const IMAGETYPE_JP2 = UNKNOWN;
600const IMAGETYPE_JPX = UNKNOWN;
605const IMAGETYPE_JB2 = UNKNOWN;
606#if (defined(HAVE_ZLIB) && !defined(COMPILE_DL_ZLIB))
611const IMAGETYPE_SWC = UNKNOWN;
612#endif
617const IMAGETYPE_IFF = UNKNOWN;
622const IMAGETYPE_WBMP = UNKNOWN;
623/* keep alias */
628const IMAGETYPE_JPEG2000 = UNKNOWN;
633const IMAGETYPE_XBM = UNKNOWN;
638const IMAGETYPE_ICO = UNKNOWN;
643const IMAGETYPE_WEBP = UNKNOWN;
648const IMAGETYPE_AVIF = UNKNOWN;
653const IMAGETYPE_UNKNOWN = UNKNOWN;
658const IMAGETYPE_COUNT = UNKNOWN;
659
660/* info.c */
661
666const INFO_GENERAL = UNKNOWN;
671const INFO_CREDITS = UNKNOWN;
676const INFO_CONFIGURATION = UNKNOWN;
681const INFO_MODULES = UNKNOWN;
686const INFO_ENVIRONMENT = UNKNOWN;
691const INFO_VARIABLES = UNKNOWN;
696const INFO_LICENSE = UNKNOWN;
701const INFO_ALL = UNKNOWN;
706const CREDITS_GROUP = UNKNOWN;
711const CREDITS_GENERAL = UNKNOWN;
716const CREDITS_SAPI = UNKNOWN;
721const CREDITS_MODULES = UNKNOWN;
726const CREDITS_DOCS = UNKNOWN;
731const CREDITS_FULLPAGE = UNKNOWN;
736const CREDITS_QA = UNKNOWN;
741const CREDITS_ALL = UNKNOWN;
742
743/* syslog.c */
744
745/* error levels */
746
752const LOG_EMERG = UNKNOWN;
758const LOG_ALERT = UNKNOWN;
764const LOG_CRIT = UNKNOWN;
769const LOG_ERR = UNKNOWN;
774const LOG_WARNING = UNKNOWN;
779const LOG_NOTICE = UNKNOWN;
784const LOG_INFO = UNKNOWN;
789const LOG_DEBUG = UNKNOWN;
790/* facility: type of program logging the message */
795const LOG_KERN = UNKNOWN;
801const LOG_USER = UNKNOWN;
807const LOG_MAIL = UNKNOWN;
813const LOG_DAEMON = UNKNOWN;
818const LOG_AUTH = UNKNOWN;
823const LOG_SYSLOG = UNKNOWN;
828const LOG_LPR = UNKNOWN;
829#ifdef LOG_NEWS
830/* No LOG_NEWS on HP-UX */
836const LOG_NEWS = UNKNOWN;
837#endif
838#ifdef LOG_UUCP
839/* No LOG_UUCP on HP-UX */
844const LOG_UUCP = UNKNOWN;
845#endif
846#ifdef LOG_CRON
847/* apparently some systems don't have this one */
852const LOG_CRON = UNKNOWN;
853#endif
854#ifdef LOG_AUTHPRIV
855/* AIX doesn't have LOG_AUTHPRIV */
860const LOG_AUTHPRIV = UNKNOWN;
861#endif
862#ifndef PHP_WIN32
867const LOG_LOCAL0 = UNKNOWN;
872const LOG_LOCAL1 = UNKNOWN;
877const LOG_LOCAL2 = UNKNOWN;
882const LOG_LOCAL3 = UNKNOWN;
887const LOG_LOCAL4 = UNKNOWN;
892const LOG_LOCAL5 = UNKNOWN;
897const LOG_LOCAL6 = UNKNOWN;
902const LOG_LOCAL7 = UNKNOWN;
903#endif
904/* options */
909const LOG_PID = UNKNOWN;
914const LOG_CONS = UNKNOWN;
919const LOG_ODELAY = UNKNOWN;
924const LOG_NDELAY = UNKNOWN;
925#ifdef LOG_NOWAIT
930const LOG_NOWAIT = UNKNOWN;
931#endif
932#ifdef LOG_PERROR
933/* AIX doesn't have LOG_PERROR */
939const LOG_PERROR = UNKNOWN;
940#endif
941
942/* string.c */
943
948const STR_PAD_LEFT = UNKNOWN;
953const STR_PAD_RIGHT = UNKNOWN;
958const STR_PAD_BOTH = UNKNOWN;
963const PATHINFO_DIRNAME = UNKNOWN;
968const PATHINFO_BASENAME = UNKNOWN;
973const PATHINFO_EXTENSION = UNKNOWN;
978const PATHINFO_FILENAME = UNKNOWN;
983const PATHINFO_ALL = UNKNOWN;
984
990const CHAR_MAX = UNKNOWN;
995const LC_CTYPE = UNKNOWN;
1000const LC_NUMERIC = UNKNOWN;
1005const LC_TIME = UNKNOWN;
1010const LC_COLLATE = UNKNOWN;
1015const LC_MONETARY = UNKNOWN;
1020const LC_ALL = UNKNOWN;
1021#ifdef LC_MESSAGES
1026const LC_MESSAGES = UNKNOWN;
1027#endif
1028
1029#ifdef HAVE_NL_LANGINFO
1030#ifdef ABDAY_1
1035const ABDAY_1 = UNKNOWN;
1040const ABDAY_2 = UNKNOWN;
1045const ABDAY_3 = UNKNOWN;
1050const ABDAY_4 = UNKNOWN;
1055const ABDAY_5 = UNKNOWN;
1060const ABDAY_6 = UNKNOWN;
1065const ABDAY_7 = UNKNOWN;
1066#endif
1067#ifdef DAY_1
1072const DAY_1 = UNKNOWN;
1077const DAY_2 = UNKNOWN;
1082const DAY_3 = UNKNOWN;
1087const DAY_4 = UNKNOWN;
1092const DAY_5 = UNKNOWN;
1097const DAY_6 = UNKNOWN;
1102const DAY_7 = UNKNOWN;
1103#endif
1104#ifdef ABMON_1
1109const ABMON_1 = UNKNOWN;
1114const ABMON_2 = UNKNOWN;
1119const ABMON_3 = UNKNOWN;
1124const ABMON_4 = UNKNOWN;
1129const ABMON_5 = UNKNOWN;
1134const ABMON_6 = UNKNOWN;
1139const ABMON_7 = UNKNOWN;
1144const ABMON_8 = UNKNOWN;
1149const ABMON_9 = UNKNOWN;
1154const ABMON_10 = UNKNOWN;
1159const ABMON_11 = UNKNOWN;
1164const ABMON_12 = UNKNOWN;
1165#endif
1166#ifdef MON_1
1171const MON_1 = UNKNOWN;
1176const MON_2 = UNKNOWN;
1181const MON_3 = UNKNOWN;
1186const MON_4 = UNKNOWN;
1191const MON_5 = UNKNOWN;
1196const MON_6 = UNKNOWN;
1201const MON_7 = UNKNOWN;
1206const MON_8 = UNKNOWN;
1211const MON_9 = UNKNOWN;
1216const MON_10 = UNKNOWN;
1221const MON_11 = UNKNOWN;
1226const MON_12 = UNKNOWN;
1227#endif
1228#ifdef AM_STR
1233const AM_STR = UNKNOWN;
1234#endif
1235#ifdef PM_STR
1240const PM_STR = UNKNOWN;
1241#endif
1242#ifdef D_T_FMT
1247const D_T_FMT = UNKNOWN;
1248#endif
1249#ifdef D_FMT
1254const D_FMT = UNKNOWN;
1255#endif
1256#ifdef T_FMT
1261const T_FMT = UNKNOWN;
1262#endif
1263#ifdef T_FMT_AMPM
1268const T_FMT_AMPM = UNKNOWN;
1269#endif
1270#ifdef ERA
1275const ERA = UNKNOWN;
1276#endif
1277#ifdef ERA_YEAR
1282const ERA_YEAR = UNKNOWN;
1283#endif
1284#ifdef ERA_D_T_FMT
1289const ERA_D_T_FMT = UNKNOWN;
1290#endif
1291#ifdef ERA_D_FMT
1296const ERA_D_FMT = UNKNOWN;
1297#endif
1298#ifdef ERA_T_FMT
1303const ERA_T_FMT = UNKNOWN;
1304#endif
1305#ifdef ALT_DIGITS
1310const ALT_DIGITS = UNKNOWN;
1311#endif
1312#ifdef INT_CURR_SYMBOL
1317const INT_CURR_SYMBOL = UNKNOWN;
1318#endif
1319#ifdef CURRENCY_SYMBOL
1324const CURRENCY_SYMBOL = UNKNOWN;
1325#endif
1326#ifdef CRNCYSTR
1331const CRNCYSTR = UNKNOWN;
1332#endif
1333#ifdef MON_DECIMAL_POINT
1338const MON_DECIMAL_POINT = UNKNOWN;
1339#endif
1340#ifdef MON_THOUSANDS_SEP
1345const MON_THOUSANDS_SEP = UNKNOWN;
1346#endif
1347#ifdef MON_GROUPING
1352const MON_GROUPING = UNKNOWN;
1353#endif
1354#ifdef POSITIVE_SIGN
1359const POSITIVE_SIGN = UNKNOWN;
1360#endif
1361#ifdef NEGATIVE_SIGN
1366const NEGATIVE_SIGN = UNKNOWN;
1367#endif
1368#ifdef INT_FRAC_DIGITS
1373const INT_FRAC_DIGITS = UNKNOWN;
1374#endif
1375#ifdef FRAC_DIGITS
1380const FRAC_DIGITS = UNKNOWN;
1381#endif
1382#ifdef P_CS_PRECEDES
1387const P_CS_PRECEDES = UNKNOWN;
1388#endif
1389#ifdef P_SEP_BY_SPACE
1394const P_SEP_BY_SPACE = UNKNOWN;
1395#endif
1396#ifdef N_CS_PRECEDES
1401const N_CS_PRECEDES = UNKNOWN;
1402#endif
1403#ifdef N_SEP_BY_SPACE
1408const N_SEP_BY_SPACE = UNKNOWN;
1409#endif
1410#ifdef P_SIGN_POSN
1415const P_SIGN_POSN = UNKNOWN;
1416#endif
1417#ifdef N_SIGN_POSN
1422const N_SIGN_POSN = UNKNOWN;
1423#endif
1424#ifdef DECIMAL_POINT
1429const DECIMAL_POINT = UNKNOWN;
1430#endif
1431#ifdef RADIXCHAR
1436const RADIXCHAR = UNKNOWN;
1437#endif
1438#ifdef THOUSANDS_SEP
1443const THOUSANDS_SEP = UNKNOWN;
1444#endif
1445#ifdef THOUSEP
1450const THOUSEP = UNKNOWN;
1451#endif
1452#ifdef GROUPING
1457const GROUPING = UNKNOWN;
1458#endif
1459#ifdef YESEXPR
1464const YESEXPR = UNKNOWN;
1465#endif
1466#ifdef NOEXPR
1471const NOEXPR = UNKNOWN;
1472#endif
1473#ifdef YESSTR
1478const YESSTR = UNKNOWN;
1479#endif
1480#ifdef NOSTR
1485const NOSTR = UNKNOWN;
1486#endif
1487#ifdef CODESET
1492const CODESET = UNKNOWN;
1493#endif
1494#endif
1495
1497#[AllowDynamicProperties]
1499{
1500}
1501
1503{
1504}
1505
1506/* main/main.c */
1507
1508function set_time_limit(int $seconds): bool {}
1509
1510/* main/SAPI.c */
1511
1512function header_register_callback(callable $callback): bool {}
1513
1514/* main/output.c */
1515
1517function ob_start($callback = null, int $chunk_size = 0, int $flags = PHP_OUTPUT_HANDLER_STDFLAGS): bool {}
1518
1520
1522
1524
1526
1528function ob_get_flush(): string|false {}
1529
1531function ob_get_clean(): string|false {}
1532
1533function ob_get_contents(): string|false {}
1534
1536
1538
1544
1549function ob_get_status(bool $full_status = false): array {}
1550
1551function ob_implicit_flush(bool $enable = true): void {}
1552
1554
1555function output_add_rewrite_var(string $name, string $value): bool {}
1556
1557/* main/streams/userspace.c */
1558
1559function stream_wrapper_register(string $protocol, string $class, int $flags = 0): bool {}
1560
1562function stream_register_wrapper(string $protocol, string $class, int $flags = 0): bool {}
1563
1564function stream_wrapper_unregister(string $protocol): bool {}
1565
1566function stream_wrapper_restore(string $protocol): bool {}
1567
1568/* array.c */
1569
1570function array_push(array &$array, mixed ...$values): int {}
1571
1572function krsort(array &$array, int $flags = SORT_REGULAR): true {}
1573
1574function ksort(array &$array, int $flags = SORT_REGULAR): true {}
1575
1577function count(Countable|array $value, int $mode = COUNT_NORMAL): int {}
1578
1580function sizeof(Countable|array $value, int $mode = COUNT_NORMAL): int {}
1581
1582function natsort(array &$array): true {}
1583
1585
1586function asort(array &$array, int $flags = SORT_REGULAR): true {}
1587
1588function arsort(array &$array, int $flags = SORT_REGULAR): true {}
1589
1590function sort(array &$array, int $flags = SORT_REGULAR): true {}
1591
1592function rsort(array &$array, int $flags = SORT_REGULAR): true {}
1593
1594function usort(array &$array, callable $callback): true {}
1595
1596function uasort(array &$array, callable $callback): true {}
1597
1598function uksort(array &$array, callable $callback): true {}
1599
1600function end(array|object &$array): mixed {}
1601
1602function prev(array|object &$array): mixed {}
1603
1604function next(array|object &$array): mixed {}
1605
1606function reset(array|object &$array): mixed {}
1607
1609
1611function pos(array|object $array): mixed {}
1612
1613function key(array|object $array): int|string|null {}
1614
1619function min(mixed $value, mixed ...$values): mixed {}
1620
1625function max(mixed $value, mixed ...$values): mixed {}
1626
1627function array_walk(array|object &$array, callable $callback, mixed $arg = UNKNOWN): true {}
1628
1629function array_walk_recursive(array|object &$array, callable $callback, mixed $arg = UNKNOWN): true {}
1630
1636function in_array(mixed $needle, array $haystack, bool $strict = false): bool {}
1637
1641function array_search(mixed $needle, array $haystack, bool $strict = false): int|string|false {}
1642
1644function extract(array &$array, int $flags = EXTR_OVERWRITE, string $prefix = ""): int {}
1645
1652function compact($var_name, ...$var_names): array {}
1653
1655function array_fill(int $start_index, int $count, mixed $value): array {}
1656
1658function array_fill_keys(array $keys, mixed $value): array {}
1659
1660function range(string|int|float $start, string|int|float $end, int|float $step = 1): array {}
1661
1662function shuffle(array &$array): true {}
1663
1664function array_pop(array &$array): mixed {}
1665
1666function array_shift(array &$array): mixed {}
1667
1668function array_unshift(array &$array, mixed ...$values): int {}
1669
1670function array_splice(array &$array, int $offset, ?int $length = null, mixed $replacement = []): array {}
1671
1675function array_slice(array $array, int $offset, ?int $length = null, bool $preserve_keys = false): array {}
1676
1680function array_merge(array ...$arrays): array {}
1681
1685function array_merge_recursive(array ...$arrays): array {}
1686
1691function array_replace(array $array, array ...$replacements): array {}
1692
1697function array_replace_recursive(array $array, array ...$replacements): array {}
1698
1703function array_keys(array $array, mixed $filter_value = UNKNOWN, bool $strict = false): array {}
1704
1708function array_key_first(array $array): int|string|null {}
1709
1713function array_key_last(array $array): int|string|null {}
1714
1720
1727
1732function array_column(array $array, int|string|null $column_key, int|string|null $index_key = null): array {}
1733
1738function array_reverse(array $array, bool $preserve_keys = false): array {}
1739
1740function array_pad(array $array, int $length, mixed $value): array {}
1741
1748
1754
1758function array_unique(array $array, int $flags = SORT_STRING): array {}
1759
1764function array_intersect_key(array $array, array ...$arrays): array {}
1765
1770function array_intersect_ukey(array $array, ...$rest): array {}
1771
1776function array_intersect(array $array, array ...$arrays): array {}
1777
1782function array_uintersect(array $array, ...$rest): array {}
1783
1788function array_intersect_assoc(array $array, array ...$arrays): array {}
1789
1794function array_uintersect_assoc(array $array, ...$rest): array {}
1795
1800function array_intersect_uassoc(array $array, ...$rest): array {}
1801
1806function array_uintersect_uassoc(array $array, ...$rest): array {}
1807
1812function array_diff_key(array $array, array ...$arrays): array {}
1813
1818function array_diff_ukey(array $array, ...$rest): array {}
1819
1823function array_diff(array $array, array ...$arrays): array {}
1824
1829function array_udiff(array $array, ...$rest): array {}
1830
1835function array_diff_assoc(array $array, array ...$arrays): array {}
1836
1841function array_diff_uassoc(array $array, ...$rest): array {}
1842
1847function array_udiff_assoc(array $array, ...$rest): array {}
1848
1853function array_udiff_uassoc(array $array, ...$rest): array {}
1854
1861function array_multisort(&$array, &...$rest): bool {}
1862
1864function array_rand(array $array, int $num = 1): int|string|array {}
1865
1869function array_sum(array $array): int|float {}
1870
1874function array_product(array $array): int|float {}
1875
1876function array_reduce(array $array, callable $callback, mixed $initial = null): mixed {}
1877
1878function array_filter(array $array, ?callable $callback = null, int $mode = 0): array {}
1879
1880function array_find(array $array, callable $callback): mixed {}
1881
1882function array_find_key(array $array, callable $callback): mixed {}
1883
1884function array_any(array $array, callable $callback): bool {}
1885
1886function array_all(array $array, callable $callback): bool {}
1887
1888function array_map(?callable $callback, array $array, array ...$arrays): array {}
1889
1894function array_key_exists($key, array $array): bool {}
1895
1900function key_exists($key, array $array): bool {}
1901
1905function array_chunk(array $array, int $length, bool $preserve_keys = false): array {}
1906
1910function array_combine(array $keys, array $values): array {}
1911
1914
1915/* base64.c */
1916
1921function base64_encode(string $string): string {}
1922
1927function base64_decode(string $string, bool $strict = false): string|false {}
1928
1929/* basic_functions.c */
1930
1931function constant(string $name): mixed {}
1932
1933function ip2long(string $ip): int|false {}
1934
1936function long2ip(int $ip): string {}
1937
1942function getenv(?string $name = null, bool $local_only = false): string|array|false {}
1943
1944#ifdef HAVE_PUTENV
1945function putenv(string $assignment): bool {}
1946#endif
1947
1953function getopt(string $short_options, array $long_options = [], &$rest_index = null): array|false {}
1954
1956
1957function sleep(int $seconds): int {}
1958
1959function usleep(int $microseconds): void {}
1960
1961#ifdef HAVE_NANOSLEEP
1966function time_nanosleep(int $seconds, int $nanoseconds): array|bool {}
1967
1968function time_sleep_until(float $timestamp): bool {}
1969#endif
1970
1973
1975function get_cfg_var(string $option): string|array|false {}
1976
1977function error_log(string $message, int $message_type = 0, ?string $destination = null, ?string $additional_headers = null): bool {}
1978
1984
1986
1987function call_user_func(callable $callback, mixed ...$args): mixed {}
1988
1989function call_user_func_array(callable $callback, array $args): mixed {}
1990
1991function forward_static_call(callable $callback, mixed ...$args): mixed {}
1992
1993function forward_static_call_array(callable $callback, array $args): mixed {}
1994
1995function register_shutdown_function(callable $callback, mixed ...$args): void {}
1996
1998function highlight_file(string $filename, bool $return = false): string|bool {}
1999
2001function show_source(string $filename, bool $return = false): string|bool {}
2002
2005
2007function highlight_string(string $string, bool $return = false): string|true {}
2008
2009function ini_get(string $option): string|false {}
2010
2015function ini_get_all(?string $extension = null, bool $details = true): array|false {}
2016
2017function ini_set(string $option, string|int|float|bool|null $value): string|false {}
2018
2020function ini_alter(string $option, string|int|float|bool|null $value): string|false {}
2021
2022function ini_restore(string $option): void {}
2023
2024function ini_parse_quantity(string $shorthand): int {}
2025
2027function set_include_path(string $include_path): string|false {}
2028
2030function get_include_path(): string|false {}
2031
2033function print_r(mixed $value, bool $return = false): string|true {}
2034
2036
2038
2039function ignore_user_abort(?bool $enable = null): int {}
2040
2041#ifdef HAVE_GETSERVBYNAME
2042function getservbyname(string $service, string $protocol): int|false {}
2043#endif
2044
2045#ifdef HAVE_GETSERVBYPORT
2047function getservbyport(int $port, string $protocol): string|false {}
2048#endif
2049
2050#ifdef HAVE_GETPROTOBYNAME
2051function getprotobyname(string $protocol): int|false {}
2052#endif
2053
2054#ifdef HAVE_GETPROTOBYNUMBER
2056function getprotobynumber(int $protocol): string|false {}
2057#endif
2058
2059function register_tick_function(callable $callback, mixed ...$args): bool {}
2060
2062
2064
2065function move_uploaded_file(string $from, string $to): bool {}
2066
2071function parse_ini_file(string $filename, bool $process_sections = false, int $scanner_mode = INI_SCANNER_NORMAL): array|false {}
2072
2078function parse_ini_string(string $ini_string, bool $process_sections = false, int $scanner_mode = INI_SCANNER_NORMAL): array|false {}
2079
2080#if ZEND_DEBUG
2086#endif
2087
2088#ifdef HAVE_GETLOADAVG
2093function sys_getloadavg(): array|false {}
2094#endif
2095
2096/* browscap.c */
2097
2102function get_browser(?string $user_agent = null, bool $return_array = false): object|array|false {}
2103
2104/* crc32.c */
2105
2107function crc32(string $string): int {}
2108
2109/* crypt.c */
2110
2112function crypt(#[\SensitiveParameter] string $string, string $salt): string {}
2113
2114/* datetime.c */
2115
2116#ifdef HAVE_STRPTIME
2121#[\Deprecated(since: '8.2', message: 'use date_parse_from_format() (for locale-independent parsing), or IntlDateFormatter::parse() (for locale-dependent parsing) instead')]
2122function strptime(string $timestamp, string $format): array|false {}
2123#endif
2124
2125/* dns.c */
2126
2127#ifdef HAVE_GETHOSTNAME
2129function gethostname(): string|false {}
2130#endif
2131
2133function gethostbyaddr(string $ip): string|false {}
2134
2136function gethostbyname(string $hostname): string {}
2137
2142function gethostbynamel(string $hostname): array|false {}
2143
2144#if (defined(PHP_WIN32) || defined(HAVE_DNS_SEARCH_FUNC))
2145function dns_check_record(string $hostname, string $type = "MX"): bool {}
2146
2148function checkdnsrr(string $hostname, string $type = "MX"): bool {}
2149
2156function dns_get_record(string $hostname, int $type = DNS_ANY, &$authoritative_name_servers = null, &$additional_records = null, bool $raw = false): array|false {}
2157
2162function dns_get_mx(string $hostname, &$hosts, &$weights = null): bool {}
2163
2169function getmxrr(string $hostname, &$hosts, &$weights = null): bool {}
2170#endif
2171
2172/* net.c */
2173
2174#if (defined(PHP_WIN32) || defined(HAVE_GETIFADDRS) || defined(__PASE__))
2176#endif
2177
2178/* ftok.c */
2179
2180#ifdef HAVE_FTOK
2181function ftok(string $filename, string $project_id): int {}
2182#endif
2183
2184/* hrtime.c */
2185
2186function hrtime(bool $as_number = false): array|int|float|false {}
2187
2188/* md5.c */
2189
2191function md5(string $string, bool $binary = false): string {}
2192
2194function md5_file(string $filename, bool $binary = false): string|false {}
2195
2196/* pageinfo.c */
2197
2198function getmyuid(): int|false {}
2199
2200function getmygid(): int|false {}
2201
2202function getmypid(): int|false {}
2203
2204function getmyinode(): int|false {}
2205
2206function getlastmod(): int|false {}
2207
2208/* sha1.c */
2209
2211function sha1(string $string, bool $binary = false): string {}
2212
2214function sha1_file(string $filename, bool $binary = false): string|false {}
2215
2216/* syslog.c */
2217
2218#ifdef HAVE_SYSLOG_H
2219function openlog(string $prefix, int $flags, int $facility): true {}
2220
2222
2223function syslog(int $priority, string $message): true {}
2224#endif
2225
2227function inet_ntop(string $ip): string|false {}
2228
2230function inet_pton(string $ip): string|false {}
2231
2232/* metaphone.c */
2233
2235function metaphone(string $string, int $max_phonemes = 0): string {}
2236
2237/* {{{ head.c */
2238function header(string $header, bool $replace = true, int $response_code = 0): void {}
2239
2241
2242function setrawcookie(string $name, string $value = "", array|int $expires_or_options = 0, string $path = "", string $domain = "", bool $secure = false, bool $httponly = false): bool {}
2243
2244function setcookie(string $name, string $value = "", array|int $expires_or_options = 0, string $path = "", string $domain = "", bool $secure = false, bool $httponly = false): bool {}
2245
2246function http_response_code(int $response_code = 0): int|bool {}
2247
2252function headers_sent(&$filename = null, &$line = null): bool {}
2253
2259
2260/* {{{ html.c */
2261
2263function htmlspecialchars(string $string, int $flags = ENT_QUOTES | ENT_SUBSTITUTE | ENT_HTML401, ?string $encoding = null, bool $double_encode = true): string {}
2264
2265function htmlspecialchars_decode(string $string, int $flags = ENT_QUOTES | ENT_SUBSTITUTE | ENT_HTML401): string {}
2266
2267function html_entity_decode(string $string, int $flags = ENT_QUOTES | ENT_SUBSTITUTE | ENT_HTML401, ?string $encoding = null): string {}
2268
2270function htmlentities(string $string, int $flags = ENT_QUOTES | ENT_SUBSTITUTE | ENT_HTML401, ?string $encoding = null, bool $double_encode = true): string {}
2271
2276function get_html_translation_table(int $table = HTML_SPECIALCHARS, int $flags = ENT_QUOTES | ENT_SUBSTITUTE | ENT_HTML401, string $encoding = "UTF-8"): array {}
2277
2278/* }}} */
2279
2280/* assert.c */
2281
2282function assert(mixed $assertion, Throwable|string|null $description = null): bool {}
2283
2284#[\Deprecated(since: '8.3')]
2285function assert_options(int $option, mixed $value = UNKNOWN): mixed {}
2286
2287/* string.c */
2288
2293function bin2hex(string $string): string {}
2294
2299function hex2bin(string $string): string|false {}
2300
2304function strspn(string $string, string $characters, int $offset = 0, ?int $length = null): int {}
2305
2309function strcspn(string $string, string $characters, int $offset = 0, ?int $length = null): int {}
2310
2311#ifdef HAVE_NL_LANGINFO
2313function nl_langinfo(int $item): string|false {}
2314#endif
2315
2316function strcoll(string $string1, string $string2): int {}
2317
2323function trim(string $string, string $characters = " \n\r\t\v\0"): string {}
2324
2326function rtrim(string $string, string $characters = " \n\r\t\v\0"): string {}
2327
2329function chop(string $string, string $characters = " \n\r\t\v\0"): string {}
2330
2332function ltrim(string $string, string $characters = " \n\r\t\v\0"): string {}
2333
2338function wordwrap(string $string, int $width = 75, string $break = "\n", bool $cut_long_words = false): string {}
2339
2345function explode(string $separator, string $string, int $limit = PHP_INT_MAX): array {}
2346
2352function implode(string|array $separator, ?array $array = null): string {}
2353
2355function join(string|array $separator, ?array $array = null): string {}
2356
2360function strtok(string $string, ?string $token = null): string|false {}
2361
2363function strtoupper(string $string): string {}
2364
2366function strtolower(string $string): string {}
2367
2368function str_increment(string $string): string {}
2369
2370function str_decrement(string $string): string {}
2371
2373function basename(string $path, string $suffix = ""): string {}
2374
2380function dirname(string $path, int $levels = 1): string {}
2381
2386function pathinfo(string $path, int $flags = PATHINFO_ALL): array|string {}
2387
2392function stristr(string $haystack, string $needle, bool $before_needle = false): string|false {}
2393
2400function strstr(string $haystack, string $needle, bool $before_needle = false): string|false {}
2401
2403function strchr(string $haystack, string $needle, bool $before_needle = false): string|false {}
2404
2410function strpos(string $haystack, string $needle, int $offset = 0): int|false {}
2411
2413function stripos(string $haystack, string $needle, int $offset = 0): int|false {}
2414
2416function strrpos(string $haystack, string $needle, int $offset = 0): int|false {}
2417
2419function strripos(string $haystack, string $needle, int $offset = 0): int|false {}
2420
2425function strrchr(string $haystack, string $needle, bool $before_needle = false): string|false {}
2426
2431function str_contains(string $haystack, string $needle): bool {}
2432
2437function str_starts_with(string $haystack, string $needle): bool {}
2438
2440function str_ends_with(string $haystack, string $needle): bool {}
2441
2446function chunk_split(string $string, int $length = 76, string $separator = "\r\n"): string {}
2447
2453function substr(string $string, int $offset, ?int $length = null): string {}
2454
2459function substr_replace(array|string $string, array|string $replace, array|int $offset, array|int|null $length = null): string|array {}
2460
2465function quotemeta(string $string): string {}
2466
2468function ord(string $character): int {}
2469
2474function chr(int $codepoint): string {}
2475
2477function ucfirst(string $string): string {}
2478
2480function lcfirst(string $string): string {}
2481
2486function ucwords(string $string, string $separators = " \t\r\n\f\v"): string {}
2487
2493function strtr(string $string, string|array $from, ?string $to = null): string {}
2494
2499function strrev(string $string): string {}
2500
2502function similar_text(string $string1, string $string2, &$percent = null): int {}
2503
2507function addcslashes(string $string, string $characters): string {}
2508
2512function addslashes(string $string): string {}
2513
2518function stripcslashes(string $string): string {}
2519
2524function stripslashes(string $string): string {}
2525
2532function str_replace(array|string $search, array|string $replace, string|array $subject, &$count = null): string|array {}
2533
2539function str_ireplace(array|string $search, array|string $replace, string|array $subject, &$count = null): string|array {}
2540
2542function hebrev(string $string, int $max_chars_per_line = 0): string {}
2543
2547function nl2br(string $string, bool $use_xhtml = true): string {}
2548
2553function strip_tags(string $string, array|string|null $allowed_tags = null): string {}
2554
2559function setlocale(int $category, $locales, ...$rest): string|false {}
2560
2562function parse_str(string $string, &$result): void {}
2563
2568function str_getcsv(string $string, string $separator = ",", string $enclosure = "\"", string $escape = "\\"): array {}
2569
2571function str_repeat(string $string, int $times): string {}
2572
2578function count_chars(string $string, int $mode = 0): array|string {}
2579
2580function strnatcmp(string $string1, string $string2): int {}
2581
2587
2588function strnatcasecmp(string $string1, string $string2): int {}
2589
2593function substr_count(string $haystack, string $needle, int $offset = 0, ?int $length = null): int {}
2594
2595function str_pad(string $string, int $length, string $pad_string = " ", int $pad_type = STR_PAD_RIGHT): string {}
2596
2601function sscanf(string $string, string $format, mixed &...$vars): array|int|null {}
2602
2607function str_rot13(string $string): string {}
2608
2610function str_shuffle(string $string): string {}
2611
2616function str_word_count(string $string, int $format = 0, ?string $characters = null): array|int {}
2617
2622function str_split(string $string, int $length = 1): array {}
2623
2628function strpbrk(string $string, string $characters): string|false {}
2629
2633function substr_compare(string $haystack, string $needle, int $offset, ?int $length = null, bool $case_insensitive = false): int {}
2634
2639#[\Deprecated(since: '8.2', message: 'visit the php.net documentation for various alternatives')]
2640function utf8_encode(string $string): string {}
2641
2646#[\Deprecated(since: '8.2', message: 'visit the php.net documentation for various alternatives')]
2647function utf8_decode(string $string): string {}
2648
2649/* dir.c */
2650
2655function opendir(string $directory, $context = null) {}
2656
2661function dir(string $directory, $context = null): Directory|false {}
2662
2664function closedir($dir_handle = null): void {}
2665
2666function chdir(string $directory): bool {}
2667
2668#if (defined(HAVE_CHROOT) && !defined(ZTS) && defined(ENABLE_CHROOT_FUNC))
2669function chroot(string $directory): bool {}
2670#endif
2671
2673function getcwd(): string|false {}
2674
2676function rewinddir($dir_handle = null): void {}
2677
2682function readdir($dir_handle = null): string|false {}
2683
2689function scandir(string $directory, int $sorting_order = SCANDIR_SORT_ASCENDING, $context = null): array|false {}
2690
2691#ifdef HAVE_GLOB
2696function glob(string $pattern, int $flags = 0): array|false {}
2697#endif
2698
2699/* exec.c */
2700
2706function exec(string $command, &$output = null, &$result_code = null): string|false {}
2707
2712function system(string $command, &$result_code = null): string|false {}
2713
2715function passthru(string $command, &$result_code = null): false|null {}
2716
2718function escapeshellcmd(string $command): string {}
2719
2721function escapeshellarg(string $arg): string {}
2722
2724function shell_exec(string $command): string|false|null {}
2725
2726#ifdef HAVE_NICE
2727function proc_nice(int $priority): bool {}
2728#endif
2729
2730/* file.c */
2731
2736function flock($stream, int $operation, &$would_block = null): bool {}
2737
2742function get_meta_tags(string $filename, bool $use_include_path = false): array|false {}
2743
2745function pclose($handle): int {}
2746
2751function popen(string $command, string $mode) {}
2752
2754function readfile(string $filename, bool $use_include_path = false, $context = null): int|false {}
2755
2757function rewind($stream): bool {}
2758
2760function rmdir(string $directory, $context = null): bool {}
2761
2762function umask(?int $mask = null): int {}
2763
2765function fclose($stream): bool {}
2766
2768function feof($stream): bool {}
2769
2771function fgetc($stream): string|false {}
2772
2777function fgets($stream, ?int $length = null): string|false {}
2778
2783function fread($stream, int $length): string|false {}
2784
2790function fopen(string $filename, string $mode, bool $use_include_path = false, $context = null) {}
2791
2797function fscanf($stream, string $format, mixed &...$vars): array|int|false|null {}
2798
2800function fpassthru($stream): int {}
2801
2803function ftruncate($stream, int $size): bool {}
2804
2810function fstat($stream): array|false {}
2811
2813function fseek($stream, int $offset, int $whence = SEEK_SET): int {}
2814
2816function ftell($stream): int|false {}
2817
2819function fflush($stream): bool {}
2820
2822function fsync($stream): bool {}
2823
2825function fdatasync($stream): bool {}
2826
2828function fwrite($stream, string $data, ?int $length = null): int|false {}
2829
2834function fputs($stream, string $data, ?int $length = null): int|false {}
2835
2837function mkdir(string $directory, int $permissions = 0777, bool $recursive = false, $context = null): bool {}
2838
2840function rename(string $from, string $to, $context = null): bool {}
2841
2843function copy(string $from, string $to, $context = null): bool {}
2844
2846function tempnam(string $directory, string $prefix): string|false {}
2847
2853
2859function file(string $filename, int $flags = 0, $context = null): array|false {}
2860
2865function file_get_contents(string $filename, bool $use_include_path = false, $context = null, int $offset = 0, ?int $length = null): string|false {}
2866
2868function unlink(string $filename, $context = null): bool {}
2869
2871function file_put_contents(string $filename, mixed $data, int $flags = 0, $context = null): int|false {}
2872
2874function fputcsv($stream, array $fields, string $separator = ",", string $enclosure = "\"", string $escape = "\\", string $eol = "\n"): int|false {}
2875
2881function fgetcsv($stream, ?int $length = null, string $separator = ",", string $enclosure = "\"", string $escape = "\\"): array|false {}
2882
2884function realpath(string $path): string|false {}
2885
2886#ifdef HAVE_FNMATCH
2887function fnmatch(string $pattern, string $filename, int $flags = 0): bool {}
2888#endif
2889
2892
2893/* filestat.c */
2894
2895function fileatime(string $filename): int|false {}
2896
2897function filectime(string $filename): int|false {}
2898
2899function filegroup(string $filename): int|false {}
2900
2901function fileinode(string $filename): int|false {}
2902
2903function filemtime(string $filename): int|false {}
2904
2905function fileowner(string $filename): int|false {}
2906
2907function fileperms(string $filename): int|false {}
2908
2909function filesize(string $filename): int|false {}
2910
2912function filetype(string $filename): string|false {}
2913
2915
2917
2920
2922
2924
2926
2927function is_dir(string $filename): bool {}
2928
2930
2935function stat(string $filename): array|false {}
2936
2941function lstat(string $filename): array|false {}
2942
2943function chown(string $filename, string|int $user): bool {}
2944
2945function chgrp(string $filename, string|int $group): bool {}
2946
2947#ifdef HAVE_LCHOWN
2948function lchown(string $filename, string|int $user): bool {}
2949
2950function lchgrp(string $filename, string|int $group): bool {}
2951#endif
2952
2953function chmod(string $filename, int $permissions): bool {}
2954
2955#ifdef HAVE_UTIME
2956function touch(string $filename, ?int $mtime = null, ?int $atime = null): bool {}
2957#endif
2958
2959function clearstatcache(bool $clear_realpath_cache = false, string $filename = ""): void {}
2960
2961function disk_total_space(string $directory): float|false {}
2962
2963function disk_free_space(string $directory): float|false {}
2964
2966function diskfreespace(string $directory): float|false {}
2967
2973
2975
2976/* formatted_print.c */
2977
2979function sprintf(string $format, mixed ...$values): string {}
2980
2981function printf(string $format, mixed ...$values): int {}
2982
2983function vprintf(string $format, array $values): int {}
2984
2986function vsprintf(string $format, array $values): string {}
2987
2989function fprintf($stream, string $format, mixed ...$values): int {}
2990
2992function vfprintf($stream, string $format, array $values): int {}
2993
2994/* fsock.c */
2995
3002function fsockopen(string $hostname, int $port = -1, &$error_code = null, &$error_message = null, ?float $timeout = null) {}
3003
3009function pfsockopen(string $hostname, int $port = -1, &$error_code = null, &$error_message = null, ?float $timeout = null) {}
3010
3011/* http.c */
3012
3014function http_build_query(array|object $data, string $numeric_prefix = "", ?string $arg_separator = null, int $encoding_type = PHP_QUERY_RFC1738): string {}
3015
3017
3019
3025function request_parse_body(?array $options = null): array {}
3026
3027/* image.c */
3028
3033function image_type_to_mime_type(int $image_type): string {}
3034
3039function image_type_to_extension(int $image_type, bool $include_dot = true): string|false {}
3040
3046function getimagesize(string $filename, &$image_info = null): array|false {}
3047
3053function getimagesizefromstring(string $string, &$image_info = null): array|false {}
3054
3055/* info.c */
3056
3057function phpinfo(int $flags = INFO_ALL): true {} // make return type void
3058
3063function phpversion(?string $extension = null): string|false {}
3064
3065function phpcredits(int $flags = CREDITS_ALL): true {}
3066
3071function php_sapi_name(): string|false {}
3072
3077function php_uname(string $mode = "a"): string {}
3078
3081
3084
3085/* iptc.c */
3086
3088function iptcembed(string $iptc_data, string $filename, int $spool = 0): string|bool {}
3089
3094function iptcparse(string $iptc_block): array|false {}
3095
3096/* levenshtein.c */
3097
3098function levenshtein(string $string1, string $string2, int $insertion_cost = 1, int $replacement_cost = 1, int $deletion_cost = 1): int {}
3099
3100/* link.c */
3101
3102#if (defined(HAVE_SYMLINK) || defined(PHP_WIN32))
3104function readlink(string $path): string|false {}
3105
3106function linkinfo(string $path): int|false {}
3107
3108function symlink(string $target, string $link): bool {}
3109
3110function link(string $target, string $link): bool {}
3111#endif
3112
3113/* mail.c */
3114
3115function mail(string $to, string $subject, string $message, array|string $additional_headers = [], string $additional_params = ""): bool {}
3116
3117/* math.c */
3118
3120function abs(int|float $num): int|float {}
3121
3123function ceil(int|float $num): float {}
3124
3126function floor(int|float $num): float {}
3127
3129 case HalfAwayFromZero;
3130 case HalfTowardsZero;
3131 case HalfEven;
3132 case HalfOdd;
3133 case TowardsZero;
3134 case AwayFromZero;
3135 case NegativeInfinity;
3137}
3138
3140function round(int|float $num, int $precision = 0, int|RoundingMode $mode = RoundingMode::HalfAwayFromZero): float {}
3141
3143function sin(float $num): float {}
3144
3146function cos(float $num): float {}
3147
3149function tan(float $num): float {}
3150
3152function asin(float $num): float {}
3153
3155function acos(float $num): float {}
3156
3158function atan(float $num): float {}
3159
3161function atanh(float $num): float {}
3162
3164function atan2(float $y, float $x): float {}
3165
3167function sinh(float $num): float {}
3168
3170function cosh(float $num): float {}
3171
3173function tanh(float $num): float {}
3174
3176function asinh(float $num): float {}
3177
3179function acosh(float $num): float {}
3180
3182function expm1(float $num): float {}
3183
3185function log1p(float $num): float {}
3186
3188function pi(): float {}
3189
3191function is_finite(float $num): bool {}
3192
3194function is_nan(float $num): bool {}
3195
3197function intdiv(int $num1, int $num2): int {}
3198
3200function is_infinite(float $num): bool {}
3201
3203function pow(mixed $num, mixed $exponent): int|float|object {}
3204
3206function exp(float $num): float {}
3207
3209function log(float $num, float $base = M_E): float {}
3210
3212function log10(float $num): float {}
3213
3215function sqrt(float $num): float {}
3216
3218function hypot(float $x, float $y): float {}
3219
3221function deg2rad(float $num): float {}
3222
3224function rad2deg(float $num): float {}
3225
3227function bindec(string $binary_string): int|float {}
3228
3230function hexdec(string $hex_string): int|float {}
3231
3233function octdec(string $octal_string): int|float {}
3234
3239function decbin(int $num): string {}
3240
3245function decoct(int $num): string {}
3246
3252function dechex(int $num): string {}
3253
3258function base_convert(string $num, int $from_base, int $to_base): string {}
3259
3264function number_format(float $num, int $decimals = 0, ?string $decimal_separator = ".", ?string $thousands_separator = ","): string {}
3265
3269function fmod(float $num1, float $num2): float {}
3270
3274function fdiv(float $num1, float $num2): float {}
3275
3279function fpow(float $num, float $exponent): float {}
3280
3281/* microtime.c */
3282
3283#ifdef HAVE_GETTIMEOFDAY
3285function microtime(bool $as_float = false): string|float {}
3286
3291function gettimeofday(bool $as_float = false): array|float {}
3292#endif
3293
3294#ifdef HAVE_GETRUSAGE
3299function getrusage(int $mode = 0): array|false {}
3300#endif
3301
3302/* pack.c */
3303
3308function pack(string $format, mixed ...$values): string {}
3309
3315function unpack(string $format, string $string, int $offset = 0): array|false {}
3316
3317/* password.c */
3318
3323function password_get_info(string $hash): array {}
3324
3328function password_hash(#[\SensitiveParameter] string $password, string|int|null $algo, array $options = []): string {}
3329
3330function password_needs_rehash(string $hash, string|int|null $algo, array $options = []): bool {}
3331
3332function password_verify(#[\SensitiveParameter] string $password, string $hash): bool {}
3333
3338
3339/* proc_open.c */
3340
3341#ifdef PHP_CAN_SUPPORT_PROC_OPEN
3347function proc_open(array|string $command, array $descriptor_spec, &$pipes, ?string $cwd = null, ?array $env_vars = null, ?array $options = null) {}
3348
3350function proc_close($process): int {}
3351
3353function proc_terminate($process, int $signal = 15): bool {}
3354
3360function proc_get_status($process): array {}
3361#endif
3362
3363/* quot_print.c */
3364
3369function quoted_printable_decode(string $string): string {}
3370
3375function quoted_printable_encode(string $string): string {}
3376
3377/* soundex.c */
3378
3380function soundex(string $string): string {}
3381
3382/* streamsfuncs.c */
3383
3384function stream_select(?array &$read, ?array &$write, ?array &$except, ?int $seconds, ?int $microseconds = null): int|false {}
3385
3390function stream_context_create(?array $options = null, ?array $params = null) {}
3391
3393function stream_context_set_params($context, array $params): true {}
3394
3401
3403function stream_context_set_option($context, array|string $wrapper_or_options, ?string $option_name = null, mixed $value = UNKNOWN): true {}
3404
3407
3412function stream_context_get_options($stream_or_context): array {}
3413
3416
3419
3424function stream_filter_prepend($stream, string $filter_name, int $mode = 0, mixed $params = UNKNOWN) {}
3425
3430function stream_filter_append($stream, string $filter_name, int $mode = 0, mixed $params = UNKNOWN) {}
3431
3433function stream_filter_remove($stream_filter): bool {}
3434
3442function stream_socket_client(string $address, &$error_code = null, &$error_message = null, ?float $timeout = null, int $flags = STREAM_CLIENT_CONNECT, $context = null) {}
3443
3451function stream_socket_server(string $address, &$error_code = null, &$error_message = null, int $flags = STREAM_SERVER_BIND | STREAM_SERVER_LISTEN, $context = null) {}
3452
3459function stream_socket_accept($socket, ?float $timeout = null, &$peer_name = null) {}
3460
3462function stream_socket_get_name($socket, bool $remote): string|false {}
3463
3469function stream_socket_recvfrom($socket, int $length, int $flags = 0, &$address = null): string|false {}
3470
3472function stream_socket_sendto($socket, string $data, int $flags = 0, string $address = ""): int|false {}
3473
3478function stream_socket_enable_crypto($stream, bool $enable, ?int $crypto_method = null, $session_stream = null): int|bool {}
3479
3480#ifdef HAVE_SHUTDOWN
3482function stream_socket_shutdown($stream, int $mode): bool {}
3483#endif
3484
3485#ifdef HAVE_SOCKETPAIR
3490function stream_socket_pair(int $domain, int $type, int $protocol): array|false {}
3491#endif
3492
3497function stream_copy_to_stream($from, $to, ?int $length = null, int $offset = 0): int|false {}
3498
3503function stream_get_contents($stream, ?int $length = null, int $offset = -1): string|false {}
3504
3507
3509function stream_set_write_buffer($stream, int $size): int {}
3510
3515function set_file_buffer($stream, int $size): int {}
3516
3518function stream_set_read_buffer($stream, int $size): int {}
3519
3521function stream_set_blocking($stream, bool $enable): bool {}
3522
3527function socket_set_blocking($stream, bool $enable): bool {}
3528
3534
3540function socket_get_status($stream): array {}
3541
3546function stream_get_line($stream, int $length, string $ending = ""): string|false {}
3547
3550
3556
3562
3564function stream_is_local($stream): bool {}
3565
3567function stream_isatty($stream): bool {}
3568
3569#ifdef PHP_WIN32
3571function sapi_windows_vt100_support($stream, ?bool $enable = null): bool {}
3572#endif
3573
3575function stream_set_chunk_size($stream, int $size): int {}
3576
3577#if (defined(HAVE_SYS_TIME_H) || defined(PHP_WIN32))
3579function stream_set_timeout($stream, int $seconds, int $microseconds = 0): bool {}
3580
3585function socket_set_timeout($stream, int $seconds, int $microseconds = 0): bool {}
3586#endif
3587
3588/* type.c */
3589
3593function gettype(mixed $value): string {}
3594
3598function get_debug_type(mixed $value): string {}
3599
3600function settype(mixed &$var, string $type): bool {}
3601
3605function intval(mixed $value, int $base = 10): int {}
3606
3610function floatval(mixed $value): float {}
3611
3613function doubleval(mixed $value): float {}
3614
3618function boolval(mixed $value): bool {}
3619
3623function strval(mixed $value): string {}
3624
3628function is_null(mixed $value): bool {}
3629
3633function is_resource(mixed $value): bool {}
3634
3638function is_bool(mixed $value): bool {}
3639
3643function is_int(mixed $value): bool {}
3644
3646function is_integer(mixed $value): bool {}
3647
3649function is_long(mixed $value): bool {}
3650
3654function is_float(mixed $value): bool {}
3655
3657function is_double(mixed $value): bool {}
3658
3663function is_numeric(mixed $value): bool {}
3664
3668function is_string(mixed $value): bool {}
3669
3673function is_array(mixed $value): bool {}
3674
3678function is_object(mixed $value): bool {}
3679
3683function is_scalar(mixed $value): bool {}
3684
3686function is_callable(mixed $value, bool $syntax_only = false, &$callable_name = null): bool {}
3687
3691function is_iterable(mixed $value): bool {}
3692
3696function is_countable(mixed $value): bool {}
3697
3698/* uniqid.c */
3699
3700#ifdef HAVE_GETTIMEOFDAY
3702function uniqid(string $prefix = "", bool $more_entropy = false): string {}
3703#endif
3704
3705/* url.c */
3706
3712function parse_url(string $url, int $component = -1): int|string|array|null|false {}
3713
3718function urlencode(string $string): string {}
3719
3724function urldecode(string $string): string {}
3725
3730function rawurlencode(string $string): string {}
3731
3736function rawurldecode(string $string): string {}
3737
3743function get_headers(string $url, bool $associative = false, $context = null): array|false {}
3744
3745/* user_filters.c */
3746
3752
3755
3758
3763function stream_bucket_new($stream, string $buffer): StreamBucket {}
3764
3770
3771function stream_filter_register(string $filter_name, string $class): bool {}
3772
3773/* uuencode.c */
3774
3779function convert_uuencode(string $string): string {}
3780
3785function convert_uudecode(string $string): string|false {}
3786
3787/* var.c */
3788
3789function var_dump(mixed $value, mixed ...$values): void {}
3790
3792function var_export(mixed $value, bool $return = false): ?string {}
3793
3794function debug_zval_dump(mixed $value, mixed ...$values): void {}
3795
3800function serialize(mixed $value): string {}
3801
3802function unserialize(string $data, array $options = []): mixed {}
3803
3804function memory_get_usage(bool $real_usage = false): int {}
3805
3806function memory_get_peak_usage(bool $real_usage = false): int {}
3807
3809
3810/* versioning.c */
3811
3813function version_compare(string $version1, string $version2, ?string $operator = null): int|bool {}
3814
3815/* win32/codepage.c */
3816
3817#ifdef PHP_WIN32
3818function sapi_windows_cp_set(int $codepage): bool {}
3819
3820function sapi_windows_cp_get(string $kind = ""): int {}
3821
3822function sapi_windows_cp_conv(int|string $in_codepage, int|string $out_codepage, string $subject): ?string {}
3823
3825
3826function sapi_windows_set_ctrl_handler(?callable $handler, bool $add = true): bool {}
3827
3828function sapi_windows_generate_ctrl_event(int $event, int $pid = 0): bool {}
3829#endif
htmlspecialchars_decode(string $string, int $flags=ENT_QUOTES|ENT_SUBSTITUTE|ENT_HTML401)
is_executable(string $filename)
show_source(string $filename, bool $return=false)
getimagesizefromstring(string $string, &$image_info=null)
cosh(float $num)
proc_open(array|string $command, array $descriptor_spec, &$pipes, ?string $cwd=null, ?array $env_vars=null, ?array $options=null)
array_slice(array $array, int $offset, ?int $length=null, bool $preserve_keys=false)
is_writeable(string $filename)
http_clear_last_response_headers()
const INI_ALL
array_find_key(array $array, callable $callback)
nl_langinfo(int $item)
const EXTR_IF_EXISTS
ini_set(string $option, string|int|float|bool|null $value)
sha1_file(string $filename, bool $binary=false)
const EXTR_OVERWRITE
proc_get_status($process)
decbin(int $num)
stream_socket_get_name($socket, bool $remote)
iptcparse(string $iptc_block)
const P_SIGN_POSN
array_intersect_key(array $array, array ... $arrays)
stream_socket_recvfrom($socket, int $length, int $flags=0, &$address=null)
const ABMON_3
memory_get_usage(bool $real_usage=false)
phpinfo(int $flags=INFO_ALL)
array_fill(int $start_index, int $count, mixed $value)
inet_pton(string $ip)
stristr(string $haystack, string $needle, bool $before_needle=false)
password_verify(#[\SensitiveParameter] string $password, string $hash)
const SORT_DESC
php_uname(string $mode="a")
strval(mixed $value)
octdec(string $octal_string)
const INI_SCANNER_RAW
stripos(string $haystack, string $needle, int $offset=0)
str_split(string $string, int $length=1)
const CRYPT_BLOWFISH
const ABDAY_4
const LOG_LOCAL7
get_headers(string $url, bool $associative=false, $context=null)
const CREDITS_ALL
getprotobynumber(int $protocol)
const CONNECTION_TIMEOUT
sizeof(Countable|array $value, int $mode=COUNT_NORMAL)
stream_socket_server(string $address, &$error_code=null, &$error_message=null, int $flags=STREAM_SERVER_BIND|STREAM_SERVER_LISTEN, $context=null)
call_user_func_array(callable $callback, array $args)
const SORT_FLAG_CASE
readlink(string $path)
register_shutdown_function(callable $callback, mixed ... $args)
const THOUSANDS_SEP
acos(float $num)
const ABMON_7
const P_SEP_BY_SPACE
const NEGATIVE_SIGN
filegroup(string $filename)
const IMAGETYPE_JPEG2000
acosh(float $num)
chroot(string $directory)
hexdec(string $hex_string)
const LOG_LOCAL6
stream_socket_client(string $address, &$error_code=null, &$error_message=null, ?float $timeout=null, int $flags=STREAM_CLIENT_CONNECT, $context=null)
const D_T_FMT
escapeshellcmd(string $command)
readfile(string $filename, bool $use_include_path=false, $context=null)
quotemeta(string $string)
umask(?int $mask=null)
const DNS_AAAA
stream_context_create(?array $options=null, ?array $params=null)
call_user_func(callable $callback, mixed ... $args)
unlink(string $filename, $context=null)
vprintf(string $format, array $values)
get_html_translation_table(int $table=HTML_SPECIALCHARS, int $flags=ENT_QUOTES|ENT_SUBSTITUTE|ENT_HTML401, string $encoding="UTF-8")
stream_socket_shutdown($stream, int $mode)
sapi_windows_cp_get(string $kind="")
stream_wrapper_restore(string $protocol)
str_increment(string $string)
ignore_user_abort(?bool $enable=null)
const INI_SYSTEM
usleep(int $microseconds)
var_export(mixed $value, bool $return=false)
const IMAGETYPE_JPX
chop(string $string, string $characters=" \n\r\t\v\0")
convert_uudecode(string $string)
const DNS_A6
const INFO_MODULES
const DNS_SOA
parse_url(string $url, int $component=-1)
const IMAGETYPE_JB2
password_get_info(string $hash)
const IMAGETYPE_PNG
bin2hex(string $string)
str_repeat(string $string, int $times)
implode(string|array $separator, ?array $array=null)
fileowner(string $filename)
lcfirst(string $string)
atan2(float $y, float $x)
quoted_printable_decode(string $string)
filemtime(string $filename)
const EXTR_PREFIX_IF_EXISTS
str_getcsv(string $string, string $separator=",", string $enclosure="\"", string $escape="\\")
array_chunk(array $array, int $length, bool $preserve_keys=false)
array_key_exists($key, array $array)
stream_socket_enable_crypto($stream, bool $enable, ?int $crypto_method=null, $session_stream=null)
fsync($stream)
const LOG_LOCAL0
const IMAGETYPE_ICO
doubleval(mixed $value)
array_intersect_uassoc(array $array,... $rest)
readdir($dir_handle=null)
const DNS_MX
header_register_callback(callable $callback)
array_key_first(array $array)
sscanf(string $string, string $format, mixed &... $vars)
const INFO_GENERAL
array_shift(array &$array)
is_link(string $filename)
ini_alter(string $option, string|int|float|bool|null $value)
const MON_DECIMAL_POINT
is_countable(mixed $value)
diskfreespace(string $directory)
str_rot13(string $string)
array_is_list(array $array)
const STR_PAD_BOTH
const N_CS_PRECEDES
utf8_encode(string $string)
chdir(string $directory)
const IMAGETYPE_JPC
rtrim(string $string, string $characters=" \n\r\t\v\0")
stream_socket_accept($socket, ?float $timeout=null, &$peer_name=null)
const LC_MESSAGES
rawurldecode(string $string)
array_reverse(array $array, bool $preserve_keys=false)
array_sum(array $array)
rewind($stream)
fprintf($stream, string $format, mixed ... $values)
array_product(array $array)
const ALT_DIGITS
str_contains(string $haystack, string $needle)
assert_options(int $option, mixed $value=UNKNOWN)
settype(mixed &$var, string $type)
http_get_last_response_headers()
is_dir(string $filename)
const DNS_NAPTR
linkinfo(string $path)
const ERA_YEAR
const PATHINFO_BASENAME
const IMAGETYPE_JP2
array_rand(array $array, int $num=1)
trim(string $string, string $characters=" \n\r\t\v\0")
const ASSERT_EXCEPTION
krsort(array &$array, int $flags=SORT_REGULAR)
getenv(?string $name=null, bool $local_only=false)
const IMAGETYPE_GIF
const ABMON_8
pack(string $format, mixed ... $values)
rawurlencode(string $string)
substr_count(string $haystack, string $needle, int $offset=0, ?int $length=null)
ftruncate($stream, int $size)
rename(string $from, string $to, $context=null)
abs(int|float $num)
const EXTR_PREFIX_SAME
sapi_windows_cp_conv(int|string $in_codepage, int|string $out_codepage, string $subject)
const CREDITS_QA
fgetc($stream)
fpow(float $num, float $exponent)
const SORT_LOCALE_STRING
in_array(mixed $needle, array $haystack, bool $strict=false)
const LC_CTYPE
strptime(string $timestamp, string $format)
is_null(mixed $value)
array_keys(array $array, mixed $filter_value=UNKNOWN, bool $strict=false)
ord(string $character)
str_ireplace(array|string $search, array|string $replace, string|array $subject, &$count=null)
file_exists(string $filename)
const IMAGETYPE_WEBP
is_uploaded_file(string $filename)
file_get_contents(string $filename, bool $use_include_path=false, $context=null, int $offset=0, ?int $length=null)
strip_tags(string $string, array|string|null $allowed_tags=null)
hrtime(bool $as_number=false)
array_values(array $array)
http_response_code(int $response_code=0)
uniqid(string $prefix="", bool $more_entropy=false)
boolval(mixed $value)
str_decrement(string $string)
parse_ini_string(string $ini_string, bool $process_sections=false, int $scanner_mode=INI_SCANNER_NORMAL)
array_udiff(array $array,... $rest)
stream_filter_prepend($stream, string $filter_name, int $mode=0, mixed $params=UNKNOWN)
stream_isatty($stream)
base_convert(string $num, int $from_base, int $to_base)
const DNS_TXT
const LC_NUMERIC
const RADIXCHAR
const LC_MONETARY
md5(string $string, bool $binary=false)
ini_get(string $option)
const INFO_CONFIGURATION
array_merge(array ... $arrays)
putenv(string $assignment)
fputcsv($stream, array $fields, string $separator=",", string $enclosure="\"", string $escape="\\", string $eol="\n")
is_array(mixed $value)
stream_bucket_append($brigade, StreamBucket $bucket)
const CRYPT_EXT_DES
stream_context_get_default(?array $options=null)
file(string $filename, int $flags=0, $context=null)
setlocale(int $category, $locales,... $rest)
ip2long(string $ip)
is_callable(mixed $value, bool $syntax_only=false, &$callable_name=null)
wordwrap(string $string, int $width=75, string $break="\n", bool $cut_long_words=false)
stream_get_meta_data($stream)
const ERA_D_FMT
strtoupper(string $string)
crypt(#[\SensitiveParameter] string $string, string $salt)
rad2deg(float $num)
explode(string $separator, string $string, int $limit=PHP_INT_MAX)
fgetcsv($stream, ?int $length=null, string $separator=",", string $enclosure="\"", string $escape="\\")
ucwords(string $string, string $separators=" \t\r\n\f\v")
str_ends_with(string $haystack, string $needle)
const POSITIVE_SIGN
const CRYPT_SALT_LENGTH
feof($stream)
floor(int|float $num)
pfsockopen(string $hostname, int $port=-1, &$error_code=null, &$error_message=null, ?float $timeout=null)
proc_terminate($process, int $signal=15)
socket_set_timeout($stream, int $seconds, int $microseconds=0)
scandir(string $directory, int $sorting_order=SCANDIR_SORT_ASCENDING, $context=null)
substr_replace(array|string $string, array|string $replace, array|int $offset, array|int|null $length=null)
register_tick_function(callable $callback, mixed ... $args)
const EXTR_SKIP
mail(string $to, string $subject, string $message, array|string $additional_headers=[], string $additional_params="")
intval(mixed $value, int $base=10)
const CRYPT_STD_DES
urlencode(string $string)
stream_copy_to_stream($from, $to, ?int $length=null, int $offset=0)
tan(float $num)
printf(string $format, mixed ... $values)
const COUNT_RECURSIVE
base64_encode(string $string)
chown(string $filename, string|int $user)
const CREDITS_GENERAL
const ERA_T_FMT
levenshtein(string $string1, string $string2, int $insertion_cost=1, int $replacement_cost=1, int $deletion_cost=1)
const INFO_LICENSE
array_replace(array $array, array ... $replacements)
atanh(float $num)
ftok(string $filename, string $project_id)
strtr(string $string, string|array $from, ?string $to=null)
atan(float $num)
const SORT_NUMERIC
const SORT_STRING
array_diff_key(array $array, array ... $arrays)
stream_get_line($stream, int $length, string $ending="")
sapi_windows_vt100_support($stream, ?bool $enable=null)
chgrp(string $filename, string|int $group)
const DNS_CAA
const ABMON_5
const ABMON_10
array_flip(array $array)
forward_static_call(callable $callback, mixed ... $args)
is_float(mixed $value)
const INFO_ENVIRONMENT
version_compare(string $version1, string $version2, ?string $operator=null)
md5_file(string $filename, bool $binary=false)
const SORT_NATURAL
tempnam(string $directory, string $prefix)
const CONNECTION_ABORTED
strpos(string $haystack, string $needle, int $offset=0)
metaphone(string $string, int $max_phonemes=0)
is_readable(string $filename)
array_intersect(array $array, array ... $arrays)
deg2rad(float $num)
soundex(string $string)
fileatime(string $filename)
base64_decode(string $string, bool $strict=false)
getservbyname(string $service, string $protocol)
forward_static_call_array(callable $callback, array $args)
iptcembed(string $iptc_data, string $filename, int $spool=0)
checkdnsrr(string $hostname, string $type="MX")
const INFO_CREDITS
stream_context_set_option($context, array|string $wrapper_or_options, ?string $option_name=null, mixed $value=UNKNOWN)
array_unique(array $array, int $flags=SORT_STRING)
array_diff_uassoc(array $array,... $rest)
fstat($stream)
strrev(string $string)
array_find(array $array, callable $callback)
const ABMON_9
floatval(mixed $value)
stream_select(?array &$read, ?array &$write, ?array &$except, ?int $seconds, ?int $microseconds=null)
stream_wrapper_register(string $protocol, string $class, int $flags=0)
prev(array|object &$array)
strtok(string $string, ?string $token=null)
const CONNECTION_NORMAL
str_replace(array|string $search, array|string $replace, string|array $subject, &$count=null)
htmlentities(string $string, int $flags=ENT_QUOTES|ENT_SUBSTITUTE|ENT_HTML401, ?string $encoding=null, bool $double_encode=true)
const LOG_LOCAL3
vfprintf($stream, string $format, array $values)
clearstatcache(bool $clear_realpath_cache=false, string $filename="")
header_remove(?string $name=null)
closedir($dir_handle=null)
const LC_COLLATE
strcoll(string $string1, string $string2)
ucfirst(string $string)
opendir(string $directory, $context=null)
is_writable(string $filename)
array_intersect_assoc(array $array, array ... $arrays)
log10(float $num)
set_time_limit(int $seconds)
copy(string $from, string $to, $context=null)
const IMAGETYPE_SWF
strrchr(string $haystack, string $needle, bool $before_needle=false)
is_infinite(float $num)
const N_SEP_BY_SPACE
sapi_windows_cp_is_utf8()
pathinfo(string $path, int $flags=PATHINFO_ALL)
ob_get_status(bool $full_status=false)
array_uintersect(array $array,... $rest)
const HTML_ENTITIES
passthru(string $command, &$result_code=null)
gettype(mixed $value)
request_parse_body(?array $options=null)
pclose($handle)
proc_close($process)
phpcredits(int $flags=CREDITS_ALL)
array_count_values(array $array)
fseek($stream, int $offset, int $whence=SEEK_SET)
getmxrr(string $hostname, &$hosts, &$weights=null)
const IMAGETYPE_UNKNOWN
syslog(int $priority, string $message)
time_nanosleep(int $seconds, int $nanoseconds)
const ASSERT_BAIL
asinh(float $num)
array_filter(array $array, ?callable $callback=null, int $mode=0)
str_word_count(string $string, int $format=0, ?string $characters=null)
getopt(string $short_options, array $long_options=[], &$rest_index=null)
constant(string $name)
array_reduce(array $array, callable $callback, mixed $initial=null)
dechex(int $num)
const INT_FRAC_DIGITS
gethostbyaddr(string $ip)
file_put_contents(string $filename, mixed $data, int $flags=0, $context=null)
utf8_decode(string $string)
is_file(string $filename)
fwrite($stream, string $data, ?int $length=null)
const ABDAY_6
sapi_windows_generate_ctrl_event(int $event, int $pid=0)
phpversion(?string $extension=null)
const ABDAY_5
addslashes(string $string)
stream_filter_append($stream, string $filter_name, int $mode=0, mixed $params=UNKNOWN)
rmdir(string $directory, $context=null)
stream_socket_sendto($socket, string $data, int $flags=0, string $address="")
const IMAGETYPE_JPEG
const INT_CURR_SYMBOL
touch(string $filename, ?int $mtime=null, ?int $atime=null)
stream_is_local($stream)
stripcslashes(string $string)
intdiv(int $num1, int $num2)
const ASSERT_WARNING
long2ip(int $ip)
dirname(string $path, int $levels=1)
const INI_USER
getrusage(int $mode=0)
sapi_windows_cp_set(int $codepage)
gettimeofday(bool $as_float=false)
array_all(array $array, callable $callback)
dir(string $directory, $context=null)
strrpos(string $haystack, string $needle, int $offset=0)
const EXTR_PREFIX_INVALID
const ASSERT_CALLBACK
array_map(?callable $callback, array $array, array ... $arrays)
array_diff_assoc(array $array, array ... $arrays)
fclose($stream)
microtime(bool $as_float=false)
const CASE_UPPER
const SORT_ASC
is_integer(mixed $value)
const MON_GROUPING
const HTML_SPECIALCHARS
var_dump(mixed $value, mixed ... $values)
get_meta_tags(string $filename, bool $use_include_path=false)
sinh(float $num)
sin(float $num)
socket_get_status($stream)
str_starts_with(string $haystack, string $needle)
stream_resolve_include_path(string $filename)
stream_context_set_params($context, array $params)
const ABDAY_7
const T_FMT_AMPM
setrawcookie(string $name, string $value="", array|int $expires_or_options=0, string $path="", string $domain="", bool $secure=false, bool $httponly=false)
vsprintf(string $format, array $values)
sqrt(float $num)
stream_context_set_default(array $options)
fdiv(float $num1, float $num2)
const IMAGETYPE_WBMP
stream_set_timeout($stream, int $seconds, int $microseconds=0)
stream_socket_pair(int $domain, int $type, int $protocol)
const CRYPT_MD5
popen(string $command, string $mode)
nl2br(string $string, bool $use_xhtml=true)
const PATHINFO_FILENAME
fsockopen(string $hostname, int $port=-1, &$error_code=null, &$error_message=null, ?float $timeout=null)
hebrev(string $string, int $max_chars_per_line=0)
getprotobyname(string $protocol)
fnmatch(string $pattern, string $filename, int $flags=0)
set_include_path(string $include_path)
convert_uuencode(string $string)
substr_compare(string $haystack, string $needle, int $offset, ?int $length=null, bool $case_insensitive=false)
is_bool(mixed $value)
const DNS_ALL
const LOG_LOCAL4
asin(float $num)
output_add_rewrite_var(string $name, string $value)
stream_bucket_make_writeable($brigade)
strspn(string $string, string $characters, int $offset=0, ?int $length=null)
array_uintersect_assoc(array $array,... $rest)
stream_get_wrappers()
usort(array &$array, callable $callback)
ftell($stream)
stream_wrapper_unregister(string $protocol)
const ABMON_11
const ABMON_2
gethostbynamel(string $hostname)
fileperms(string $filename)
const CRYPT_SHA512
strtolower(string $string)
const ABDAY_3
chmod(string $filename, int $permissions)
ini_parse_quantity(string $shorthand)
rsort(array &$array, int $flags=SORT_REGULAR)
const IMAGETYPE_AVIF
is_long(mixed $value)
disk_total_space(string $directory)
const LOG_LOCAL2
unpack(string $format, string $string, int $offset=0)
const CREDITS_DOCS
const DECIMAL_POINT
stream_bucket_prepend($brigade, StreamBucket $bucket)
log(float $num, float $base=M_E)
is_object(mixed $value)
str_pad(string $string, int $length, string $pad_string=" ", int $pad_type=STR_PAD_RIGHT)
is_scalar(mixed $value)
array_fill_keys(array $keys, mixed $value)
ltrim(string $string, string $characters=" \n\r\t\v\0")
dns_get_mx(string $hostname, &$hosts, &$weights=null)
array_replace_recursive(array $array, array ... $replacements)
const CRNCYSTR
const DNS_SRV
count_chars(string $string, int $mode=0)
error_log(string $message, int $message_type=0, ?string $destination=null, ?string $additional_headers=null)
http_build_query(array|object $data, string $numeric_prefix="", ?string $arg_separator=null, int $encoding_type=PHP_QUERY_RFC1738)
getservbyport(int $port, string $protocol)
const DNS_CNAME
php_strip_whitespace(string $filename)
const IMAGETYPE_XBM
fputs($stream, string $data, ?int $length=null)
array_search(mixed $needle, array $haystack, bool $strict=false)
strpbrk(string $string, string $characters)
move_uploaded_file(string $from, string $to)
sapi_windows_set_ctrl_handler(?callable $handler, bool $add=true)
stream_context_set_options($context, array $options)
reset(array|object &$array)
decoct(int $num)
join(string|array $separator, ?array $array=null)
header(string $header, bool $replace=true, int $response_code=0)
shell_exec(string $command)
fopen(string $filename, string $mode, bool $use_include_path=false, $context=null)
const N_SIGN_POSN
count(Countable|array $value, int $mode=COUNT_NORMAL)
is_nan(float $num)
const STR_PAD_RIGHT
time_sleep_until(float $timestamp)
gethostbyname(string $hostname)
ob_implicit_flush(bool $enable=true)
filectime(string $filename)
stream_filter_remove($stream_filter)
is_numeric(mixed $value)
array_key_last(array $array)
stream_filter_register(string $filter_name, string $class)
image_type_to_mime_type(int $image_type)
const INFO_VARIABLES
fscanf($stream, string $format, mixed &... $vars)
cos(float $num)
natcasesort(array &$array)
const INFO_ALL
is_double(mixed $value)
glob(string $pattern, int $flags=0)
print_r(mixed $value, bool $return=false)
log1p(float $num)
addcslashes(string $string, string $characters)
crc32(string $string)
const CREDITS_GROUP
const ABMON_12
urldecode(string $string)
const SORT_REGULAR
array_diff_ukey(array $array,... $rest)
fread($stream, int $length)
memory_get_peak_usage(bool $real_usage=false)
const DNS_PTR
stream_get_transports()
getimagesize(string $filename, &$image_info=null)
fflush($stream)
htmlspecialchars(string $string, int $flags=ENT_QUOTES|ENT_SUBSTITUTE|ENT_HTML401, ?string $encoding=null, bool $double_encode=true)
get_browser(?string $user_agent=null, bool $return_array=false)
str_shuffle(string $string)
const ASSERT_ACTIVE
fileinode(string $filename)
const THOUSEP
const COUNT_NORMAL
stream_bucket_new($stream, string $buffer)
array_pop(array &$array)
array_pad(array $array, int $length, mixed $value)
setcookie(string $name, string $value="", array|int $expires_or_options=0, string $path="", string $domain="", bool $secure=false, bool $httponly=false)
arsort(array &$array, int $flags=SORT_REGULAR)
fmod(float $num1, float $num2)
pow(mixed $num, mixed $exponent)
const ABDAY_2
tanh(float $num)
array_splice(array &$array, int $offset, ?int $length=null, mixed $replacement=[])
is_resource(mixed $value)
array_udiff_uassoc(array $array,... $rest)
compact($var_name,... $var_names)
const IMAGETYPE_SWC
strstr(string $haystack, string $needle, bool $before_needle=false)
exp(float $num)
const EXTR_REFS
const PATHINFO_ALL
ceil(int|float $num)
flock($stream, int $operation, &$would_block=null)
array_any(array $array, callable $callback)
const LC_TIME
stream_set_write_buffer($stream, int $size)
natsort(array &$array)
array_merge_recursive(array ... $arrays)
key_exists($key, array $array)
stream_set_chunk_size($stream, int $size)
stream_register_wrapper(string $protocol, string $class, int $flags=0)
hex2bin(string $string)
mkdir(string $directory, int $permissions=0777, bool $recursive=false, $context=null)
const PATHINFO_EXTENSION
chr(int $codepoint)
password_needs_rehash(string $hash, string|int|null $algo, array $options=[])
ksort(array &$array, int $flags=SORT_REGULAR)
bindec(string $binary_string)
const EXTR_PREFIX_ALL
const CRYPT_SHA256
assert(mixed $assertion, Throwable|string|null $description=null)
unregister_tick_function(callable $callback)
stripslashes(string $string)
stream_supports_lock($stream)
filetype(string $filename)
array_walk(array|object &$array, callable $callback, mixed $arg=UNKNOWN)
const LOG_LOCAL5
quoted_printable_encode(string $string)
const CHAR_MAX
const INI_SCANNER_NORMAL
set_file_buffer($stream, int $size)
const MON_THOUSANDS_SEP
const DNS_NS
expm1(float $num)
lchgrp(string $filename, string|int $group)
ob_start($callback=null, int $chunk_size=0, int $flags=PHP_OUTPUT_HANDLER_STDFLAGS)
const INI_PERDIR
const IMAGETYPE_PSD
rewinddir($dir_handle=null)
symlink(string $target, string $link)
uasort(array &$array, callable $callback)
const DNS_A
sha1(string $string, bool $binary=false)
socket_set_blocking($stream, bool $enable)
stat(string $filename)
array_diff(array $array, array ... $arrays)
asort(array &$array, int $flags=SORT_REGULAR)
const IMAGETYPE_TIFF_II
parse_ini_file(string $filename, bool $process_sections=false, int $scanner_mode=INI_SCANNER_NORMAL)
array_multisort(&$array, &... $rest)
basename(string $path, string $suffix="")
hypot(float $x, float $y)
shuffle(array &$array)
const PATHINFO_DIRNAME
strcspn(string $string, string $characters, int $offset=0, ?int $length=null)
const FRAC_DIGITS
const CURRENCY_SYMBOL
const IMAGETYPE_COUNT
dns_check_record(string $hostname, string $type="MX")
html_entity_decode(string $string, int $flags=ENT_QUOTES|ENT_SUBSTITUTE|ENT_HTML401, ?string $encoding=null)
extract(array &$array, int $flags=EXTR_OVERWRITE, string $prefix="")
openlog(string $prefix, int $flags, int $facility)
output_reset_rewrite_vars()
disk_free_space(string $directory)
is_int(mixed $value)
stream_context_get_options($stream_or_context)
fpassthru($stream)
uksort(array &$array, callable $callback)
const GROUPING
array_intersect_ukey(array $array,... $rest)
ini_restore(string $option)
const INI_SCANNER_TYPED
debug_zval_dump(mixed $value, mixed ... $values)
fgets($stream, ?int $length=null)
array_walk_recursive(array|object &$array, callable $callback, mixed $arg=UNKNOWN)
get_debug_type(mixed $value)
array_push(array &$array, mixed ... $values)
const CREDITS_SAPI
stream_get_contents($stream, ?int $length=null, int $offset=-1)
escapeshellarg(string $arg)
const CASE_LOWER
const CREDITS_MODULES
number_format(float $num, int $decimals=0, ?string $decimal_separator=".", ?string $thousands_separator=",")
sleep(int $seconds)
array_udiff_assoc(array $array,... $rest)
const IMAGETYPE_IFF
const ABMON_4
dns_get_record(string $hostname, int $type=DNS_ANY, &$authoritative_name_servers=null, &$additional_records=null, bool $raw=false)
stream_context_get_params($context)
const IMAGETYPE_TIFF_MM
array_column(array $array, int|string|null $column_key, int|string|null $index_key=null)
get_cfg_var(string $option)
is_iterable(mixed $value)
const LOG_LOCAL1
stream_set_blocking($stream, bool $enable)
parse_str(string $string, &$result)
array_change_key_case(array $array, int $case=CASE_LOWER)
similar_text(string $string1, string $string2, &$percent=null)
php_ini_loaded_file()
proc_nice(int $priority)
const YESEXPR
is_finite(float $num)
image_type_to_extension(int $image_type, bool $include_dot=true)
array_unshift(array &$array, mixed ... $values)
filesize(string $filename)
array_uintersect_uassoc(array $array,... $rest)
is_string(mixed $value)
const DNS_HINFO
const ABDAY_1
strchr(string $haystack, string $needle, bool $before_needle=false)
memory_reset_peak_usage()
link(string $target, string $link)
const CODESET
const ABMON_1
const STR_PAD_LEFT
stream_set_read_buffer($stream, int $size)
headers_sent(&$filename=null, &$line=null)
const ERA_D_T_FMT
substr(string $string, int $offset, ?int $length=null)
const P_CS_PRECEDES
const IMAGETYPE_BMP
const DNS_ANY
const ABMON_6
strripos(string $haystack, string $needle, int $offset=0)
array_combine(array $keys, array $values)
ini_get_all(?string $extension=null, bool $details=true)
const CREDITS_FULLPAGE
password_hash(#[\SensitiveParameter] string $password, string|int|null $algo, array $options=[])
lstat(string $filename)
realpath(string $path)
system(string $command, &$result_code=null)
chunk_split(string $string, int $length=76, string $separator="\r\n")
lchown(string $filename, string|int $user)
$filename
Definition create.php:9
const SCANDIR_SORT_ASCENDING
Definition dir.stub.php:78
#define max(a, b)
Definition exif.c:60
$data
Definition bench.php:6
if(PHP_SAPI !='cli') if($argc< 1) $options
Definition ext_skel.php:376
const STREAM_SERVER_LISTEN
const STREAM_SERVER_BIND
const STREAM_CLIENT_CONNECT
#define M_PI
Definition gd.c:88
#define SEEK_SET
Definition gd_io_file.c:20
foreach(explode("\n", $input) as $line) $result
#define round(tables, k1, k2)
Definition hash_gost.c:26
sprintf("0x%X", $numelems)
foreach($dp as $el) foreach( $dp as $el) if( $pass2< 2) echo ""
const PHP_INT_MAX
#define next(ls)
Definition minilua.c:2661
inet_ntop(AF_INET, addr, addr_str, sizeof(addr_str))
#define ARRAY_FILTER_USE_BOTH
Definition php_array.h:62
#define ARRAY_FILTER_USE_KEY
Definition php_array.h:63
unsigned const char * end
Definition php_ffi.h:51
unsigned const char * pos
Definition php_ffi.h:52
PHPAPI char * php_ini_scanned_files
Definition php_ini.c:66
#define M_SQRTPI
Definition php_math.h:74
#define M_1_PI
Definition php_math.h:66
#define M_LN10
Definition php_math.h:50
#define M_SQRT3
Definition php_math.h:98
#define M_EULER
Definition php_math.h:86
#define M_2_SQRTPI
Definition php_math.h:78
#define M_SQRT2
Definition php_math.h:90
#define M_LN2
Definition php_math.h:46
#define M_PI_2
Definition php_math.h:58
#define M_2_PI
Definition php_math.h:70
#define M_E
Definition php_math.h:34
#define M_LOG10E
Definition php_math.h:42
#define M_LNPI
Definition php_math.h:82
#define M_LOG2E
Definition php_math.h:38
#define M_SQRT1_2
Definition php_math.h:94
#define M_PI_4
Definition php_math.h:62
#define PHP_ROUND_HALF_UP
#define PHP_ROUND_HALF_DOWN
#define PHP_ROUND_HALF_EVEN
#define PHP_ROUND_HALF_ODD
#define PHP_OUTPUT_HANDLER_STDFLAGS
Definition php_output.h:39
#define min(a, b)
unsigned char key[REFLECTION_KEY_LEN]
#define strnatcasecmp(a, b)
Definition php_string.h:33
#define strnatcmp(a, b)
Definition php_string.h:31
char * exec
Definition phpdbg.h:263
#define fdatasync
zval * current
Definition session.c:1024
#define ENT_COMPAT
Definition html.h:36
#define ENT_XHTML
Definition html.h:43
#define ENT_NOQUOTES
Definition html.h:38
#define ENT_XML1
Definition html.h:42
#define ENT_SUBSTITUTE
Definition html.h:40
#define ENT_DISALLOWED
Definition html.h:45
#define ENT_QUOTES
Definition html.h:37
#define ENT_HTML5
Definition html.h:44
#define ENT_HTML401
Definition html.h:41
#define ENT_IGNORE
Definition html.h:39
#define LOG_ALERT
Definition syslog.h:23
#define LOG_MAIL
Definition syslog.h:38
#define LOG_AUTH
Definition syslog.h:40
#define LOG_CRON
Definition syslog.h:45
#define LOG_KERN
Definition syslog.h:36
#define LOG_LPR
Definition syslog.h:42
#define LOG_NDELAY
Definition syslog.h:64
#define LOG_PERROR
Definition syslog.h:66
#define LOG_EMERG
Definition syslog.h:22
#define LOG_AUTHPRIV
Definition syslog.h:46
#define LOG_DEBUG
Definition syslog.h:29
#define LOG_PID
Definition syslog.h:61
#define LOG_ERR
Definition syslog.h:25
#define LOG_DAEMON
Definition syslog.h:39
#define LOG_NOWAIT
Definition syslog.h:65
#define LOG_CRIT
Definition syslog.h:24
#define LOG_SYSLOG
Definition syslog.h:41
#define LOG_UUCP
Definition syslog.h:44
#define LOG_USER
Definition syslog.h:37
#define LOG_NOTICE
Definition syslog.h:27
#define LOG_WARNING
Definition syslog.h:26
#define LOG_NEWS
Definition syslog.h:43
#define LOG_INFO
Definition syslog.h:28
#define LOG_CONS
Definition syslog.h:62
#define LOG_ODELAY
Definition syslog.h:63
$array
Definition test.php:58
#define PHP_URL_PORT
Definition url.h:42
#define PHP_URL_PASS
Definition url.h:44
#define PHP_URL_SCHEME
Definition url.h:40
#define PHP_URL_USER
Definition url.h:43
#define PHP_URL_QUERY
Definition url.h:46
#define PHP_URL_PATH
Definition url.h:45
#define PHP_QUERY_RFC3986
Definition url.h:50
#define PHP_URL_FRAGMENT
Definition url.h:47
#define PHP_URL_HOST
Definition url.h:41
#define PHP_QUERY_RFC1738
Definition url.h:49
defined(string $constant_name)
ZEND_API void(ZEND_FASTCALL *zend_touch_vm_stack_data)(void *vm_stack_data)
ZEND_API zend_result highlight_file(const char *filename, zend_syntax_highlighter_ini *syntax_highlighter_ini)
ZEND_API void highlight_string(zend_string *str, zend_syntax_highlighter_ini *syntax_highlighter_ini, const char *str_name)
CWD_API zend_long realpath_cache_size(void)
function(EX_VAR(opline->result.var))
object
$prefix
$params