3v4l.org

run code in 300+ PHP versions simultaneously
<?php $d = array('S' => 'SD', 'asfds' => 'sdf'); echo print_r(array_keys($d), true))
Output for 5.3.0 - 5.3.27, 5.4.0 - 5.4.20, 5.5.0 - 5.5.4
Parse error: syntax error, unexpected ')', expecting ',' or ';' in /in/aq3o6 on line 4
Process exited with code 255.

preferences:
180.71 ms | 1400 KiB | 61 Q