Re: [PHP] class variable shared by all objects

2002-10-16 Thread Robert Cummings
Robert Cummings wrote: > > christophe barbe wrote: > > > > I guess the answer is obvious but can't find it in the manual. > > > > Is it possible to have a variable in a class that is shared by all > > instances. I thought 'static' would do it but apparently not. > > I don't recall such a thing,

Re: [PHP] class variable shared by all objects

2002-10-16 Thread Robert Cummings
christophe barbe wrote: > > I guess the answer is obvious but can't find it in the manual. > > Is it possible to have a variable in a class that is shared by all > instances. I thought 'static' would do it but apparently not. I don't recall such a thing, but if you can't find an option for a cl