3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $to = substr('"hello how are you bn"',1,-1); $lang = substr($to,-1,2); $txt = substr($to,0,count($to)-3); echo($txt); echo("!!!"); echo($lang); ?>
Output for 4.3.0 - 5.6.25, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
hello how are you !!!n