3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $string= "Went for an awesome bike ride today! #biking #awesome"; preg_match_all('/#(\w+)/',$string, $matches); foreach ($matches[1] as $tag) { echo $tag; echo ", "; }
Output for 4.3.0 - 7.1.0
biking, awesome,