From e76be32463967a547ee824cfa1227c89c242eba0 Mon Sep 17 00:00:00 2001 From: Alex Cabal Date: Fri, 7 Mar 2025 09:55:54 -0600 Subject: [PATCH] Add comment --- lib/HttpInput.php | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/HttpInput.php b/lib/HttpInput.php index 68381d2c..954fb19b 100644 --- a/lib/HttpInput.php +++ b/lib/HttpInput.php @@ -30,6 +30,7 @@ class HttpInput{ && preg_match('/^application\/x-www-form-urlencoded(;|$)/', $contentType) ){ + // TODO: On PHP >= 8.4, use the new `request_parse_body()` function instead. parse_str(file_get_contents('php://input'), $_POST); } }