Annotation of embedaddon/php/ext/standard/tests/url/bug52327.phpt, revision 1.1.1.1

1.1       misho       1: --TEST--
                      2: Bug #52327 (base64_decode() improper handling of leading padding)
                      3: --FILE--
                      4: <?php
                      5: var_dump(
                      6:        base64_decode('=VGhl=ICc9=JyBz=eW1i=b2xz=IGFy=ZW4n=dCBh=bGxv=d2Vk=IHdo=ZXJl=IGkg=cHV0=IHRo=ZW0g=by5P'),
                      7:        base64_decode('=VGhl=ICc9=JyBz=eW1i=b2xz=IGFy=ZW4n=dCBh=bGxv=d2Vk=IHdo=ZXJl=IGkg=cHV0=IHRo=ZW0g=by5P', true)
                      8: );
                      9: ?>
                     10: --EXPECT--
                     11: string(51) "The '=' symbols aren't allowed where i put them o.O"
                     12: bool(false)

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>