Re: $f = & f(); where function &f(){} deprecated?

From: Date: Thu, 04 Mar 2004 09:28:00 +0000
Subject: Re: $f = & f(); where function &f(){} deprecated?
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-8366@lists.php.net to get a copy of this message
It's not deprecated. However, in general it usually doesn't make sense to use it for objects anymore. Andi At 01:26 AM 3/4/2004 +0100, Pierre-Alain Joye wrote:
Hello, I'm wondering if this syntax is deprecated or not: function &f() {
        return $foo;
} $h = &f(); ideas? pierre -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php


« previous php.internals (#8366) next »