Display the drop-down list

Test of max()

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 = [
  
=> 5,
  
=> 6,
  
=> 7,
]
$expected_output = $test_output
$test_output = [
  
'result' => [
    
'mixed' => 7,
  ],
  
'php_version' => '7.1.33 Linux x86_64',
]
Example #2
$input = [
  
=> [
    
=> 2,
    
=> 4,
    
=> 5,
  ],
]
$expected_output = $test_output
$test_output = [
  
'result' => [
    
'mixed' => 5,
  ],
  
'php_version' => '7.1.33 Linux x86_64',
]
Example #3
$input = [
  
=> 0,
  
=> 'hello',
]
$expected_output = $test_output
$test_output = [
  
'result' => [
    
'mixed' => 0,
  ],
  
'php_version' => '7.1.33 Linux x86_64',
]
Example #4
$input = [
  
=> 'hello',
  
=> 0,
]
$expected_output = $test_output
$test_output = [
  
'result' => [
    
'mixed' => 'hello',
  ],
  
'php_version' => '7.1.33 Linux x86_64',
]
Example #5
$input = [
  
=> '42',
  
=> 3,
]
$expected_output = $test_output
$test_output = [
  
'result' => [
    
'mixed' => '42',
  ],
  
'php_version' => '7.1.33 Linux x86_64',
]
Example #6
$input = [
  
=> -1,
  
=> 'hello',
]
$expected_output = $test_output
$test_output = [
  
'result' => [
    
'mixed' => 'hello',
  ],
  
'php_version' => '7.1.33 Linux x86_64',
]
Example #7
$input = [
  
=> [
    
=> 2,
    
=> 2,
    
=> 2,
  ],
  
=> [
    
=> 1,
    
=> 1,
    
=> 1,
    
=> 1,
  ],
]
$expected_output = $test_output
$test_output = [
  
'result' => [
    
'mixed' => [
      
=> 1,
      
=> 1,
      
=> 1,
      
=> 1,
    ],
  ],
  
'php_version' => '7.1.33 Linux x86_64',
]
Example #8
$input = [
  
=> [
    
=> 2,
    
=> 4,
    
=> 8,
  ],
  
=> [
    
=> 2,
    
=> 5,
    
=> 7,
  ],
]
$expected_output = $test_output
$test_output = [
  
'result' => [
    
'mixed' => [
      
=> 2,
      
=> 5,
      
=> 7,
    ],
  ],
  
'php_version' => '7.1.33 Linux x86_64',
]
Example #9
$input = [
  
=> 'string',
  
=> [
    
=> 2,
    
=> 5,
    
=> 7,
  ],
  
=> 42,
]
$expected_output = $test_output
$test_output = [
  
'result' => [
    
'mixed' => [
      
=> 2,
      
=> 5,
      
=> 7,
    ],
  ],
  
'php_version' => '7.1.33 Linux x86_64',
]