--TEST--
Function -- htmlspecialchars_decode
--FILE--
<?php
require_once 'PHP/Compat/Function/htmlspecialchars_decode.php';
$text = 'Text & " ' < > End Text';
echo $text, "\n";
echo php_compat_htmlspecialchars_decode($text), "\n";
echo php_compat_htmlspecialchars_decode($text, ENT_COMPAT), "\n";
echo php_compat_htmlspecialchars_decode($text, ENT_QUOTES), "\n";
echo php_compat_htmlspecialchars_decode($text, ENT_NOQUOTES), "\n";
// bug #14138
echo php_compat_htmlspecialchars_decode('&gt;') . "\n";
?>
--EXPECT--
Text & " ' < > End Text
Text & " ' < > End Text
Text & " ' < > End Text
Text & " ' < > End Text
Text & " ' < > End Text
>