Path: csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!news.musoftware.de!wum.musoftware.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: Simon Newsgroups: comp.lang.php Subject: const var, self:: or static:: Date: Wed, 02 May 2012 11:45:12 +0200 Lines: 20 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: individual.net PFGqvpd5jm5oc6ft1r1dugigKnTQ+gjZMIXsO0j5wot7bqTEfK7X8Qzh14NySQKuVO Cancel-Lock: sha1:6nBgQ3Eokd2VWcJDenkCXS1JJ88= User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2 Xref: csiph.com comp.lang.php:5802 If I have something like... // class MyClass { const MY_CONST = 10; ... } // Inside the class, is it 'better' to use self::MY_CONST or static::MY_CONST? I say 'better' because it works in both cases. Or is it just a personal choice. Thanks Simon