Closed
Description
Description
The following code:
$ ./sapi/cli/php -r 'echo posix_fpathconf(0, POSIX_PC_LINK_MAX);'
Resulted in this output:
Fatal error: Uncaught Error: Call to undefined function posix_fpathconf() in Command line code:1
Stack trace:
#0 {main}
thrown in Command line code on line 1
But I expected this output instead:
127
Extra description:
#11774 fixes this issue, but not merged even in RC release cycle.
PHP Version
8.3.0 RC6
Operating System
Ubuntu 22.04