3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a= <<<EOT /** * @table(market_data) @something * Class MarketData */ EOT; preg_match_all('/(@[\w\(\)]+)/', $a, $matches); if($matches[1] == false) echo "shit"; var_dump($matches[0]);
Output for 4.3.0 - 7.2.0
array(2) { [0]=> string(19) "@table(market_data)" [1]=> string(10) "@something" }