Non-static methods being called as static
PermalinkThis is annoying because the autocomplete and contex help in IDE's (such as NetBeans) doesn't work..
Does this dates back to PHP 4 times or is it a part of some conception i don't clearly get?
This website stores cookies on your computer. These cookies are used to improve your website experience and provide more personalized services to you, both on this website and through other media. To find out more about the cookies we use, see our Privacy Policy.
In case anyone is interested, here are some stackoverflow questions about the optional-ness of the static keyword in function declarations:
http://stackoverflow.com/questions/3754786/calling-non-static-metho...
http://stackoverflow.com/questions/3387633/is-the-static-keyword-ne...