Quantcast
Channel: PHPDeveloper.org
Browsing all 2 articles
Browse latest View live

Reddit.com: Avoid static methods at all costs? (testability)

On Reddit.com there's a recent post questioning the (recently) common saying that PHP developers should avoid static methods when concerned about testability: I get it: testing is important, and...

View Article


David Zentgraf: How Not To Kill Your Testability Using Statics

If you've been around PHP for any length of time, you know about the static functionality and keyword that the language offers. You might have used it in the past for a few things, but maybe you're...

View Article

Browsing all 2 articles
Browse latest View live