3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $var_1 = 1; $var_2 = 2; $arr = array($var_1, $var_2); $arr[0] = 10; $arr[1] = 20; var_dump($var_1, $var_2);
Output for 4.3.0 - 7.2.0
int(1) int(2)