RE: [PHP-PEAR] RCS tags
[email protected] ("Colin Viebrock")
| Newsgroups | php.pear |
|---|---|
| Message-ID | <[email protected]> |
> Definitely better than version, since file revision numbers often
> have nothing
> to do with actual versions. One other point, though: making this a class
> variable makes it useless for static classes (there's no way to
> get at it).
> Maybe a standardized constant, instead (CLASS_NAME_REVISION_ID, or some
> such...)?
What about a standard method?
function _get_rcs_id() {
return '$Id$';
}
?