例: http://www.sxy-admin.com/admin/merchant?username=hxslcc

array (
  'ALLUSERSPROFILE' => 'C:\\ProgramData',
  'APPDATA' => 'C:\\WINDOWS\\system32\\config\\systemprofile\\AppData\\Roaming',
  'BASE' => 'D:\\UPUPW_NP7.1\\PHP7123\\phpfpm',
  'CommonProgramFiles' => 'C:\\Program Files\\Common Files',
  'CommonProgramFiles(x86)' => 'C:\\Program Files (x86)\\Common Files',
  'CommonProgramW6432' => 'C:\\Program Files\\Common Files',
  'COMPUTERNAME' => 'HHCYCJ',
  'ComSpec' => 'C:\\WINDOWS\\system32\\cmd.exe',
  'DriverData' => 'C:\\Windows\\System32\\Drivers\\DriverData',
  'GOROOT' => 'C:\\Go\\',
  'LOCALAPPDATA' => 'C:\\WINDOWS\\system32\\config\\systemprofile\\AppData\\Local',
  'NUMBER_OF_PROCESSORS' => '4',
  'OS' => 'Windows_NT',
  'PATHEXT' => '.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC',
  'PROCESSOR_ARCHITECTURE' => 'AMD64',
  'PROCESSOR_IDENTIFIER' => 'Intel64 Family 6 Model 158 Stepping 9, GenuineIntel',
  'PROCESSOR_LEVEL' => '6',
  'PROCESSOR_REVISION' => '9e09',
  'ProgramData' => 'C:\\ProgramData',
  'ProgramFiles' => 'C:\\Program Files',
  'ProgramFiles(x86)' => 'C:\\Program Files (x86)',
  'ProgramW6432' => 'C:\\Program Files',
  'PUBLIC' => 'C:\\Users\\Public',
  'SystemDrive' => 'C:',
  'SystemRoot' => 'C:\\WINDOWS',
  'TEMP' => 'C:\\WINDOWS\\TEMP',
  'TMP' => 'C:\\WINDOWS\\TEMP',
  'USERDOMAIN' => 'WORKGROUP',
  'USERNAME' => 'HHCYCJ$',
  'USERPROFILE' => 'C:\\WINDOWS\\system32\\config\\systemprofile',
  'windir' => 'C:\\WINDOWS',
  'HTTP_ACCEPT_LANGUAGE' => 'en-US,en;q=0.9,zh-CN;q=0.8,zh;q=0.7',
  'HTTP_ACCEPT_ENCODING' => 'gzip, deflate',
  'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8',
  'HTTP_UPGRADE_INSECURE_REQUESTS' => '1',
  'HTTP_CACHE_CONTROL' => 'max-age=0',
  'HTTP_CONNECTION' => 'keep-alive',
  'HTTP_HOST' => 'www.sxy-admin.com',
  'REDIRECT_STATUS' => '200',
  'SERVER_NAME' => 'www.sxy-admin.com',
  'SERVER_PORT' => '80',
  'SERVER_ADDR' => '127.0.0.1',
  'REMOTE_PORT' => '53099',
  'REMOTE_ADDR' => '127.0.0.1',
  'SERVER_SOFTWARE' => 'nginx/1.8.0',
  'GATEWAY_INTERFACE' => 'CGI/1.1',
  'SERVER_PROTOCOL' => 'HTTP/1.1',
  'DOCUMENT_ROOT' => 'D:/UPUPW_NP7.1/htdocs/sxy-admin/public',
  'DOCUMENT_URI' => '/index.php',
  'REQUEST_URI' => '/admin/merchant?username=hxslcc',
  'SCRIPT_NAME' => '/index.php',
  'CONTENT_LENGTH' => '',
  'CONTENT_TYPE' => '',
  'REQUEST_METHOD' => 'GET',
  'QUERY_STRING' => 'username=hxslcc',
  'SCRIPT_FILENAME' => 'D:/UPUPW_NP7.1/htdocs/sxy-admin/public/index.php',
  'PATH_TRANSLATED' => 'D:/UPUPW_NP7.1/htdocs/sxy-admin/public',
  'PATH_INFO' => '',
  'FCGI_ROLE' => 'RESPONDER',
  'PHP_SELF' => '/index.php',
  'REQUEST_TIME_FLOAT' => 1527820203.3673351,
  'REQUEST_TIME' => 1527820203,
  'APP_NAME' => '福建昇兴云物联网科技有限公司',
  'APP_ENV' => 'local',
  'APP_KEY' => 'base64:4LmZf2/gM+hSlUtqwt8I09PRJ4dxprq5WkzY+uEYjw8=',
  'APP_DEBUG' => 'true',
  'APP_LOG_LEVEL' => 'debug',
  'APP_URL' => 'http://localhost',
  'DEBUGBAR_ENABLED' => 'TRUE',
  'DB_CONNECTION' => 'mysql',
  'DB_HOST' => '118.89.39.112',
  'DB_PORT' => '3306',
  'DB_DATABASE' => 'otoy',
  'DB_USERNAME' => 'dev_user',
  'DB_PASSWORD' => '8Kpa6hOmXgNbeG0J',
  'BROADCAST_DRIVER' => 'log',
  'CACHE_DRIVER' => 'redis',
  'SESSION_DRIVER' => 'redis',
  'QUEUE_DRIVER' => 'database',
  'REDIS_HOST' => '127.0.0.1',
  'REDIS_PORT' => '6379',
  'MAIL_DRIVER' => 'smtp',
  'MAIL_HOST' => 'smtp.qq.com',
  'MAIL_PORT' => '465',
  'MAIL_USERNAME' => '510507699@qq.com',
  'MAIL_PASSWORD' => 'uuzlburqrvlabgee',
  'MAIL_ENCRYPTION' => 'ssl',
  'PUSHER_APP_ID' => '',
  'PUSHER_APP_KEY' => '',
  'PUSHER_APP_SECRET' => '',
)

容易混淆的几个参数

'HTTP_HOST' => 'www.sxy-admin.com',  // HTTP_HOST = SERVER_NAME:SERVER_PORT,默认80,所以不显示
'SERVER_NAME' => 'www.sxy-admin.com',
'SERVER_PORT' => '80',
'SERVER_ADDR' => '127.0.0.1',
'REMOTE_PORT' => '53099',
'REMOTE_ADDR' => '127.0.0.1',
'SERVER_SOFTWARE' => 'nginx/1.8.0',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'DOCUMENT_ROOT' => 'D:/UPUPW_NP7.1/htdocs/sxy-admin/public',
'DOCUMENT_URI' => '/index.php', // nginx服务有这个参数,有的服务器没有,这个应该不常用
'REQUEST_URI' => '/admin/merchant?username=hxslcc', // 域名根目录下的所有完整路径
'SCRIPT_NAME' => '/index.php', // 脚本相对于根目录下完整路径,不包括其它参数(.php结束)
'REQUEST_METHOD' => 'GET',
'QUERY_STRING' => 'username=hxslcc',
'SCRIPT_FILENAME' => 'D:/UPUPW_NP7.1/htdocs/sxy-admin/public/index.php', // 当前脚本的完整绝对路径
'PATH_TRANSLATED' => 'D:/UPUPW_NP7.1/htdocs/sxy-admin/public',
'PHP_SELF' => '/index.php', // 与SCRIPT_NAME 区别于,当index.phph后面带有斜杆/, 返回的会是index.php 后的内容