Example #1
0
function main()
{
    $b = new b();
    $b->f($b);
    t::f($b);
    $b->set($b, 'new value');
    t::set($b, 'newer value');
    $a = new a();
    $a->f($a);
    t::f($a);
}
Example #2
0
function main()
{
    $o = new c();
    c::f($o);
    t::f($o);
}
Example #3
0
function main()
{
    a::f();
    t::f();
}