3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array = ( 'addition' => array(24, 12, 6), 'subtraction' => array(8, 4, 2), 'multiplication' => array(128, 32, 8), 'division' => array(2, 2, 2), ); print_r($array);
Output for 5.4.0 - 5.4.30
Parse error: syntax error, unexpected '=>' (T_DOUBLE_ARROW) in /in/bNYE8 on line 4
Process exited with code 255.
Output for 5.3.0 - 5.3.28
Parse error: syntax error, unexpected T_DOUBLE_ARROW in /in/bNYE8 on line 4
Process exited with code 255.

preferences:
186.85 ms | 1386 KiB | 67 Q