3v4l.org

run code in 300+ PHP versions simultaneously
<?php $test = 'GB82WEST12345698765432'; $test2 = chunk_split ( $test, 4, ' '); echo $test .' ---> ' .$test2."\n";

preferences:
42.51 ms | 402 KiB | 5 Q