1
0
mirror of https://github.com/php/php-src.git synced 2026-03-28 18:22:42 +01:00
Files
archived-php-src/ext/standard/tests/strings/bug72263.phpt
2016-07-07 01:27:23 +02:00

14 lines
312 B
PHP

--TEST--
Bug #72263 (base64_decode skips a character after padding in strict mode)
--FILE--
<?php
var_dump(base64_decode("*", true));
var_dump(base64_decode("=*", true));
var_dump(base64_decode("VVV=", true));
var_dump(base64_decode("VVV=*", true));
--EXPECT--
bool(false)
bool(false)
string(2) "UU"
bool(false)