Display the drop-down list

Test of is_numeric()

Example #1 : test success
Example #2 : test success
Example #3 : test success
Example #4 : test success
Example #5 : test success
Example #6 : test success
Example #7 : test success
Example #8 : test success
Example #9 : test success
Example #1
$input = '42'
$expected_output = $test_output
$test_output = [
  
'result' => [
    
'bool' => true,
  ],
  
'php_version' => '7.1.33 Linux x86_64',
]
Example #2
$input = 1337
$expected_output = $test_output
$test_output = [
  
'result' => [
    
'bool' => true,
  ],
  
'php_version' => '7.1.33 Linux x86_64',
]
Example #3
$input = '_NO_QUOTE_0x539'
$expected_output = $test_output
$test_output = [
  
'result' => [
    
'bool' => true,
  ],
  
'php_version' => '7.1.33 Linux x86_64',
]
Example #4
$input = '_NO_QUOTE_02471'
$expected_output = $test_output
$test_output = [
  
'result' => [
    
'bool' => true,
  ],
  
'php_version' => '7.1.33 Linux x86_64',
]
Example #5
$input = '_NO_QUOTE_0b10100111001'
$expected_output = $test_output
$test_output = [
  
'result' => [
    
'bool' => true,
  ],
  
'php_version' => '7.1.33 Linux x86_64',
]
Example #6
$input = '_NO_QUOTE_1337e0'
$expected_output = $test_output
$test_output = [
  
'result' => [
    
'bool' => true,
  ],
  
'php_version' => '7.1.33 Linux x86_64',
]
Example #7
$input = 'not numeric'
$expected_output = $test_output
$test_output = [
  
'result' => [
    
'bool' => false,
  ],
  
'php_version' => '7.1.33 Linux x86_64',
]
Example #8
$input = [
  
=> [
  ],
]
$expected_output = $test_output
$test_output = [
  
'result' => [
    
'bool' => false,
  ],
  
'php_version' => '7.1.33 Linux x86_64',
]
Example #9
$input = 9.1
$expected_output = $test_output
$test_output = [
  
'result' => [
    
'bool' => true,
  ],
  
'php_version' => '7.1.33 Linux x86_64',
]