1
0
mirror of https://github.com/php/php-src.git synced 2026-04-24 00:18:23 +02:00
Files
archived-php-src/ext/pcntl/tests
Gina Peter Banyard b53b52985b ext/pcntl: Refactor pcntl_exec() (#17172)
* Refactor usage of strlcpy

As we allocate the buffer, we know the string will fit inside the buffer.

* Throw ValueErrors when strings contain null bytes

The underlying C calls work with C strings, which are NULL terminated.

* exec_pcntl() always return false

Thus, update stubs to formally have a return type of `false`.
2024-12-17 13:19:10 +00:00
..
2021-06-11 11:57:42 +02:00
2023-04-03 12:55:26 +02:00
2021-06-29 17:13:02 +02:00