3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $doc = "/** * This exception is thrown when no constant function is found. * * @author Time.ly Network Inc. * @since 2.0 * * @instantiator Ai1ec_View_Factory Category_Exception * @package AI1EC * @subpackage AI1EC.Config */"; preg_match_all('#^\s\\*\s?@instantiator\s+(.*?)\n#s', $doc, $annotations); echo var_dump($annotations);
Output for 4.3.0 - 7.1.0
array(2) { [0]=> array(0) { } [1]=> array(0) { } }