Re: [PHP-DEV] Bug #331: static variables in object methods broken From: Andreas Braukmann (braukmann <email protected>)
Date: 04/30/98

Hello,

On Thu, Apr 30, 1998 at 02:39:21AM +0000, Zeev Suraski wrote:
> >> I think if we document the fact that the static is shared among that class
> >> of objects, it is better than simply disallowing it. Who knows, maybe
> >> this is useful to someone.
> >definitely. I would appreciate to have some kind of class variables.
> >From the oo point of view, they _are_ useful. One shouldn't compare
> >them to anything ugly as real global variables ....
> But that's almost exactly what they are..?
Oooops. Sorry, I have to apologize. I was simply to eager to have
something like real class-variables. By that I oversought that the
discussion was on "static variables" local to member functions and not
on "static class members".
According to this, I have to second your opinion, that this feature
isn't of to much value.

Regards,
   Andreas

-- 
/// TSE TeleService GmbH  |  Gsf: Arne Reuter        |
/// Hovestrasse 14        |       Andreas Braukmann  | We do it with
/// D-48351 Everswinkel   |  HRB: 1430, AG WAF       |  FreeBSD/SMP     
/// -------------------------------------------------------------------
/// PGP-Key:          http://www.tse-online.de/~ab/public-key
/// Key fingerprint:  12 13 EF BC 22 DD F4 B6  3C 25 C9 06 DC D3 45 9B