3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $a= <<<EOT /** * @table(market_data) @something * Class MarketData */ EOT; preg_match_all('/(@[\w\(\)]+)/', $a, $matches); var_dump($matches[1]) if($matches[1] == false) echo "shit"; var_dump($matches[0]);
Output for 5.4.0 - 5.4.29
Parse error: syntax error, unexpected 'if' (T_IF) in /in/5H7m4 on line 13
Process exited with code 255.
Output for 5.3.0 - 5.3.28
Parse error: syntax error, unexpected T_IF in /in/5H7m4 on line 13
Process exited with code 255.