3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $b = "tradala"; $b[0] = "mad"; $b[1] = "muha"; echo $b; echo "\n"; $c = ""; $c[0] = "mad"; $c[1] = "muha"; print_r($c);
Output for 7.1.0 - 7.3.0
mmadala mm
Output for 4.3.0 - 7.0.33
mmadala Array ( [0] => mad [1] => muha )