3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $lots_of_bins="001100010011000000110000001100000011000000110001001100000011000000110000001100010011000100110001001100000011000100110001001100000011000100110000001100010011000000110000001100010011000100110000001100010011000000110000001100010011000000110001001100010011000000110000001100010011000000110000001100000011000100110001001100000011000000110000001100000011000000110000001100010011000000110000001100010011000000110000001100010011000100110001001100010011000000110001001100000011000100110000001100010011000100110001001100000011000100110000001100010011000100110000001100000011000100110000"; $solution=Encoder::bin2asc(strrev(bin2asc($lots_of_bins))); pritn($solution);
based on PJOFI
Output for 7.0.0 - 7.2.0
Fatal error: Uncaught Error: Class 'Encoder' not found in /in/UNd3P:5 Stack trace: #0 {main} thrown in /in/UNd3P on line 5
Process exited with code 255.
Output for 5.0.0 - 5.6.28
Fatal error: Class 'Encoder' not found in /in/UNd3P on line 5
Process exited with code 255.
Output for 4.3.2 - 4.4.9
Fatal error: Undefined class name 'encoder' in /in/UNd3P on line 5
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Fatal error: Undefined class name 'encoder' in /in/UNd3P on line 5