显示下拉菜单

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

Example #1 : test success
Example #1
$input = [
  
=> 'Cannot divide by zero',
  
=> 'E_USER_ERROR',
]
$expected_output = $test_output
$test_output = [
  
'result' => [
    
'bool' => true,
  ],
  
'errors' => [
    
=> [
      
'code' => 256,
      
'message' => 'Cannot divide by zero',
    ],
  ],
  
'php_version' => '7.1.33 Linux x86_64',
]