3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $string = '{"donor":"11rc.biz","site":"http:\/\/vitalya-bro.com","user":"vitalyabrocom","password":"LqJm2C3NKdIlM6qt","basic_user":"lOBlblt27JKD7syh","basic_pass":"G3vlacFkgAD4eFmJ","admin_path":"Mfj4FjPLDOiN6qNe","admin_pass":"9eyyvAbb092u0JBi","operator_pass":"jCkzt9zu9GGJN5Pi","kladchik_pass":"iKlomsot6nK2mEht"}'; echo strlen($string);//1756800 bytes $compressed = gzdeflate($string, 9); $compressed = gzdeflate($compressed, 9); echo PHP_EOL.($compressed).PHP_EOL;//99 bytes echo gzinflate(gzinflate($compressed));
based on vOHlb
Output for 4.3.10 - 4.4.9, 5.0.2 - 7.3.0beta1
305 �#�M��R�0�wɵ�@+z�a -�t��I $�p|w�������'�6m�riٌ�= 'A��h��u�K j �Ԛ3�7:'�� |�7Ĺc��c�upX�Q����8�^oSu�+� ��,޸�����{��aI����"��;�Z�ޡ�~z+�Iy9�g��m.���>���(]DA��{��4�0�^)���Ei���T�ᬐս"3e�3�Y�� @_� {"donor":"11rc.biz","site":"http:\/\/vitalya-bro.com","user":"vitalyabrocom","password":"LqJm2C3NKdIlM6qt","basic_user":"lOBlblt27JKD7syh","basic_pass":"G3vlacFkgAD4eFmJ","admin_path":"Mfj4FjPLDOiN6qNe","admin_pass":"9eyyvAbb092u0JBi","operator_pass":"jCkzt9zu9GGJN5Pi","kladchik_pass":"iKlomsot6nK2mEht"}
Output for 4.3.0 - 4.3.9, 5.0.0 - 5.0.1
305 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/cIUR3 on line 10 Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/cIUR3 on line 10 PHP_EOL�#�M��R�0�wɵ�@+z�a -�t��I $�p|w�������'�6m�riٌ�= 'A��h��u�K j �Ԛ3�7:'�� |�7Ĺc��c�upX�Q����8�^oSu�+� ��,޸�����{��aI����"��;�Z�ޡ�~z+�Iy9�g��m.���>���(]DA��{��4�0�^)���Ei���T�ᬐս"3e�3�Y�� @_�PHP_EOL{"donor":"11rc.biz","site":"http:\/\/vitalya-bro.com","user":"vitalyabrocom","password":"LqJm2C3NKdIlM6qt","basic_user":"lOBlblt27JKD7syh","basic_pass":"G3vlacFkgAD4eFmJ","admin_path":"Mfj4FjPLDOiN6qNe","admin_pass":"9eyyvAbb092u0JBi","operator_pass":"jCkzt9zu9GGJN5Pi","kladchik_pass":"iKlomsot6nK2mEht"}