[php-src] master: Remove unused PARSE_SESSION and PARSE_REQUEST (#14081)
| From: | Peter Kokot via GitHub | Date: | Tue, 30 Apr 2024 14:39:09 +0000 |
| Subject: | [php-src] master: Remove unused PARSE_SESSION and PARSE_REQUEST (#14081) | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-128259@lists.php.net to get a copy of this message | ||
Author: Peter Kokot (petk)
Committer: GitHub (web-flow)
Pusher: petk
Date: 2024-04-30T16:39:00+02:00
Commit: https://github.com/php/php-src/commit/d26617f76079c390874d3cd89ecca6da9bd16a1c
Raw diff: https://github.com/php/php-src/commit/d26617f76079c390874d3cd89ecca6da9bd16a1c.diff
Remove unused PARSE_SESSION and PARSE_REQUEST (#14081)
These were removed via 0904dd3dc2bae8508f58f99c71e0d1d79fb91d38.
Changed paths:
M ext/filter/filter.c
M main/php_variables.h
Diff:
diff --git a/ext/filter/filter.c b/ext/filter/filter.c
index ee8db5ef3583b..3887481124a3f 100644
--- a/ext/filter/filter.c
+++ b/ext/filter/filter.c
@@ -71,10 +71,6 @@ static const filter_list_entry filter_list[] = {
#define PARSE_SERVER 5
#endif
-#ifndef PARSE_SESSION
-#define PARSE_SESSION 6
-#endif
-
static unsigned int php_sapi_filter(int arg, const char *var, char **val, size_t val_len, size_t
*new_val_len);
static unsigned int php_sapi_filter_init(void);
@@ -153,8 +149,6 @@ ZEND_TSRMLS_CACHE_UPDATE();
}
/* }}} */
-#define PARSE_REQUEST 99
-
/* {{{ PHP_MINIT_FUNCTION */
PHP_MINIT_FUNCTION(filter)
{
diff --git a/main/php_variables.h b/main/php_variables.h
index 598de70f03598..f2b4b8cae241a 100644
--- a/main/php_variables.h
+++ b/main/php_variables.h
@@ -27,7 +27,6 @@
#define PARSE_STRING 3
#define PARSE_ENV 4
#define PARSE_SERVER 5
-#define PARSE_SESSION 6
BEGIN_EXTERN_C()
void php_startup_auto_globals(void);