3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $i = 1; echo $name = "text".$i; $$name = array(); echo ${$name}['content'] = 'foo'; print_r($text1);
based on ASknG
Output for 4.3.0 - 7.2.0
text1fooArray ( [content] => foo )