Re: [PHP] Re: Syntax problem - dynamic static member access

2004-11-07 Thread Jake Press
Jason Barnett wrote: Jake, as you probably already know you usually have to give the class name when attempting to get a static variable, i.e. YourClassName::$bob; You *can* dynamically refer to a static class variable from within an object without knowing the name of the class; this is what

[PHP] Re: Syntax problem - dynamic static member access

2004-11-07 Thread M. Sokolewicz
hi, it's a limitation, and not allowed in PHP. There was a whole line of posts about it in internals. - Tul Jake Press wrote: Hello All, I am having an interesting syntax problem. :( I have been battling this little bugger for the last week and a half, I have exhausted google and numerous php

Re: [PHP] Re: Syntax problem - dynamic static member access

2004-11-07 Thread Jake Press
Thanks Tul, Okay, so its a limitation :( I cant find the line of posts, any idea on it - or possible keywords i can google with ? I'd like to find out the reasons behind why this a fixed limitation Best Regards Jake Press M. Sokolewicz wrote: hi, it's a limitation, and not

[PHP] Re: Syntax problem - dynamic static member access

2004-11-06 Thread Jason Barnett
Jake, as you probably already know you usually have to give the class name when attempting to get a static variable, i.e. YourClassName::$bob; You *can* dynamically refer to a static class variable from within an object without knowing the name of the class; this is what self is for. i.e.