<?php

class test {
    function foo() {
        return "blah";
    }
}

$t = new test;
$t->foo() = 1;

echo "Done\n";
?>