Handling objects

<?php
    
function &return_object()
    {
        return new 
foo();
    }

    
$a =& return_object();
?>