fork(3) download
  1. <?php
  2.  
  3. $tring = "Bubu votou para fechar!";
  4.  
  5. $compressed1 = gzcompress($tring, 9);
  6.  
  7. echo strlen($compressed1).PHP_EOL;
  8.  
  9. $compressed2 = gzdeflate($tring, 9);
  10.  
  11. echo strlen($compressed2).PHP_EOL;
  12.  
Success #stdin #stdout 0.02s 24472KB
stdin
Standard input is empty
stdout
31
25