Display the drop-down list

Test of version_compare()

Example #1 : test not validated (platform dependant or random result etc.)
Example #2 : test not validated (platform dependant or random result etc.)
Example #3 : test not validated (platform dependant or random result etc.)
Example #4 : test not validated (platform dependant or random result etc.)
Example #1
$input = [
  
=> 'PHP_VERSION',
  
=> '6.0.0',
]
test not validated (platform dependant or random result etc.)
$test_output = [
  
'result' => [
    
'mixed' => 1,
  ],
  
'php_version' => '7.1.33 Linux x86_64',
]
Example #2
$input = [
  
=> 'PHP_VERSION',
  
=> '5.3.0',
]
test not validated (platform dependant or random result etc.)
$test_output = [
  
'result' => [
    
'mixed' => 1,
  ],
  
'php_version' => '7.1.33 Linux x86_64',
]
Example #3
$input = [
  
=> 'PHP_VERSION',
  
=> '5.0.0',
  
=> '>=',
]
test not validated (platform dependant or random result etc.)
$test_output = [
  
'result' => [
    
'mixed' => true,
  ],
  
'php_version' => '7.1.33 Linux x86_64',
]
Example #4
$input = [
  
=> 'PHP_VERSION',
  
=> '5.0.0',
  
=> '<',
]
test not validated (platform dependant or random result etc.)
$test_output = [
  
'result' => [
    
'mixed' => false,
  ],
  
'php_version' => '7.1.33 Linux x86_64',
]