Display the drop-down list

getallheaders()

« get_required_files | getcwd »
<?php
$array 
getallheaders ();
?>
Result
$array = [
  
'X-Cdn-Any-Ip' => '213.186.33.19',
  
'Forwarded' => 'for=54.156.39.245; proto=http; host=micmap.org',
  
'X-Remote-Proto' => 'http',
  
'X-Remote-Ip' => '54.156.39.245',
  
'X-Remote-Port' => '44488',
  
'X-Forwarded-Proto' => 'http',
  
'X-Forwarded-Port' => '80',
  
'X-Forwarded-For' => '54.156.39.245',
  
'Accept-Encoding' => 'gzip',
  
'If-Modified-Since' => 'Tue, 21 Aug 2018 22:00:46 GMT',
  
'Accept' => 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  
'User-Agent' => 'CCBot/2.0 (https://commoncrawl.org/faq/)',
  
'Connection' => 'close',
  
'X-Predictor' => '1',
  
'Cookie' => '60gp=R2337133688',
  
'Host' => 'micmap.org',
  
'Remote-Ip' => '54.156.39.245',
]
Examples
#1 getallheaders  ()