PHP gzdeflate(), gzinflate()

1 개요[ | ]

PHP gzdeflate(), gzinflate()
  • 문자열을 gz 압축/해제하는 PHP 함수
$plaintext = 'Compress me';
$compressed = gzdeflate( $plaintext, 9);
echo base64_encode( $compressed );
$compressed = base64_decode( 'c87PLShKLS5WyE0FAA==' );
$plaintext = gzinflate( $compressed );
echo $plaintext;

2 같이 보기[ | ]

3 참고[ | ]

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}