3v4l.org

run code in 200+ PHP versions simultaneously
<?php $str = "thin"; echo chop("thin", '-webfont'); echo chop("hairline", '-webfont');
Output for 7.1.25 - 7.4.0
thihairli