How can you know the calling method type in PHP?
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/1647735/how-to-tell-whether-im-static-or-an-object">How to tell whether I’m static or an object?</a><br>
  <a href="http://stackoverflow.com/questions/3824143/how-can-i-tell-if-a-function-is-being-called-statically-in-php">How can I tell if a function is being called statically in PHP?</a>  </p>
</blockquote>



<p>I meant if you call the method in this way <code>class::method()</code> or in this way 
<code>$class-&gt;method()</code> How do I know which way was called method in the same method?</p>
