3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $scalar = "text"; echo $scarar[0];
Output for 5.0.4 - 7.1.7
Notice: Undefined variable: scarar in /in/FH9lM on line 3
Output for 4.3.0 - 5.0.3
Notice: Undefined variable: scarar in /in/FH9lM on line 3