java的Base64getDecoderdecode 换成php代码
在 PHP 中,可以使用 base64_decode 函数来解码 Base64 编码的字符串。例如:
$base64String = "VGhpcyBpcyBhIHRlc3QgZnJvbSBiYXNlNjQ=";
$decodedString = base64_decode($base64String);
echo $decodedString;
这将输出原始字符串 "This is a test from base64"。
原文地址: https://www.cveoy.top/t/topic/fi7y 著作权归作者所有。请勿转载和采集!