3v4l.org

run code in 300+ PHP versions simultaneously
<?php $hiring = 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/nIMDA on line 13
Process exited with code 255.

preferences:
185.62 ms | 1399 KiB | 64 Q