Skip to content

Commit 0f349d4

Browse files
committed
Add POSIX_SC_CHILD_MAX and POSIX_SC_CLK_TCK constants
Closes GH-12689
1 parent 6f95273 commit 0f349d4

File tree

4 files changed

+28
-1
lines changed

4 files changed

+28
-1
lines changed

NEWS

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,9 @@ Phar:
3333
. Fixed bug GH-12532 (PharData created from zip has incorrect timestamp).
3434
(nielsdos)
3535

36+
POSIX:
37+
. Added POSIX_SC_CHILD_MAX and POSIX_SC_CLK_TCK constants. (Jakub Zelenka)
38+
3639
SimpleXML:
3740
. Fixed bug GH-12192 (SimpleXML infinite loop when getName() is called
3841
within foreach). (nielsdos)

UPGRADING

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,10 @@ PHP 8.4 UPGRADE NOTES
108108
- Phar:
109109
. Added support for the unix timestamp extension for zip archives.
110110

111+
- POSIX:
112+
. Added constant POSIX_SC_CHILD_MAX
113+
. Added constant POSIX_SC_CLK_TCK
114+
111115
- SOAP:
112116
. Added support for clark notation for namespaces in class map.
113117
It is now possible to specify entries in a class map with clark notation

ext/posix/posix.stub.php

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -198,6 +198,20 @@
198198
*/
199199
const POSIX_SC_ARG_MAX = UNKNOWN;
200200
#endif
201+
#ifdef _SC_CHILD_MAX
202+
/**
203+
* @var int
204+
* @cvalue _SC_CHILD_MAX
205+
*/
206+
const POSIX_SC_CHILD_MAX = UNKNOWN;
207+
#endif
208+
#ifdef _SC_CLK_TCK
209+
/**
210+
* @var int
211+
* @cvalue _SC_CLK_TCK
212+
*/
213+
const POSIX_SC_CLK_TCK = UNKNOWN;
214+
#endif
201215
#ifdef _SC_PAGESIZE
202216
/**
203217
* @var int

ext/posix/posix_arginfo.h

Lines changed: 7 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)