3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $str = preg_replace('/(\w)(\W*)(\w)?/e', "strtoupper('$1').strtolower('$3')", 'test example.Hello World abc'); echo $str; ?>
based on NCk2Z