Skip to content

Commit

Permalink
Add POSIX_SC_CHILD_MAX and POSIX_SC_CLK_TCK constants
Browse files Browse the repository at this point in the history
  • Loading branch information
bukka committed Nov 17, 2023
1 parent 6f95273 commit 0f349d4
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 1 deletion.
3 changes: 3 additions & 0 deletions NEWS
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@ Phar:
. Fixed bug GH-12532 (PharData created from zip has incorrect timestamp).
(nielsdos)

POSIX:
. Added POSIX_SC_CHILD_MAX and POSIX_SC_CLK_TCK constants. (Jakub Zelenka)

SimpleXML:
. Fixed bug GH-12192 (SimpleXML infinite loop when getName() is called
within foreach). (nielsdos)
Expand Down
4 changes: 4 additions & 0 deletions UPGRADING
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,10 @@ PHP 8.4 UPGRADE NOTES
- Phar:
. Added support for the unix timestamp extension for zip archives.

- POSIX:
. Added constant POSIX_SC_CHILD_MAX
. Added constant POSIX_SC_CLK_TCK

- SOAP:
. Added support for clark notation for namespaces in class map.
It is now possible to specify entries in a class map with clark notation
Expand Down
14 changes: 14 additions & 0 deletions ext/posix/posix.stub.php
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,20 @@
*/
const POSIX_SC_ARG_MAX = UNKNOWN;
#endif
#ifdef _SC_CHILD_MAX
/**
* @var int
* @cvalue _SC_CHILD_MAX
*/
const POSIX_SC_CHILD_MAX = UNKNOWN;
#endif
#ifdef _SC_CLK_TCK
/**
* @var int
* @cvalue _SC_CLK_TCK
*/
const POSIX_SC_CLK_TCK = UNKNOWN;
#endif
#ifdef _SC_PAGESIZE
/**
* @var int
Expand Down
8 changes: 7 additions & 1 deletion ext/posix/posix_arginfo.h

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 0f349d4

Please sign in to comment.