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.3.0 - 5.3.28, 5.4.0 - 5.4.30
Parse error: syntax error, unexpected '=' in /in/ZajIl on line 4
Process exited with code 255.

preferences:
193.58 ms | 1395 KiB | 67 Q