3v4l.org

run code in 300+ PHP versions simultaneously
<?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+(.*)$#i', $doc, $annotations); echo var_dump($annotations);

preferences:
39.55 ms | 402 KiB | 5 Q