static:: uses late static binding whereas self does not. If you were to extend Thing and redefine PRIMARY_KEY (say, to 'foobar'), running keys() on an instance of that subclass would return 'keyfoobar'.
Put another way, self:: always refers only to the class it is written in, while static:: refers to the class context in which it is run.
--
You received this message because you are subscribed to the Google
Group: "Washington, DC PHP Developers Group" - http://www.dcphp.net
To post, send email to washington-...@googlegroups.com
To unsubscribe, send email to washington-dcphp-...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/washington-dcphp-group?hl=en
---
You received this message because you are subscribed to the Google Groups "Washington, DC PHP Developers Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to washington-dcphp-...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.