3v4l.org

run code in 300+ PHP versions simultaneously
<?php $string = "C#maj7"; $qualityVal = ""; if (true) { $qualityVal .= substr($string, 2); } $num = 10; $num += 10; class Hello { } $hello = new Hello(); echo $hello->toString(); ?>

preferences:
35.93 ms | 402 KiB | 5 Q