显示下拉菜单

Test of array_rand() 本页面仅提供英文版本。

Example #1 : test not validated (platform dependant or random result etc.)
Example #1
$input = [
  
=> [
    
=> 'Neo',
    
=> 'Morpheus',
    
=> 'Trinity',
    
=> 'Cypher',
    
=> 'Tank',
  ],
  
=> 2,
]
test not validated (platform dependant or random result etc.)
$test_output = [
  
'result' => [
    
'mixed' => [
      
=> 2,
      
=> 4,
    ],
  ],
  
'php_version' => '7.1.33 Linux x86_64',
]