php IHDR w Q )Ba pHYs sRGB gAMA a IDATxMk\U s&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?qS XzG'ay
files >> /php-7.1.11/ext/standard/tests/url/ |
files >> //php-7.1.11/ext/standard/tests/url/bug55273.phpt |
--TEST-- Bug #55273 (base64_decode() with strict rejects whitespace after pad) --FILE-- <?php function test($s) { $v = chunk_split(base64_encode($s)); $r = base64_decode($v, True); var_dump($v, $r); } test('PHP'); test('PH'); test('P'); ?> --EXPECT-- string(6) "UEhQ " string(3) "PHP" string(6) "UEg= " string(2) "PH" string(6) "UA== " string(1) "P"y~or5J={Eeu磝Qk ᯘG{?+]ן?wM3X^歌>{7پK>on\jy Rg/=fOroNVv~Y+ NGuÝHWyw[eQʨSb> >}Gmx[o[<{Ϯ_qFvM IENDB`