Display the drop-down list

Test of defined()

Example #1 : test success
Example #2 : test success
Example #3 : test success
Example #4 : test success
Example #5 : test success
Example #1
$input = 'MAXSIZE'
$expected_output = $test_output
$test_output = [
  
'result' => [
    
'bool' => true,
  ],
  
'php_version' => '7.1.30 Linux x86_64',
]
Example #2
$input = 'bar::test'
$expected_output = $test_output
$test_output = [
  
'result' => [
    
'bool' => true,
  ],
  
'php_version' => '7.1.30 Linux x86_64',
]
Example #3
$input = 'foo::test'
$expected_output = $test_output
$test_output = [
  
'result' => [
    
'bool' => true,
  ],
  
'php_version' => '7.1.30 Linux x86_64',
]
Example #4
$input = 'E_ALL'
$expected_output = $test_output
$test_output = [
  
'result' => [
    
'bool' => true,
  ],
  
'php_version' => '7.1.30 Linux x86_64',
]
Example #5
$input = 'TEST'
$expected_output = $test_output
$test_output = [
  
'result' => [
    
'bool' => false,
  ],
  
'php_version' => '7.1.30 Linux x86_64',
]