3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $test = 'GB82WEST12345698765432'; $test2 = chunk_split ( $test, 4, ' '); echo $test .' ---> ' $test2."\n";
Output for 5.4.0 - 5.4.13
Parse error: syntax error, unexpected '$test2' (T_VARIABLE), expecting ',' or ';' in /in/0tck4 on line 4
Process exited with code 255.
Output for 5.3.0 - 5.3.23
Parse error: syntax error, unexpected T_VARIABLE, expecting ',' or ';' in /in/0tck4 on line 4
Process exited with code 255.