On 12/20/07, John Campbell <[EMAIL PROTECTED]> wrote: > Humm... > > The only thing I can think of is to do something like: > $v = get_class_vars(get_class($this)); > print_r($v['_staticvar']);
This does work in my case. But, I the code could get invoked quite a bit which makes me wonder if the overhead of calling those functions and building the vars array would offset the benefit of storage savings from using a static array. I have opted for the KISS approach and just used a non-static array instead. That is a neat trick though. I'll have to remember this one. Thanks, Mike -- Michael B Allen PHP Active Directory SPNEGO SSO http://www.ioplex.com/ _______________________________________________ New York PHP Community Talk Mailing List http://lists.nyphp.org/mailman/listinfo/talk NYPHPCon 2006 Presentations Online http://www.nyphpcon.com Show Your Participation in New York PHP http://www.nyphp.org/show_participation.php
