3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $test = "String"; var_dump($test['test']);
based on oOVVt
Output for 5.6.0 - 5.6.30, 7.0.0 - 7.3.0beta1
Warning: Illegal string offset 'test' in /in/IV9tG on line 3 string(1) "S"
Output for hhvm-3.18.5 - 3.22.0
string(1) "S"