Display the drop-down list

Test of filter_has_var()

Example #1 : test not validated (platform dependant or random result etc.)
Example #2 : test success
Example #1
$input = [
  
=> 'INPUT_COOKIE',
  
=> 'test_cookie',
]
test not validated (platform dependant or random result etc.)
$test_output = [
  
'result' => [
    
'bool' => false,
  ],
  
'php_version' => '7.1.30 Linux x86_64',
]
Example #2
$input = [
  
=> 'INPUT_POST',
  
=> 'xyz',
]
$expected_output = $test_output
$test_output = [
  
'result' => [
    
'bool' => false,
  ],
  
'php_version' => '7.1.30 Linux x86_64',
]