Read PHPDoc as (key => value) like Wordpress plugins
[a-zA-Z0-9]+)\\s{1,}(?P.*)/im";
$str = "/\n@author Marian Gabriel\n@route /page/contact\n@name Contact Plugin\n@version 0.1beta\n@company VMG\n@type Page\n/\n\n";
preg_match_all($re, $str, $matches);
function getValue($attr, $matches)
{...
Submitted by Marian Gabriel - 9 years ago