how can i check if a method is called statically when called from inside another object? (without debug_bactrace())
<plug type="own">http://blog.phpdoc.info/archives/4-Schizophrenic-Methods.html</plug>
Short answer: $isStatic = !(isset($this) && get_class($this) == __CLASS__); HTH S -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php