显示下拉菜单

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

Example #1 : test success
Example #2 : test success
Example #1
$input = [
  
=> [
    
=> 1,
    
=> 2,
    
=> [
      
=> 'a',
      
=> 'b',
      
=> 'c',
    ],
  ],
]
$expected_output = $test_output
$test_output = [
  
'result' => [
    
'contents' => 'array(3) {
  [0]=>
  int(1)
  [1]=>
  int(2)
  [2]=>
  array(3) {
    [0]=>
    string(1) "a"
    [1]=>
    string(1) "b"
    [2]=>
    string(1) "c"
  }
}
'
,
  ],
  
'php_version' => '7.1.33 Linux x86_64',
]
Example #2
$input = [
  
=> 3.1,
  
=> true,
]
$expected_output = $test_output
$test_output = [
  
'result' => [
    
'contents' => 'float(3.1)
bool(true)
'
,
  ],
  
'php_version' => '7.1.33 Linux x86_64',
]