Skip to main content

All Questions

6 votes
3 answers
868 views

Why does Zend discourage "floating functions"?

Zend's Coding Standard Naming Convention says Functions in the global scope (a.k.a "floating functions") are permitted but discouraged in most cases. Consider wrapping these functions in a static ...
kojiro's user avatar
  • 2,095