3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $string = "C#maj7"; $qualityVal = ""; if (true) { $qualityVal += substr($string, 1); } echo substr($string, 2); ?>
Output for 7.1.0
Warning: A non-numeric value encountered in /in/VW85r on line 5 Warning: A non-numeric value encountered in /in/VW85r on line 5 maj7
Output for 4.3.0 - 7.0.14
maj7