Display the drop-down list

Test of htmlspecialchars_decode()

Example #1 : test success
Example #2 : test success
Example #1
$input = '<p>this -&gt; &quot;</p>'
$expected_output = $test_output
$test_output = [
  
'result' => [
    
'string' => '<p>this -> "</p>',
  ],
  
'php_version' => '7.1.30 Linux x86_64',
]
Example #2
$input = [
  
=> '<p>this -&gt; &quot;</p>',
  
=> 'ENT_NOQUOTES',
]
$expected_output = $test_output
$test_output = [
  
'result' => [
    
'string' => '<p>this -> &quot;</p>',
  ],
  
'php_version' => '7.1.30 Linux x86_64',
]