3v4l.org

run code in 300+ PHP versions simultaneously
<?php $hire = array( 'hiring' => array( (int) 1 => '10', (int) 2 => '5', (int) 3 => '8', (int) 4 => '15' ) ); $hire['hiring'] = implode(',',$hire['hiring']); print_r($hire['hiring'];
Output for 5.3.0 - 5.3.28, 5.4.0 - 5.4.27
Parse error: syntax error, unexpected ';' in /in/LQGFi on line 13
Process exited with code 255.

preferences:
186.27 ms | 1387 KiB | 64 Q