3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php function prende_array($input) { echo "$input[0] + $input[1] = ", $input[0]+$input[1]; } $imput=array(1,2); prende_array($imput); ?>
Output for 4.3.0 - 7.1.7
1 + 2 = 3