mirror of
https://github.com/php/frankenphp.git
synced 2026-03-24 00:52:11 +01:00
perf: put all $_SERVER vars into one function call. (#1303)
* Puts everything into one function call. * Clang-format off. * Cleans up. * Changes function name. * Removes unnecessary check. * Passes hash table directly. * Also tests that the original request path is passed. * Puts vars into a struct. * clang-format --------- Co-authored-by: Alliballibaba <alliballibaba@gmail.com>
This commit is contained in:
committed by
GitHub
parent
ec8eea0c7d
commit
2b7b3d1e4b
2
testdata/server-all-vars-ordered.txt
vendored
2
testdata/server-all-vars-ordered.txt
vendored
@@ -29,6 +29,6 @@ PATH_TRANSLATED:{documentRoot}/path
|
||||
QUERY_STRING:specialChars=%3E\x00%00</>
|
||||
REMOTE_USER:user
|
||||
REQUEST_METHOD:POST
|
||||
REQUEST_URI:/server-all-vars-ordered.php/path?specialChars=%3E\x00%00</>
|
||||
REQUEST_URI:/original-path?specialChars=%3E\x00%00</>
|
||||
HTTP_X_EMPTY_HEADER:
|
||||
</pre>
|
||||
Reference in New Issue
Block a user