RE: [PHP-PEAR] RCS tags

[email protected] (Chuck Hagenbuch)
Newsgroups php.pear
Message-ID <[email protected]>
Quoting Colin Viebrock <[email protected]>:

> Except I'm going to suggest a different variable name before people 
> say $_VERSION isn't good.
> 
> $_RCS_ID perhaps?

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...)?

-chuck

--
Charles Hagenbuch, <[email protected]>
"My intuitive grasp of math often leads me astray." -Me
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.