【笔记】PHP实现Base64编解码

前言

PHP实现Base64编解码

Base64编码

1
2
3
<?php
$result = base64_encode("未编码的字符串");
?>

Base64解码

1
2
3
<?php
$result = base64_decode("已编码的字符串");
?>

完成