0

I would like to know in what case do you choose to use a static function rather than a dynamic. I clearly understand the difference between static and dynamic but: I was wondering whats the best practice when you create a new function and you can do both.

Thanks !

Roch
  • 21,741
  • 29
  • 77
  • 120

1 Answers1

2

This should answer your question - When to use static modifier in PHP

Community
  • 1
  • 1
Matt Asbury
  • 5,644
  • 2
  • 21
  • 29