mirror of
https://github.com/php/php-src.git
synced 2024-09-22 02:17:32 +00:00
7aacc705d0
Closes GH-5958
15 lines
315 B
PHP
15 lines
315 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)
|