RE: [PHP-PEAR] RCS tags
| From: | Chuck Hagenbuch | Date: | Thu, 08 Feb 2001 22:59:17 +0000 |
| Subject: | RE: [PHP-PEAR] RCS tags | ||
| Groups: | php.pear | ||
| Request: | Send a blank email to php-pear+get-1311@lists.php.net to get a copy of this message | ||
Quoting Colin Viebrock <colin@easyDNS.com>:
> 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, <chuck@horde.org>
"My intuitive grasp of math often leads me astray." -Me