[repost, not sure if it worked last time]
If I want to prevent a method from being called statically in PHP4, how can
I do it? So far I've tried these techniques:
Anotstatic = true;
}
function dynamic() {
if (!isset($this) or !is_a($this, 'A') or !(isset($this->Anotstatic) and
$this->Anot
If I want to prevent a method from being called statically in PHP4, how can
I do it? So far I've tried these techniques:
Anotstatic = true;
}
function dynamic() {
if (!isset($this) or !is_a($this, 'A') or !(isset($this->Anotstatic) and
$this->Anotstatic))
echo "Method called static
2 matches
Mail list logo