On Fri, 7 May 2004 11:35:24 +1000
"Aidan Lister" <[EMAIL PROTECTED]> wrote:

 > How _should_ this be done? In terms of "best practice".

I'd choose this way:

function &foo()
{
    return new Object;
}

-- 
Petr U.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to