3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $a = array('108', 'suikoden'); $b = $a; $a[] = 'bar'; $b[] = 'foo'; var_dump($a,$b);
Output for 4.3.0 - 7.1.0
array(3) { [0]=> string(3) "108" [1]=> string(8) "suikoden" [2]=> string(3) "bar" } array(3) { [0]=> string(3) "108" [1]=> string(8) "suikoden" [2]=> string(3) "foo" }