I always use private $MyVar = false;
when declaring private variables which only that specific class can use. But recently i saw some examples where people use private static $MyVar = false;
.
I don't get it, what's the difference? Both of them can only be used inside that class, so whats the point in adding static
?