3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $where = 'a, b, c, d'; $patterns = "/\b\w(\w*)\b/"; echo preg_replace($patterns, $where, '$'); ?>
Output for 4.3.0 - 7.1.0
$