« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 1 of about 1 for VGhpcyBpcy (0.001 sec.)
sodium_base642bin — base64 エンコードされた文字列を、生バイナリにデコードする |... 9414
sodium_base642bin (PHP 7 >= 7.2.0, PHP 8) sodium_base642bin — base64 エンコードされた文字列を、生バイナリにデコードする 説明 function sodium_base642bin ( #[ \SensitiveParameter ] string $string , int $id , string $ignore = "" ): string base ... する際に無視する文字(e.g. 空白文字) 戻り値 デコードされた文字列を返します。 例 例1 sodium_base642bin() の例 <?php $string = 'VGhpcyBpcyBhbiBlbmNvZGVkIHN0cmluZw==' ; echo sodium_base642bin ( $string , SODIUM_BASE64_VARIANT_ORIGINAL ); ?> 上の例の出力は以下とな ... b6798fef4e5184ff3b5596af753487" string(32) "aeb6798fef4e5184ff3b5596af753487" 例3 ignore 引数の例 <?php $string = <<<'STR' VGhpcyBpcy BhbiBlbmNv ZGVkIHN0cm luZw== STR; var_dump ( sodium_base642bin ( $string , SODIUM_BASE64_VARIANT_ORIGINAL , " \r\n" )); ?> ...
https://man.mtool.work/php/8.3/function.sodium-base642bin.html
PREV 1 NEXT