3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $name = 'language.config.fr.settings'; $prefix = 'language.config'; print preg_replace('!^'. preg_quote($prefix, '!') . '(.+)!', '\1', $name);
Output for 4.3.0 - 7.1.0
.fr.settings