Silliness that passed the last quarter hour of work today:
PHP Code:
<?php
class foo {
    public function 
foo(&$foo) {
        
$foo create_function(
            
'$foo',
            
'echo "Hello, $foo.";'
        
);
    }
}
new 
foo($foo);
$foo('foo');