mirror of
https://github.com/dunglas/frankenphp.git
synced 2025-12-24 13:38:11 +08:00
* Optimizes header registration. * Adds malformed cookie tests. * Sets key to NULL (releasing them is unnecessary) * Adjusts test. * Sanitizes null bytes anyways. * Sorts headers. * trigger * clang-format * More clang-format. * Updates headers and tests. * Adds header test. * Adds more headers. * Updates headers again. * ?Removes comments. * ?Reformats headers * ?Reformats headers * renames header files. * ?Renames test. * ?Fixes assertion. * test * test * test * Moves headers test to main package. * Properly capitalizes headers. * Allows and tests multiple cookie headers. * Fixes comment. * Adds otter back in. * Verifies correct capitalization. * Resets package version. * Removes debug log. * Makes persistent strings also interned and saves them once on the main thread. --------- Co-authored-by: Alliballibaba <alliballibaba@gmail.com>
39 lines
1.0 KiB
PHP
39 lines
1.0 KiB
PHP
<?php
|
|
|
|
echo "<pre>\n";
|
|
foreach ([
|
|
'CONTENT_LENGTH',
|
|
'HTTP_CONTENT_LENGTH',
|
|
'CONTENT_TYPE',
|
|
'HTTP_CONTENT_TYPE',
|
|
'HTTP_SPECIAL_CHARS',
|
|
'DOCUMENT_ROOT',
|
|
'DOCUMENT_URI',
|
|
'GATEWAY_INTERFACE',
|
|
'HTTP_HOST',
|
|
'HTTPS',
|
|
'PATH_INFO',
|
|
'DOCUMENT_ROOT',
|
|
'REMOTE_ADDR',
|
|
'PHP_SELF',
|
|
'REMOTE_HOST',
|
|
'REQUEST_SCHEME',
|
|
'SCRIPT_FILENAME',
|
|
'SCRIPT_NAME',
|
|
'SERVER_NAME',
|
|
'SERVER_PORT',
|
|
'SERVER_PROTOCOL',
|
|
'SERVER_SOFTWARE',
|
|
'SSL_PROTOCOL',
|
|
'AUTH_TYPE',
|
|
'REMOTE_IDENT',
|
|
'PATH_TRANSLATED',
|
|
'QUERY_STRING',
|
|
'REMOTE_USER',
|
|
'REQUEST_METHOD',
|
|
'REQUEST_URI',
|
|
'HTTP_X_EMPTY_HEADER',
|
|
] as $name) {
|
|
echo "$name:" . $_SERVER[$name] . "\n";
|
|
}
|
|
echo "</pre>"; |