Home :: International :: Manuals :: Howto :: FAQ :: Man Pages :: Email Login

 
 

 

bzdecompress

(PHP 4 >= 4.0.4, PHP 5)

bzdecompress -- Dekomprimiert bzip2-komprimierte Daten

Beschreibung

string bzdecompress ( string source [, int small])

bzdecompress() dekomprimiert den source-Parameter, der bzip2-komprimierte Daten enthält und gibt die dekomprimierten Daten zurück. Wenn der optionale Parameter small TRUE ist, wird ein alternative Dekomprimierungsalgorithmus verwendet, der weniger Speicher benötigt, jedoch nur halb so schnell läuft. Weitere Informationen sind in der bzip2 Dokumentation zu finden.

Beispiel 1. bzdecompress()

<?php
$start_str = "This is not an honest face?";
$bzstr = bzcompress($start_str);

print( "Compressed String: " );
print( $bzstr );
print( "\n<br>n" );

$str = bzdecompress($bzstr);
print( "Decompressed String: " );
print( $str );
print( "\n<br>n" );
?>

Siehe auch bzcompress().

 
 
 
 
Google
  Web Linuxinfor   
 

Home :: Copyright :: Privacy :: Credits :: Get a free Linuxinfor Email Account

Document on this page is part of "PHP Handbuch". See Index Page for more info about Authorship and Copyright.

1999-2009 Linuxinfor.com. No rights reserved.