显示下拉菜单

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

Example #1 : test success
Example #2 : test success
Example #1
$input = 'I\'ll "walk" the <b>dog</b> now'
$expected_output = $test_output
$test_output = [
  
'result' => [
    
'string' => 'I\'ll "walk" the <b>dog</b> now',
  ],
  
'php_version' => '7.1.33 Linux x86_64',
]
Example #2
$input = [
  
=> '_DOUBLE_QUOTES_l&quot;\\xe0&quot; is not &quot;a&quot;_DOUBLE_QUOTES_',
  
=> 'ENT_COMPAT',
  
=> 'ISO-8859-1',
]
$expected_output = $test_output
$test_output = [
  
'result' => [
    
'string' => 'l"" is not "a"',
    
'utf8' => 'l"à" is not "a"',
  ],
  
'php_version' => '7.1.33 Linux x86_64',
]