Display the drop-down list

Test of array_pad()

Example #1 : test success
Example #2 : test success
Example #3 : test success
Example #1
$input = [
  
=> [
    
=> 12,
    
=> 10,
    
=> 9,
  ],
  
=> 5,
  
=> 0,
]
$expected_output = $test_output
$test_output = [
  
'result' => [
    
'array' => [
      
=> 12,
      
=> 10,
      
=> 9,
      
=> 0,
      
=> 0,
    ],
  ],
  
'php_version' => '7.1.33 Linux x86_64',
]
Example #2
$input = [
  
=> [
    
=> 12,
    
=> 10,
    
=> 9,
  ],
  
=> -7,
  
=> -1,
]
$expected_output = $test_output
$test_output = [
  
'result' => [
    
'array' => [
      
=> -1,
      
=> -1,
      
=> -1,
      
=> -1,
      
=> 12,
      
=> 10,
      
=> 9,
    ],
  ],
  
'php_version' => '7.1.33 Linux x86_64',
]
Example #3
$input = [
  
=> [
    
=> 12,
    
=> 10,
    
=> 9,
  ],
  
=> 2,
  
=> 'noop',
]
$expected_output = $test_output
$test_output = [
  
'result' => [
    
'array' => [
      
=> 12,
      
=> 10,
      
=> 9,
    ],
  ],
  
'php_version' => '7.1.33 Linux x86_64',
]