3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $string = '#heavy / machine gun #test'; preg_match('/\b\#\w\w+/', $string, $matches); print_r($matches);
based on e1sfq
Output for 4.3.0 - 7.1.0
Array ( )