3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $array['addition'] = array(24, 12, 6); $array['subtraction'] = array(8, 4, 2); $array['multiplication'] = array(128, 32, 8); $array['division'] = array(2, 2, 2); print_r($array);
Output for 4.3.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
Array ( [addition] => Array ( [0] => 24 [1] => 12 [2] => 6 ) [subtraction] => Array ( [0] => 8 [1] => 4 [2] => 2 ) [multiplication] => Array ( [0] => 128 [1] => 32 [2] => 8 ) [division] => Array ( [0] => 2 [1] => 2 [2] => 2 ) )