3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a = 'abc347w83828xyz'; echo $middle = substr($a, 3, strlen($a)-6);
Output for 4.3.0 - 7.2.8
347w83828