[skip ci] Bump required C standard to C11

Closes GH-16078
This commit is contained in:
Ilija Tovilo 2024-09-26 22:06:17 +02:00
parent 756435a50c
commit 631bab42dd
No known key found for this signature in database
GPG Key ID: 5050C66BFCD1015A

View File

@ -9,12 +9,10 @@ rewritten to comply with these rules.
1. Document your code in source files and the manual. (tm)
1. PHP is implemented in C99.
1. PHP is implemented in C11.
For instance, the optional fixed-width integers from
stdint.h (int8_t, int16_t, int32_t, int64_t and their unsigned
counterparts) are supposed to be available.
However, some features (most notably variable-length arrays) which are not
supported by all relevant compilers, must not be used.
1. Functions that are given pointers to resources should not free them.