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

php.internals

Pierre-Alain Joye

22 years ago
Hello, I'm wondering if this syntax is deprecated or not: function &f() { return $foo; } $h = &f(); ideas? pierre

Andi Gutmans

22 years ago
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: