Missing $_SERVER variables
sk- opened this issue · 2 comments
sk- commented
When running hippy from command line (not tested on server) many $_SERVER
variables are missing.
Below are the missing variables when compared to PHP 5.4.4
[PHP_SELF] => tests/server.php
[SCRIPT_NAME] => tests/server.php
[SCRIPT_FILENAME] => tests/server.php
[PATH_TRANSLATED] => tests/server.php
[DOCUMENT_ROOT] =>
[REQUEST_TIME_FLOAT] => 1406537711.5441
[REQUEST_TIME] => 1406537711
[argv] => Array
(
[0] => tests/server.php
)
[argc] => 1
Many projects, including PhpUnit and samples from "The Computer Language Benchmarks Game", rely at least on $_SERVER['argv']
.