From 631bab42ddef8e90964558fe8b1df80157e12986 Mon Sep 17 00:00:00 2001 From: Ilija Tovilo Date: Thu, 26 Sep 2024 22:06:17 +0200 Subject: [PATCH] [skip ci] Bump required C standard to C11 Closes GH-16078 --- CODING_STANDARDS.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/CODING_STANDARDS.md b/CODING_STANDARDS.md index 5fb2586eadd..c599194ed50 100644 --- a/CODING_STANDARDS.md +++ b/CODING_STANDARDS.md @@ -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.