3v4l.org

run code in 300+ PHP versions simultaneously
<?php $string = '{"H":[{"f": "FR100400061","d": "2016-01-25T12:17:57","i": "80222557","n": "El gio gonzales","s": 1,"CustAccount": "1004","c":"Court de Tennis","m":"1008","mn":"Wide World Importers","d":"frrt","cb": "123","cd": "2016-01-25T12:17:57"}],"L": [{"i": "IVA21","f": "","n": "Zapatitos","tv": 123.0,"txv": 21.35,"bv": 101.65,"f":"FR100400061","rv": 13.0,"d": "frrt"}],"T":[{"t":"80222557","e":"garanda21@gmail.com","n":"El gio gonzales","c": "PE","cn": "Peru","a":"Calle de abaja bien abajo","g": 1,"b":"23/12/1982"}]}'; $string = str_repeat('1234567890'.implode('',range('a','z')),5); /* $str = "sample data"; $bzstr = bzcompress($string, 9); echo $bzstr;*/ //$string = str_repeat('1234567890'.implode('',range('a','z')),48800); echo "Lenght original string: " . strlen($string);//1756800 bytes $compressed = eval(gzdeflate($string, 9)); //$compressed = gzdeflate($compressed, 9); echo ' Lenght compresed string: '.strlen($compressed);//99 bytes //echo $string //echo gzinflate(gzinflate($compressed)); ?>
Output for git.master, git.master_jit, rfc.property-hooks
Lenght original string: 180 Parse error: syntax error, unexpected identifier "��4HLJNIMK��������" in /in/Mjneu(15) : eval()'d code on line 1
Process exited with code 255.

This tab shows result from various feature-branches currently under review by the php developers. Contact me to have additional branches featured.

Active branches

Archived branches

Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page


preferences:
54.58 ms | 401 KiB | 8 Q