3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $content="@asdfasdf @你好"; $matches=null; preg_match_all('/@[\S].+? /', $content, $matches); var_dump($matches);
Output for 5.3.21 - 7.2.0
array(1) { [0]=> array(1) { [0]=> string(10) "@asdfasdf " } }