extract zend_parse_method_annotations method out.