3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php // Positive numbers: echo substr("db10.prod",0,-5)."<br>"; ?>
Output for 4.3.0 - 7.2.0
db10<br>