3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $var=''; print_r(isset($var)); var_dump($var); $var[0]='l'; var_dump($var);
based on AEevb
Output for 7.1.0 - 7.2.0
1string(0) "" string(1) "l"
Output for 5.3.19 - 7.0.20
1string(0) "" array(1) { [0]=> string(1) "l" }