3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $string = "Features\\Contexts\\AdminContext"; var_dump(substr($string, 2, -7));
based on kEtj4
Output for 4.3.0 - 7.1.0
string(21) "atures\Contexts\Admin"