Skip to content

Instantly share code, notes, and snippets.

@sajadshafizadeh
Created August 27, 2015 14:56
Show Gist options
  • Save sajadshafizadeh/0f566f4e18645ffc537b to your computer and use it in GitHub Desktop.
Save sajadshafizadeh/0f566f4e18645ffc537b to your computer and use it in GitHub Desktop.
array(32) { ["HOME"]=> string(12) "/nonexistent" ["USER"]=> string(3) "www" ["FCGI_ROLE"]=> string(9) "RESPONDER" ["QUERY_STRING"]=> string(0) "" ["REQUEST_METHOD"]=> string(3) "GET" ["CONTENT_TYPE"]=> string(0) "" ["CONTENT_LENGTH"]=> string(0) "" ["SCRIPT_NAME"]=> string(12) "/lorem/ipsum" ["REQUEST_URI"]=> string(12) "/lorem/ipsum" ["DOCUMENT_URI"]=> string(12) "/lorem/ipsum" ["DOCUMENT_ROOT"]=> string(8) "/var/www" ["SERVER_PROTOCOL"]=> string(8) "HTTP/1.1" ["REQUEST_SCHEME"]=> string(4) "http" ["GATEWAY_INTERFACE"]=> string(7) "CGI/1.1" ["SERVER_SOFTWARE"]=> string(11) "nginx/1.9.2" ["REMOTE_ADDR"]=> string(8) "10.0.2.2" ["REMOTE_PORT"]=> string(5) "49585" ["SERVER_ADDR"]=> string(9) "10.0.2.15" ["SERVER_PORT"]=> string(2) "80" ["SERVER_NAME"]=> string(9) "localhost" ["REDIRECT_STATUS"]=> string(3) "200" ["SCRIPT_FILENAME"]=> string(18) "/var/www/index.php" ["HTTP_HOST"]=> string(9) "localhost" ["HTTP_CONNECTION"]=> string(10) "keep-alive" ["HTTP_ACCEPT"]=> string(74) "text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8" ["HTTP_USER_AGENT"]=> string(114) "Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/40.0.2214.111 Safari/537.36" ["HTTP_ACCEPT_ENCODING"]=> string(19) "gzip, deflate, sdch" ["HTTP_ACCEPT_LANGUAGE"]=> string(23) "en-US,en;q=0.8,fa;q=0.6" ["HTTP_COOKIE"]=> string(36) "PHPSESSID=a1uec9do09m6ikj6i5u13ireb4" ["PHP_SELF"]=> string(12) "/lorem/ipsum" ["REQUEST_TIME_FLOAT"]=> float(1440687374.3018) ["REQUEST_TIME"]=> int(1440687374) }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment