[php-src] master: ext/standard: Fix #undef directive after cache_request_parse_body_options (#22457)

Weilin Du via GitHub <[email protected]>
Newsgroups gmane.comp.php.cvs.general
Message-ID <[email protected]>
Author: Weilin Du (LamentXU123)
Committer: GitHub (web-flow)
Pusher: LamentXU123
Date: 2026-06-26T12:19:01+08:00

Commit: https://github.com/php/php-src/commit/1cf6da62d82bd7fa7a75c34e921a34b9a863ea18
Raw diff: https://github.com/php/php-src/commit/1cf6da62d82bd7fa7a75c34e921a34b9a863ea18.diff

ext/standard: Fix #undef directive after cache_request_parse_body_options (#22457)

`CACHE_OPTION` should be typo,
and it should instead be `CHECK_OPTION`.

Changed paths:
  M  ext/standard/http.c


Diff:

diff --git a/ext/standard/http.c b/ext/standard/http.c
index 99509e7ceb04..d65e7a8acaae 100644
--- a/ext/standard/http.c
+++ b/ext/standard/http.c
@@ -317,7 +317,7 @@ static zend_result cache_request_parse_body_options(HashTable *options)
 		return FAILURE;
 	} ZEND_HASH_FOREACH_END();
 
-#undef CACHE_OPTION
+#undef CHECK_OPTION
 
 	return SUCCESS;
 }
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.