3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $input = '1.2.3'; var_dump($input); $version = $version{0} = $input; var_dump($version);
Output for 4.3.0 - 7.1.0
string(5) "1.2.3" string(5) "1.2.3"