3v4l.org

run code in 300+ PHP versions simultaneously
<?php $lots_of_bins="001100010011000000110000001100000011000000110001001100000011000000110000001100010011000100110001001100000011000100110001001100000011000100110000001100010011000000110000001100010011000100110000001100010011000000110000001100010011000000110001001100010011000000110000001100010011000000110000001100000011000100110001001100000011000000110000001100000011000000110000001100010011000000110000001100010011000000110000001100010011000100110001001100010011000000110001001100000011000100110000001100010011000100110001001100000011000100110000001100010011000100110000001100000011000100110000"; $solution=Encoder::bin2asc(strrev(Encoder::bin2asc($lots_of_bins))); pritn($solution);
Output for 8.0.0 - 8.0.30, 8.1.0 - 8.1.28, 8.2.0 - 8.2.18, 8.3.0 - 8.3.6
Fatal error: Uncaught Error: Class "Encoder" not found in /in/PJOFI:5 Stack trace: #0 {main} thrown in /in/PJOFI on line 5
Process exited with code 255.
Output for 7.0.0 - 7.0.33, 7.1.0 - 7.1.33, 7.2.0 - 7.2.33, 7.3.0 - 7.3.33, 7.4.0 - 7.4.33
Fatal error: Uncaught Error: Class 'Encoder' not found in /in/PJOFI:5 Stack trace: #0 {main} thrown in /in/PJOFI on line 5
Process exited with code 255.
Output for 5.4.0 - 5.4.45, 5.5.0 - 5.5.38, 5.6.0 - 5.6.40
Fatal error: Class 'Encoder' not found in /in/PJOFI on line 5
Process exited with code 255.

preferences:
284.1 ms | 402 KiB | 376 Q