Beispiel #1
0
    }
    function die()
    {
        echo __METHOD__, "\n";
    }
    function self()
    {
        echo __METHOD__, "\n";
    }
    function parent()
    {
        echo __METHOD__, "\n";
    }
}
$obj = new Obj();
$obj->empty();
$obj->callable();
$obj->trait();
$obj->extends();
$obj->implements();
$obj->const();
$obj->enddeclare();
$obj->endfor();
$obj->endforeach();
$obj->endif();
$obj->endwhile();
$obj->and();
$obj->global();
$obj->goto();
$obj->instanceof();
$obj->insteadof();
Beispiel #2
0
        echo __METHOD__, "\n";
    }
    static function die()
    {
        echo __METHOD__, "\n";
    }
    static function self()
    {
        echo __METHOD__, "\n";
    }
    static function parent()
    {
        echo __METHOD__, "\n";
    }
}
Obj::empty();
Obj::callable();
Obj::trait();
Obj::extends();
Obj::implements();
Obj::const();
Obj::enddeclare();
Obj::endfor();
Obj::endforeach();
Obj::endif();
Obj::endwhile();
Obj::and();
Obj::global();
Obj::goto();
Obj::instanceof();
Obj::insteadof();