Skip to content

Commit 19a7281

Browse files
committed
sockets add SO_RERROR/SO_ZEROIZE/SO_SPLICE net/openbsd's constants.
Closes GH-10563.
1 parent 4ec3664 commit 19a7281

File tree

4 files changed

+35
-1
lines changed

4 files changed

+35
-1
lines changed

NEWS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,7 @@ PHP NEWS
106106
. Added AF_DIVERT for raw socket for divert ports. (David Carlier)
107107
. Added SOL_UPDLITE, UDPLITE_RECV_CSCOV and UDPLITE_SEND_CSCOV for updlite
108108
protocol support. (David Carlier)
109+
. Added SO_RERROR, SO_ZEROIZE and SO_SPLICE netbsd and openbsd constants.
109110

110111
- Standard:
111112
. E_NOTICEs emitted by unserialize() have been promoted to E_WARNING. (timwolla)

UPGRADING

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,9 @@ PHP 8.3 UPGRADE NOTES
144144
. SOL_UDPLITE.
145145
. UDPLITE_RECV_CSCOV.
146146
. UDPLITE_SEND_CSCOV.
147+
. SO_RERROR (NetBSD only).
148+
. SO_ZEROIZE (OpenBSD only).
149+
. SO_SPLICE (OpenBSD only).
147150

148151
========================================
149152
11. Changes to INI File Handling

ext/sockets/sockets.stub.php

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -293,6 +293,27 @@
293293
*/
294294
const SO_ACCEPTFILTER = UNKNOWN;
295295
#endif
296+
#ifdef SO_RERROR
297+
/**
298+
* @var int
299+
* @cvalue SO_RERROR
300+
*/
301+
const SO_RERROR = UNKNOWN;
302+
#endif
303+
#ifdef SO_SOPLICE
304+
/**
305+
* @var int
306+
* @cvalue SO_SPLICE
307+
*/
308+
const SO_SPLICE = UNKNOWN;
309+
#endif
310+
#ifdef SO_ZEROIZE
311+
/**
312+
* @var int
313+
* @cvalue SO_ZEROIZE
314+
*/
315+
const SO_ZEROIZE = UNKNOWN;
316+
#endif
296317
#ifdef SOL_FILTER
297318
/**
298319
* @var int

ext/sockets/sockets_arginfo.h

Lines changed: 10 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)