php-internal-docs 8.4.8
Unofficial docs for php/php-src
Loading...
Searching...
No Matches
sockets.stub.php
Go to the documentation of this file.
1<?php
2
4
9const AF_UNIX = UNKNOWN;
14const AF_INET = UNKNOWN;
15#ifdef HAVE_IPV6
20const AF_INET6 = UNKNOWN;
21#endif
22#ifdef AF_DIVERT
27const AF_DIVERT = UNKNOWN;
28#endif
33const SOCK_STREAM = UNKNOWN;
38const SOCK_DGRAM = UNKNOWN;
43const SOCK_RAW = UNKNOWN;
48const SOCK_SEQPACKET = UNKNOWN;
49#ifdef SOCK_RDM
54const SOCK_RDM = UNKNOWN;
55#endif
56#ifdef SOCK_CONN_DGRAM
61const SOCK_CONN_DGRAM = UNKNOWN;
62#endif
63#ifdef SOCK_DCCP
69const SOCK_DCCP = UNKNOWN;
70#endif
71#ifdef SOCK_CLOEXEC
76const SOCK_CLOEXEC = UNKNOWN;
77#endif
78#ifdef SOCK_NONBLOCK
83const SOCK_NONBLOCK = UNKNOWN;
84#endif
85
90const MSG_OOB = UNKNOWN;
95const MSG_WAITALL = UNKNOWN;
100const MSG_CTRUNC = UNKNOWN;
105const MSG_TRUNC = UNKNOWN;
110const MSG_PEEK = UNKNOWN;
115const MSG_DONTROUTE = UNKNOWN;
116#ifdef MSG_EOR
121const MSG_EOR = UNKNOWN;
122#endif
123#ifdef MSG_EOF
128const MSG_EOF = UNKNOWN;
129#endif
130
131#ifdef MSG_CONFIRM
136const MSG_CONFIRM = UNKNOWN;
137#endif
138#ifdef MSG_ERRQUEUE
143const MSG_ERRQUEUE = UNKNOWN;
144#endif
145#ifdef MSG_NOSIGNAL
150const MSG_NOSIGNAL = UNKNOWN;
151#endif
152#ifdef MSG_DONTWAIT
157const MSG_DONTWAIT = UNKNOWN;
158#endif
159#ifdef MSG_MORE
164const MSG_MORE = UNKNOWN;
165#endif
166#ifdef MSG_WAITFORONE
171const MSG_WAITFORONE = UNKNOWN;
172#endif
173#ifdef MSG_CMSG_CLOEXEC
178const MSG_CMSG_CLOEXEC = UNKNOWN;
179#endif
180#ifdef MSG_ZEROCOPY
185const MSG_ZEROCOPY = UNKNOWN;
186#endif
187
192const SO_DEBUG = UNKNOWN;
197const SO_REUSEADDR = UNKNOWN;
198#ifdef SO_REUSEPORT
203const SO_REUSEPORT = UNKNOWN;
204#endif
205#ifdef SO_REUSEPORT_LB
210const SO_REUSEPORT_LB = UNKNOWN;
211#endif
216const SO_KEEPALIVE = UNKNOWN;
221const SO_DONTROUTE = UNKNOWN;
226const SO_LINGER = UNKNOWN;
227#ifdef SO_LINGER_SEC
232const SO_LINGER_SEC = UNKNOWN;
233#endif
238const SO_BROADCAST = UNKNOWN;
243const SO_OOBINLINE = UNKNOWN;
248const SO_SNDBUF = UNKNOWN;
253const SO_RCVBUF = UNKNOWN;
258const SO_SNDLOWAT = UNKNOWN;
263const SO_RCVLOWAT = UNKNOWN;
268const SO_SNDTIMEO = UNKNOWN;
273const SO_RCVTIMEO = UNKNOWN;
278const SO_TYPE = UNKNOWN;
279#ifdef SO_FAMILY
284const SO_FAMILY = UNKNOWN;
285#endif
290const SO_ERROR = UNKNOWN;
291#ifdef SO_BINDTODEVICE
296const SO_BINDTODEVICE = UNKNOWN;
297#endif
298#ifdef SO_BINDTOIFINDEX
303const SO_BINDTOIFINDEX = UNKNOWN;
304#endif
305#ifdef SO_USER_COOKIE
310const SO_LABEL = UNKNOWN;
315const SO_PEERLABEL = UNKNOWN;
320const SO_LISTENQLIMIT = UNKNOWN;
325const SO_LISTENQLEN = UNKNOWN;
330const SO_USER_COOKIE = UNKNOWN;
331#endif
332#ifdef SO_SETFIB
337const SO_SETFIB = UNKNOWN;
338#endif
339#ifdef SO_ACCEPTFILTER
344const SO_ACCEPTFILTER = UNKNOWN;
345#endif
346#ifdef SO_RERROR
351const SO_RERROR = UNKNOWN;
352#endif
353#ifdef SO_SOPLICE
358const SO_SPLICE = UNKNOWN;
359#endif
360#ifdef SO_ZEROIZE
365const SO_ZEROIZE = UNKNOWN;
366#endif
367#ifdef SOL_FILTER
372const SOL_FILTER = UNKNOWN;
377const FIL_ATTACH = UNKNOWN;
382const FIL_DETACH = UNKNOWN;
383#endif
384#ifdef SO_DONTTRUNC
389const SO_DONTTRUNC = UNKNOWN;
390#endif
391#ifdef SO_WANTMORE
396const SO_WANTMORE = UNKNOWN;
397#endif
402const SOL_SOCKET = UNKNOWN;
407const SOMAXCONN = UNKNOWN;
408#ifdef SO_MARK
413const SO_MARK = UNKNOWN;
414#endif
415#ifdef SO_RTABLE
420const SO_RTABLE = UNKNOWN;
421#endif
422#ifdef SO_INCOMING_CPU
427const SO_INCOMING_CPU = UNKNOWN;
428#endif
429#ifdef SO_MEMINFO
434const SO_MEMINFO = UNKNOWN;
435#endif
436#ifdef SO_BPF_EXTENSIONS
441const SO_BPF_EXTENSIONS = UNKNOWN;
442#endif
443#ifdef SO_EXCLBIND
448const SO_EXCLBIND = UNKNOWN;
449#endif
450#ifdef SKF_AD_OFF
455const SKF_AD_OFF = UNKNOWN;
456#endif
457#ifdef SKF_AD_PROTOCOL
462const SKF_AD_PROTOCOL = UNKNOWN;
463#endif
464#ifdef SKF_AD_PKTTYPE
469const SKF_AD_PKTTYPE = UNKNOWN;
470#endif
471#ifdef SKF_AD_IFINDEX
476const SKF_AD_IFINDEX = UNKNOWN;
477#endif
478#ifdef SKF_AD_NLATTR
483const SKF_AD_NLATTR = UNKNOWN;
484#endif
485#ifdef SKF_AD_NLATTR_NEST
490const SKF_AD_NLATTR_NEST = UNKNOWN;
491#endif
492#ifdef SKF_AD_MARK
497const SKF_AD_MARK = UNKNOWN;
498#endif
499#ifdef SKF_AD_QUEUE
504const SKF_AD_QUEUE = UNKNOWN;
505#endif
506#ifdef SKF_AD_HATYPE
511const SKF_AD_HATYPE = UNKNOWN;
512#endif
513#ifdef SKF_AD_RXHASH
518const SKF_AD_RXHASH = UNKNOWN;
519#endif
520#ifdef SKF_AD_CPU
525const SKF_AD_CPU = UNKNOWN;
526#endif
527#ifdef SKF_AD_ALU_XOR_X
532const SKF_AD_ALU_XOR_X = UNKNOWN;
533#endif
534#ifdef SKF_AD_VLAN_TAG
539const SKF_AD_VLAN_TAG = UNKNOWN;
540#endif
541#ifdef SKF_AD_VLAN_TAG_PRESENT
547#endif
548#ifdef SKF_AD_PAY_OFFSET
553const SKF_AD_PAY_OFFSET = UNKNOWN;
554#endif
555#ifdef SKF_AD_RANDOM
560const SKF_AD_RANDOM = UNKNOWN;
561#endif
562#ifdef SKF_AD_VLAN_TPID
567const SKF_AD_VLAN_TPID = UNKNOWN;
568#endif
569#ifdef SKF_AD_MAX
574const SKF_AD_MAX = UNKNOWN;
575#endif
576
577#ifdef TCP_CONGESTION
582const TCP_CONGESTION = UNKNOWN;
583#endif
584#ifdef TCP_SYNCNT
589const TCP_SYNCNT = UNKNOWN;
590#endif
591#ifdef SO_ZEROCOPY
596const SO_ZEROCOPY = UNKNOWN;
597#endif
598#ifdef TCP_NODELAY
603const TCP_NODELAY = UNKNOWN;
604#endif
605#ifdef TCP_NOTSENT_LOWAT
610const TCP_NOTSENT_LOWAT = UNKNOWN;
611#endif
612#ifdef TCP_DEFER_ACCEPT
617const TCP_DEFER_ACCEPT = UNKNOWN;
618#endif
619#ifdef TCP_KEEPALIVE
624const TCP_KEEPALIVE = UNKNOWN;
625#endif
626#ifdef TCP_KEEPIDLE
631const TCP_KEEPIDLE = UNKNOWN;
636const TCP_KEEPINTVL = UNKNOWN;
641const TCP_KEEPCNT = UNKNOWN;
642#endif
647const PHP_NORMAL_READ = UNKNOWN;
652const PHP_BINARY_READ = UNKNOWN;
653
658const MCAST_JOIN_GROUP = UNKNOWN;
663const MCAST_LEAVE_GROUP = UNKNOWN;
664#ifdef HAS_MCAST_EXT
669const MCAST_BLOCK_SOURCE = UNKNOWN;
674const MCAST_UNBLOCK_SOURCE = UNKNOWN;
685#endif
686
691const IP_MULTICAST_IF = UNKNOWN;
696const IP_MULTICAST_TTL = UNKNOWN;
701const IP_MULTICAST_LOOP = UNKNOWN;
702#ifdef IP_BIND_ADDRESS_NO_PORT
708#endif
709#ifdef HAVE_IPV6
714const IPV6_MULTICAST_IF = UNKNOWN;
719const IPV6_MULTICAST_HOPS = UNKNOWN;
724const IPV6_MULTICAST_LOOP = UNKNOWN;
725#endif
726
727#ifdef IPV6_V6ONLY
732const IPV6_V6ONLY = UNKNOWN;
733#endif
734
735#ifdef IP_PORTRANGE
740const IP_PORTRANGE = UNKNOWN;
745const IP_PORTRANGE_DEFAULT = UNKNOWN;
750const IP_PORTRANGE_HIGH = UNKNOWN;
755const IP_PORTRANGE_LOW = UNKNOWN;
756#endif
757
758#ifdef EPERM
764const SOCKET_EPERM = UNKNOWN;
765#endif
766#ifdef ENOENT
772const SOCKET_ENOENT = UNKNOWN;
773#endif
774#ifdef PHP_SOCKET_EINTR
780const SOCKET_EINTR = UNKNOWN;
781#endif
782#ifdef EIO
788const SOCKET_EIO = UNKNOWN;
789#endif
790#ifdef ENXIO
796const SOCKET_ENXIO = UNKNOWN;
797#endif
798#ifdef E2BIG
804const SOCKET_E2BIG = UNKNOWN;
805#endif
806#ifdef PHP_SOCKET_EBADF
812const SOCKET_EBADF = UNKNOWN;
813#endif
814#ifdef EAGAIN
820const SOCKET_EAGAIN = UNKNOWN;
821#endif
822#ifdef ENOMEM
828const SOCKET_ENOMEM = UNKNOWN;
829#endif
830#ifdef PHP_SOCKET_EACCES
836const SOCKET_EACCES = UNKNOWN;
837#endif
838#ifdef PHP_SOCKET_EFAULT
844const SOCKET_EFAULT = UNKNOWN;
845#endif
846#ifdef ENOTBLK
852const SOCKET_ENOTBLK = UNKNOWN;
853#endif
854#ifdef EBUSY
860const SOCKET_EBUSY = UNKNOWN;
861#endif
862#ifdef EEXIST
868const SOCKET_EEXIST = UNKNOWN;
869#endif
870#ifdef EXDEV
876const SOCKET_EXDEV = UNKNOWN;
877#endif
878#ifdef ENODEV
884const SOCKET_ENODEV = UNKNOWN;
885#endif
886#ifdef ENOTDIR
892const SOCKET_ENOTDIR = UNKNOWN;
893#endif
894#ifdef EISDIR
900const SOCKET_EISDIR = UNKNOWN;
901#endif
902#ifdef PHP_SOCKET_EINVAL
908const SOCKET_EINVAL = UNKNOWN;
909#endif
910#ifdef PHP_SOCKET_ENFILE
916const SOCKET_ENFILE = UNKNOWN;
917#endif
918#ifdef PHP_SOCKET_EMFILE
924const SOCKET_EMFILE = UNKNOWN;
925#endif
926#ifdef ENOTTY
932const SOCKET_ENOTTY = UNKNOWN;
933#endif
934#ifdef ENOSPC
940const SOCKET_ENOSPC = UNKNOWN;
941#endif
942#ifdef ESPIPE
948const SOCKET_ESPIPE = UNKNOWN;
949#endif
950#ifdef EROFS
956const SOCKET_EROFS = UNKNOWN;
957#endif
958#ifdef EMLINK
964const SOCKET_EMLINK = UNKNOWN;
965#endif
966#ifdef EPIPE
972const SOCKET_EPIPE = UNKNOWN;
973#endif
974#ifdef PHP_SOCKET_ENAMETOOLONG
980const SOCKET_ENAMETOOLONG = UNKNOWN;
981#endif
982#ifdef ENOLCK
988const SOCKET_ENOLCK = UNKNOWN;
989#endif
990#ifdef ENOSYS
996const SOCKET_ENOSYS = UNKNOWN;
997#endif
998#ifdef PHP_SOCKET_ENOTEMPTY
1004const SOCKET_ENOTEMPTY = UNKNOWN;
1005#endif
1006#ifdef PHP_SOCKET_ELOOP
1012const SOCKET_ELOOP = UNKNOWN;
1013#endif
1014#ifdef PHP_SOCKET_EWOULDBLOCK
1020const SOCKET_EWOULDBLOCK = UNKNOWN;
1021#endif
1022#ifdef ENOMSG
1028const SOCKET_ENOMSG = UNKNOWN;
1029#endif
1030#ifdef EIDRM
1036const SOCKET_EIDRM = UNKNOWN;
1037#endif
1038#ifdef ECHRNG
1044const SOCKET_ECHRNG = UNKNOWN;
1045#endif
1046#ifdef EL2NSYNC
1052const SOCKET_EL2NSYNC = UNKNOWN;
1053#endif
1054#ifdef EL3HLT
1060const SOCKET_EL3HLT = UNKNOWN;
1061#endif
1062#ifdef EL3RST
1068const SOCKET_EL3RST = UNKNOWN;
1069#endif
1070#ifdef ELNRNG
1076const SOCKET_ELNRNG = UNKNOWN;
1077#endif
1078#ifdef EUNATCH
1084const SOCKET_EUNATCH = UNKNOWN;
1085#endif
1086#ifdef ENOCSI
1092const SOCKET_ENOCSI = UNKNOWN;
1093#endif
1094#ifdef EL2HLT
1100const SOCKET_EL2HLT = UNKNOWN;
1101#endif
1102#ifdef EBADE
1108const SOCKET_EBADE = UNKNOWN;
1109#endif
1110#ifdef EBADR
1116const SOCKET_EBADR = UNKNOWN;
1117#endif
1118#ifdef EXFULL
1124const SOCKET_EXFULL = UNKNOWN;
1125#endif
1126#ifdef ENOANO
1132const SOCKET_ENOANO = UNKNOWN;
1133#endif
1134#ifdef EBADRQC
1140const SOCKET_EBADRQC = UNKNOWN;
1141#endif
1142#ifdef EBADSLT
1148const SOCKET_EBADSLT = UNKNOWN;
1149#endif
1150#ifdef ENOSTR
1156const SOCKET_ENOSTR = UNKNOWN;
1157#endif
1158#ifdef ENODATA
1164const SOCKET_ENODATA = UNKNOWN;
1165#endif
1166#ifdef ETIME
1172const SOCKET_ETIME = UNKNOWN;
1173#endif
1174#ifdef ENOSR
1180const SOCKET_ENOSR = UNKNOWN;
1181#endif
1182#ifdef ENONET
1188const SOCKET_ENONET = UNKNOWN;
1189#endif
1190#ifdef PHP_SOCKET_EREMOTE
1196const SOCKET_EREMOTE = UNKNOWN;
1197#endif
1198#ifdef ENOLINK
1204const SOCKET_ENOLINK = UNKNOWN;
1205#endif
1206#ifdef EADV
1212const SOCKET_EADV = UNKNOWN;
1213#endif
1214#ifdef ESRMNT
1220const SOCKET_ESRMNT = UNKNOWN;
1221#endif
1222#ifdef ECOMM
1228const SOCKET_ECOMM = UNKNOWN;
1229#endif
1230#ifdef EPROTO
1236const SOCKET_EPROTO = UNKNOWN;
1237#endif
1238#ifdef EMULTIHOP
1244const SOCKET_EMULTIHOP = UNKNOWN;
1245#endif
1246#ifdef EBADMSG
1252const SOCKET_EBADMSG = UNKNOWN;
1253#endif
1254#ifdef ENOTUNIQ
1260const SOCKET_ENOTUNIQ = UNKNOWN;
1261#endif
1262#ifdef EBADFD
1268const SOCKET_EBADFD = UNKNOWN;
1269#endif
1270#ifdef EREMCHG
1276const SOCKET_EREMCHG = UNKNOWN;
1277#endif
1278#ifdef ERESTART
1284const SOCKET_ERESTART = UNKNOWN;
1285#endif
1286#ifdef ESTRPIPE
1292const SOCKET_ESTRPIPE = UNKNOWN;
1293#endif
1294#ifdef PHP_SOCKET_EUSERS
1300const SOCKET_EUSERS = UNKNOWN;
1301#endif
1302#ifdef PHP_SOCKET_ENOTSOCK
1308const SOCKET_ENOTSOCK = UNKNOWN;
1309#endif
1310#ifdef PHP_SOCKET_EDESTADDRREQ
1316const SOCKET_EDESTADDRREQ = UNKNOWN;
1317#endif
1318#ifdef PHP_SOCKET_EMSGSIZE
1324const SOCKET_EMSGSIZE = UNKNOWN;
1325#endif
1326#ifdef PHP_SOCKET_EPROTOTYPE
1332const SOCKET_EPROTOTYPE = UNKNOWN;
1333#endif
1334#ifdef PHP_SOCKET_ENOPROTOOPT
1340const SOCKET_ENOPROTOOPT = UNKNOWN;
1341#endif
1342#ifdef PHP_SOCKET_EPROTONOSUPPORT
1349#endif
1350#ifdef PHP_SOCKET_ESOCKTNOSUPPORT
1357#endif
1358#ifdef PHP_SOCKET_EOPNOTSUPP
1364const SOCKET_EOPNOTSUPP = UNKNOWN;
1365#endif
1366#ifdef PHP_SOCKET_EPFNOSUPPORT
1372const SOCKET_EPFNOSUPPORT = UNKNOWN;
1373#endif
1374#ifdef PHP_SOCKET_EAFNOSUPPORT
1380const SOCKET_EAFNOSUPPORT = UNKNOWN;
1381#endif
1382#ifdef PHP_SOCKET_EADDRINUSE
1388const SOCKET_EADDRINUSE = UNKNOWN;
1389#endif
1390#ifdef PHP_SOCKET_EADDRNOTAVAIL
1396const SOCKET_EADDRNOTAVAIL = UNKNOWN;
1397#endif
1398#ifdef PHP_SOCKET_ENETDOWN
1404const SOCKET_ENETDOWN = UNKNOWN;
1405#endif
1406#ifdef PHP_SOCKET_ENETUNREACH
1412const SOCKET_ENETUNREACH = UNKNOWN;
1413#endif
1414#ifdef PHP_SOCKET_ENETRESET
1420const SOCKET_ENETRESET = UNKNOWN;
1421#endif
1422#ifdef PHP_SOCKET_ECONNABORTED
1428const SOCKET_ECONNABORTED = UNKNOWN;
1429#endif
1430#ifdef PHP_SOCKET_ECONNRESET
1436const SOCKET_ECONNRESET = UNKNOWN;
1437#endif
1438#ifdef PHP_SOCKET_ENOBUFS
1444const SOCKET_ENOBUFS = UNKNOWN;
1445#endif
1446#ifdef PHP_SOCKET_EISCONN
1452const SOCKET_EISCONN = UNKNOWN;
1453#endif
1454#ifdef PHP_SOCKET_ENOTCONN
1460const SOCKET_ENOTCONN = UNKNOWN;
1461#endif
1462#ifdef PHP_SOCKET_ESHUTDOWN
1468const SOCKET_ESHUTDOWN = UNKNOWN;
1469#endif
1470#ifdef PHP_SOCKET_ETOOMANYREFS
1476const SOCKET_ETOOMANYREFS = UNKNOWN;
1477#endif
1478#ifdef PHP_SOCKET_ETIMEDOUT
1484const SOCKET_ETIMEDOUT = UNKNOWN;
1485#endif
1486#ifdef PHP_SOCKET_ECONNREFUSED
1492const SOCKET_ECONNREFUSED = UNKNOWN;
1493#endif
1494#ifdef PHP_SOCKET_EHOSTDOWN
1500const SOCKET_EHOSTDOWN = UNKNOWN;
1501#endif
1502#ifdef PHP_SOCKET_EHOSTUNREACH
1508const SOCKET_EHOSTUNREACH = UNKNOWN;
1509#endif
1510#ifdef PHP_SOCKET_EALREADY
1516const SOCKET_EALREADY = UNKNOWN;
1517#endif
1518#ifdef PHP_SOCKET_EINPROGRESS
1524const SOCKET_EINPROGRESS = UNKNOWN;
1525#endif
1526#ifdef EISNAM
1532const SOCKET_EISNAM = UNKNOWN;
1533#endif
1534#ifdef EREMOTEIO
1540const SOCKET_EREMOTEIO = UNKNOWN;
1541#endif
1542#ifdef PHP_SOCKET_EDQUOT
1548const SOCKET_EDQUOT = UNKNOWN;
1549#endif
1550#ifdef ENOMEDIUM
1556const SOCKET_ENOMEDIUM = UNKNOWN;
1557#endif
1558#ifdef EMEDIUMTYPE
1564const SOCKET_EMEDIUMTYPE = UNKNOWN;
1565#endif
1566
1567#ifdef PHP_WIN32
1572const SOCKET_ESTALE = UNKNOWN;
1577const SOCKET_EDISCON = UNKNOWN;
1582const SOCKET_SYSNOTREADY = UNKNOWN;
1602const SOCKET_TRY_AGAIN = UNKNOWN;
1607const SOCKET_NO_RECOVERY = UNKNOWN;
1612const SOCKET_NO_DATA = UNKNOWN;
1617const SOCKET_NO_ADDRESS = UNKNOWN;
1618#endif
1619
1624const IPPROTO_IP = UNKNOWN;
1625#ifdef HAVE_IPV6
1630const IPPROTO_IPV6 = UNKNOWN;
1631#endif
1632
1637const SOL_TCP = UNKNOWN;
1642const SOL_UDP = UNKNOWN;
1643#ifdef IPPROTO_UDPLITE
1648const SOL_UDPLITE = UNKNOWN;
1649#endif
1650
1651#ifdef HAVE_IPV6
1656const IPV6_UNICAST_HOPS = UNKNOWN;
1657#endif
1658
1663const AI_PASSIVE = UNKNOWN;
1668const AI_CANONNAME = UNKNOWN;
1673const AI_NUMERICHOST = UNKNOWN;
1674#ifdef AI_V4MAPPED
1679const AI_V4MAPPED = UNKNOWN;
1680#endif
1681#ifdef AI_ALL
1686const AI_ALL = UNKNOWN;
1687#endif
1692const AI_ADDRCONFIG = UNKNOWN;
1693#ifdef AI_IDN
1698const AI_IDN = UNKNOWN;
1703const AI_CANONIDN = UNKNOWN;
1704#endif
1705#ifdef AI_NUMERICSERV
1710const AI_NUMERICSERV = UNKNOWN;
1711#endif
1712#ifdef SOL_LOCAL
1717const SOL_LOCAL = UNKNOWN;
1718#endif
1719
1720#if (defined(IPV6_RECVPKTINFO) && defined(HAVE_IPV6))
1726const IPV6_RECVPKTINFO = UNKNOWN;
1731const IPV6_PKTINFO = UNKNOWN;
1732#endif
1733#if (defined(IPV6_RECVHOPLIMIT) && defined(HAVE_IPV6))
1738const IPV6_RECVHOPLIMIT = UNKNOWN;
1743const IPV6_HOPLIMIT = UNKNOWN;
1744#endif
1745
1746#if (defined(IPV6_RECVTCLASS) && defined(HAVE_IPV6))
1751const IPV6_RECVTCLASS = UNKNOWN;
1756const IPV6_TCLASS = UNKNOWN;
1757#endif
1758
1759#ifdef SCM_RIGHTS
1764const SCM_RIGHTS = UNKNOWN;
1765#endif
1766#ifdef SO_PASSCRED
1767#ifdef SCM_CREDENTIALS
1772const SCM_CREDENTIALS = UNKNOWN;
1773#else
1778const SCM_CREDS = UNKNOWN;
1779#endif
1784const SO_PASSCRED = UNKNOWN;
1785#endif
1786#if defined(LOCAL_CREDS_PERSISTENT)
1791const SCM_CREDS2 = UNKNOWN;
1797#endif
1798#if (!defined(LOCAL_CREDS_PERSISTENT) && defined(LOCAL_CREDS))
1803const SCM_CREDS = UNKNOWN;
1808const LOCAL_CREDS = UNKNOWN;
1809#endif
1810#if defined(SO_ATTACH_REUSEPORT_CBPF)
1816#endif
1817#if defined(SO_DETACH_FILTER)
1822const SO_DETACH_FILTER = UNKNOWN;
1823#endif
1824#if defined(SO_DETACH_BPF)
1829const SO_DETACH_BPF = UNKNOWN;
1830#endif
1831#if defined(SO_EXCLUSIVEADDRUSE)
1836const SO_EXCLUSIVEADDRUSE = UNKNOWN;
1837#endif
1838#if defined(SO_NOSIGPIPE)
1843const SO_NOSIGPIPE = UNKNOWN;
1844#endif
1845#if defined(TCP_QUICKACK)
1850const TCP_QUICKACK = UNKNOWN;
1851#endif
1852#if defined(TCP_REPAIR)
1857const TCP_REPAIR = UNKNOWN;
1858#endif
1859#if defined(IP_DONTFRAG)
1864const IP_DONTFRAG = UNKNOWN;
1865#endif
1866#if defined(IP_MTU_DISCOVER)
1871const IP_MTU_DISCOVER = UNKNOWN;
1872#endif
1873#if defined(IP_PMTUDISC_DO)
1878const IP_PMTUDISC_DO = UNKNOWN;
1879#endif
1880#if defined(IP_PMTUDISC_DONT)
1885const IP_PMTUDISC_DONT = UNKNOWN;
1886#endif
1887#if defined(IP_PMTUDISC_WANT)
1892const IP_PMTUDISC_WANT = UNKNOWN;
1893#endif
1894#if defined(IP_PMTUDISC_PROBE)
1899const IP_PMTUDISC_PROBE = UNKNOWN;
1900#endif
1901#if defined(IP_PMTUDISC_INTERFACE)
1907#endif
1908#if defined(IP_PMTUDISC_OMIT)
1913const IP_PMTUDISC_OMIT = UNKNOWN;
1914#endif
1915#if defined(UDPLITE_SEND_CSCOV)
1920const UDPLITE_SEND_CSCOV = UNKNOWN;
1921#endif
1922#if defined(UDPLITE_RECV_CSCOV)
1927const UDPLITE_RECV_CSCOV = UNKNOWN;
1928#endif
1929
1934final class Socket
1935{
1936}
1937
1942final class AddressInfo
1943{
1944}
1945
1946function socket_select(?array &$read, ?array &$write, ?array &$except, ?int $seconds, int $microseconds = 0): int|false {}
1947
1948function socket_create_listen(int $port, int $backlog = SOMAXCONN): Socket|false {}
1949
1951
1953
1955
1956function socket_listen(Socket $socket, int $backlog = 0): bool {}
1957
1959
1960function socket_write(Socket $socket, string $data, ?int $length = null): int|false {}
1961
1962function socket_read(Socket $socket, int $length, int $mode = PHP_BINARY_READ): string|false {}
1963
1968function socket_getsockname(Socket $socket, &$address, &$port = null): bool {}
1969
1974function socket_getpeername(Socket $socket, &$address, &$port = null): bool {}
1975
1976function socket_create(int $domain, int $type, int $protocol): Socket|false {}
1977
1978function socket_connect(Socket $socket, string $address, ?int $port = null): bool {}
1979
1980function socket_strerror(int $error_code): string {}
1981
1982function socket_bind(Socket $socket, string $address, int $port = 0): bool {}
1983
1985function socket_recv(Socket $socket, &$data, int $length, int $flags): int|false {}
1986
1987function socket_send(Socket $socket, string $data, int $length, int $flags): int|false {}
1988
1994function socket_recvfrom(Socket $socket, &$data, int $length, int $flags, &$address, &$port = null): int|false {}
1995
1996function socket_sendto(Socket $socket, string $data, int $length, int $flags, string $address, ?int $port = null): int|false {}
1997
2002function socket_get_option(Socket $socket, int $level, int $option): array|int|false {}
2003
2008function socket_getopt(Socket $socket, int $level, int $option): array|int|false {}
2009
2011function socket_set_option(Socket $socket, int $level, int $option, $value): bool {}
2012
2017function socket_setopt(Socket $socket, int $level, int $option, $value): bool {}
2018
2019#ifdef HAVE_SOCKETPAIR
2021function socket_create_pair(int $domain, int $type, int $protocol, &$pair): bool {}
2022#endif
2023
2024#ifdef HAVE_SHUTDOWN
2025function socket_shutdown(Socket $socket, int $mode = 2): bool {}
2026#endif
2027
2028#ifdef HAVE_SOCKATMARK
2030#endif
2031
2032function socket_last_error(?Socket $socket = null): int {}
2033
2035
2038
2041
2042function socket_sendmsg(Socket $socket, array $message, int $flags = 0): int|false {}
2043
2044function socket_recvmsg(Socket $socket, array &$message, int $flags = 0): int|false {}
2045
2046function socket_cmsg_space(int $level, int $type, int $num = 0): ?int {}
2047
2052function socket_addrinfo_lookup(string $host, ?string $service = null, array $hints = []): array|false {}
2053
2055
2057
2063
2064#ifdef PHP_WIN32
2065function socket_wsaprotocol_info_export(Socket $socket, int $process_id): string|false {}
2066
2068
2070#endif
$data
Definition bench.php:6
#define MSG_WAITALL
#define PHP_NORMAL_READ
#define PHP_BINARY_READ
const IP_PMTUDISC_WANT
const UDPLITE_SEND_CSCOV
const MSG_CMSG_CLOEXEC
const IPV6_RECVHOPLIMIT
const SOCKET_ENODEV
const SO_MARK
const SO_TYPE
const SKF_AD_PROTOCOL
const SOCKET_ELNRNG
const SOCKET_ENOTCONN
const SOCKET_ENFILE
const SOCKET_EL2NSYNC
const SOCKET_ENOSTR
const SOCKET_ENOENT
const SOCKET_ENOTDIR
const SOCKET_ENOPROTOOPT
const TCP_QUICKACK
const UDPLITE_RECV_CSCOV
const SOL_FILTER
const SOCKET_NO_DATA
const SKF_AD_CPU
socket_addrinfo_bind(AddressInfo $address)
const SOCKET_EREMCHG
const SKF_AD_PAY_OFFSET
const SOCKET_EACCES
const SO_ATTACH_REUSEPORT_CBPF
const MSG_OOB
socket_last_error(?Socket $socket=null)
const IPV6_V6ONLY
const SOCKET_EADDRNOTAVAIL
const SO_SPLICE
const SO_BINDTODEVICE
const SO_USER_COOKIE
const SOCKET_EXDEV
const SOCKET_EMLINK
const MCAST_LEAVE_GROUP
const AF_DIVERT
const IPPROTO_IP
const SOCKET_EADV
const SOCKET_ENOTTY
const SKF_AD_QUEUE
const SOCKET_EDQUOT
const AI_NUMERICSERV
socket_addrinfo_connect(AddressInfo $address)
const SOL_TCP
const IPV6_UNICAST_HOPS
const IPV6_PKTINFO
const SOCKET_EMULTIHOP
const IPV6_TCLASS
socket_select(?array &$read, ?array &$write, ?array &$except, ?int $seconds, int $microseconds=0)
const SOCKET_ENAMETOOLONG
const SOCKET_ENOSYS
const SOCKET_EBADRQC
const MSG_MORE
const SO_ZEROCOPY
const SOCKET_EDISCON
const SOCK_STREAM
const SO_RCVBUF
const SO_RTABLE
socket_close(Socket $socket)
const SCM_CREDS2
socket_accept(Socket $socket)
const TCP_KEEPINTVL
const SOCKET_EMSGSIZE
const SOCKET_ENETRESET
const TCP_KEEPCNT
const SOCKET_EALREADY
const SOCKET_EROFS
const SOCKET_ENOTEMPTY
const SO_MEMINFO
const SOCKET_EIO
const SOL_LOCAL
const SOCK_CONN_DGRAM
const MSG_WAITFORONE
const SKF_AD_MARK
const SOCKET_ECOMM
const SOCK_DCCP
const SOCKET_EBADSLT
const SKF_AD_RXHASH
const SOCKET_ENETUNREACH
const SOCKET_EHOSTUNREACH
const SOL_SOCKET
const SO_LINGER
const IP_PORTRANGE
const SOCKET_ECHRNG
const SOCKET_ELOOP
const SO_PEERLABEL
const SO_FAMILY
const SOCKET_ENOMEM
const SOCKET_EBUSY
const IPV6_MULTICAST_LOOP
const SOCKET_EPERM
const SOCKET_ESRMNT
const MCAST_UNBLOCK_SOURCE
const SOCKET_ENOTUNIQ
const SOCKET_ECONNREFUSED
const IP_PMTUDISC_INTERFACE
const SOCKET_EPROTONOSUPPORT
const SO_BINDTOIFINDEX
const AI_V4MAPPED
const SO_DONTROUTE
const SOCKET_ESTALE
const SOCKET_NOTINITIALISED
const MSG_ERRQUEUE
const MSG_EOF
socket_clear_error(?Socket $socket=null)
socket_set_nonblock(Socket $socket)
const TCP_KEEPIDLE
socket_addrinfo_lookup(string $host, ?string $service=null, array $hints=[])
const SOCKET_EPROTOTYPE
socket_connect(Socket $socket, string $address, ?int $port=null)
const SOCKET_ETIMEDOUT
const AI_NUMERICHOST
const SO_SNDLOWAT
socket_read(Socket $socket, int $length, int $mode=PHP_BINARY_READ)
const SOCKET_ENOMEDIUM
const SOCKET_EBADR
const AF_INET
const SOCKET_NO_RECOVERY
const SO_SNDBUF
const IP_PORTRANGE_DEFAULT
const SOCKET_EDESTADDRREQ
const SCM_CREDS
socket_recvfrom(Socket $socket, &$data, int $length, int $flags, &$address, &$port=null)
const SOCKET_EWOULDBLOCK
const SKF_AD_ALU_XOR_X
const SKF_AD_RANDOM
const IP_PMTUDISC_PROBE
socket_wsaprotocol_info_export(Socket $socket, int $process_id)
const TCP_KEEPALIVE
const SOCKET_EINTR
socket_sendto(Socket $socket, string $data, int $length, int $flags, string $address, ?int $port=null)
const SOCKET_ENOMSG
const SKF_AD_MAX
const SOCKET_ENETDOWN
const IP_BIND_ADDRESS_NO_PORT
const SKF_AD_VLAN_TPID
const SOCKET_EL2HLT
const SOCKET_ENODATA
const MCAST_BLOCK_SOURCE
const TCP_NODELAY
const SO_DETACH_BPF
const SOCKET_ENOLINK
const SOCK_RAW
const TCP_SYNCNT
const SOCKET_EINVAL
const SOCKET_ENOLCK
const SOCKET_ECONNRESET
const SOCKET_ESOCKTNOSUPPORT
socket_create(int $domain, int $type, int $protocol)
const SOCKET_EISCONN
const IP_PMTUDISC_DO
const SO_DEBUG
const SOCKET_ETIME
const SOCKET_EBADFD
socket_set_option(Socket $socket, int $level, int $option, $value)
const SO_LISTENQLIMIT
const IPV6_RECVPKTINFO
const SO_LABEL
socket_addrinfo_explain(AddressInfo $address)
const TCP_DEFER_ACCEPT
socket_getsockname(Socket $socket, &$address, &$port=null)
const SO_LINGER_SEC
const SOCKET_EBADF
const SOCKET_ESTRPIPE
const SOCKET_SYSNOTREADY
const SOCKET_HOST_NOT_FOUND
const SOCKET_ERESTART
const SOCKET_ENOSR
const SO_REUSEPORT_LB
const SOCKET_ENOTBLK
const SOCKET_EUSERS
const AI_CANONNAME
const SKF_AD_VLAN_TAG_PRESENT
const SOCKET_EBADE
const SO_NOSIGPIPE
const LOCAL_CREDS_PERSISTENT
const SOCKET_ESHUTDOWN
const SOCKET_EMEDIUMTYPE
const MSG_NOSIGNAL
const SOCKET_ETOOMANYREFS
socket_cmsg_space(int $level, int $type, int $num=0)
const MSG_CONFIRM
const MSG_TRUNC
socket_wsaprotocol_info_release(string $info_id)
const IP_MULTICAST_LOOP
const SO_WANTMORE
socket_recv(Socket $socket, &$data, int $length, int $flags)
const SOCKET_EMFILE
const SOCKET_ENOTSOCK
const MSG_DONTROUTE
const SOCKET_ENXIO
const SOCKET_EFAULT
const SOCKET_ENOCSI
const SKF_AD_NLATTR_NEST
socket_atmark(Socket $socket)
const SO_BROADCAST
const SOCK_SEQPACKET
const IPV6_MULTICAST_IF
const SOCKET_EBADMSG
const SOCKET_NO_ADDRESS
const SKF_AD_PKTTYPE
socket_bind(Socket $socket, string $address, int $port=0)
const MCAST_LEAVE_SOURCE_GROUP
const IP_PORTRANGE_HIGH
socket_write(Socket $socket, string $data, ?int $length=null)
const SOCK_CLOEXEC
const SCM_CREDENTIALS
const IP_MTU_DISCOVER
const SOCK_NONBLOCK
const SOMAXCONN
const TCP_CONGESTION
const SO_DETACH_FILTER
const SOCKET_EPIPE
const SOCKET_EIDRM
const SO_INCOMING_CPU
const SOCKET_VERNOTSUPPORTED
const AI_IDN
const SO_OOBINLINE
const IPPROTO_IPV6
const IP_MULTICAST_TTL
socket_shutdown(Socket $socket, int $mode=2)
socket_getpeername(Socket $socket, &$address, &$port=null)
socket_import_stream($stream)
const SO_ERROR
const SO_RCVLOWAT
const SO_RCVTIMEO
const TCP_NOTSENT_LOWAT
const SOCKET_EPFNOSUPPORT
socket_listen(Socket $socket, int $backlog=0)
const SOCKET_EADDRINUSE
socket_wsaprotocol_info_import(string $info_id)
const SO_ACCEPTFILTER
socket_export_stream(Socket $socket)
const SOCKET_E2BIG
const SOCKET_EAFNOSUPPORT
socket_setopt(Socket $socket, int $level, int $option, $value)
const MCAST_JOIN_GROUP
socket_set_block(Socket $socket)
const SO_EXCLUSIVEADDRUSE
const SOCKET_EL3RST
socket_sendmsg(Socket $socket, array $message, int $flags=0)
socket_strerror(int $error_code)
const SKF_AD_OFF
const SKF_AD_NLATTR
const SO_ZEROIZE
const SOCKET_EXFULL
const AI_CANONIDN
socket_send(Socket $socket, string $data, int $length, int $flags)
const SOCKET_ENOANO
const SOCKET_EREMOTEIO
const SO_LISTENQLEN
const FIL_ATTACH
const SKF_AD_IFINDEX
const SOCKET_EUNATCH
const SOCKET_EL3HLT
const AI_ADDRCONFIG
const SO_SNDTIMEO
const SOL_UDP
const SO_BPF_EXTENSIONS
const SOCKET_EOPNOTSUPP
const AF_UNIX
const SO_RERROR
const AF_INET6
const SOCKET_EAGAIN
const IPV6_RECVTCLASS
const SKF_AD_HATYPE
const SOCKET_EISNAM
const SOCKET_ESPIPE
const SOCKET_EHOSTDOWN
const SOCKET_TRY_AGAIN
const AI_ALL
const AI_PASSIVE
const SOCK_RDM
const SOCKET_EEXIST
socket_create_pair(int $domain, int $type, int $protocol, &$pair)
const IP_DONTFRAG
const IP_MULTICAST_IF
const MSG_EOR
socket_get_option(Socket $socket, int $level, int $option)
socket_create_listen(int $port, int $backlog=SOMAXCONN)
socket_getopt(Socket $socket, int $level, int $option)
const SOCKET_EPROTO
const SOCKET_ECONNABORTED
const SO_PASSCRED
const SO_SETFIB
const SO_REUSEPORT
const SOL_UDPLITE
const LOCAL_CREDS
const SO_KEEPALIVE
const SO_REUSEADDR
const FIL_DETACH
const TCP_REPAIR
const SOCKET_EISDIR
const IP_PMTUDISC_OMIT
const MSG_ZEROCOPY
const SOCK_DGRAM
const SOCKET_ENOBUFS
const MCAST_JOIN_SOURCE_GROUP
const IPV6_MULTICAST_HOPS
const IP_PMTUDISC_DONT
const MSG_CTRUNC
const SCM_RIGHTS
const IP_PORTRANGE_LOW
const SO_DONTTRUNC
const IPV6_HOPLIMIT
const SO_EXCLBIND
const SOCKET_EINPROGRESS
const SKF_AD_VLAN_TAG
const SOCKET_EREMOTE
const SOCKET_ENONET
socket_recvmsg(Socket $socket, array &$message, int $flags=0)
const SOCKET_ENOSPC
#define MSG_PEEK
Definition xp_socket.c:35
#define MSG_DONTWAIT
Definition xp_socket.c:31
ZEND_API void(ZEND_FASTCALL *zend_touch_vm_stack_data)(void *vm_stack_data)
function(EX_VAR(opline->result.var))