Re: [PHP] Getting static member for a class which name is stored in a variable

2004-11-27 Thread Jake Press
Simas Toleikis wrote: Jake Press wrote: Hi Francisco, Your not alone, a number of other users have enountered this bug. string get_class ( object obj ) Its not a bug... You are getting class name as a string for output purposes etc.. Doing something like TestClass::some_static is ofcourse illegal

Re: [PHP] Getting static member for a class which name is stored in a variable

2004-11-26 Thread Simas Toleikis
Jake Press wrote: Hi Francisco, Your not alone, a number of other users have enountered this bug. string get_class ( object obj ) Its not a bug... You are getting class name as a string for output purposes etc.. Doing something like TestClass::some_static is ofcourse illegal wih strings. -- PHP

Re: [PHP] Getting static member for a class which name is stored in a variable

2004-11-25 Thread Jake Press
Hi Francisco, Your not alone, a number of other users have enountered this bug. :( I have submitted a bug report, here: http://bugs.php.net/bug.php?id=30716 It would be appreciated if you show your support for this bug by commenting/voting etc :) I also have a `thread` on the php.generals