Re: [PHP] counting chars..

2004-12-15 Thread Jake Press
Hi Louie, Excellent example! i wish more users would take the time to provide such clear examples. The strlen() exists for you :) ie. ?php $string = function yes good; $display = strlen($string); echo $display; ? :) Best Regards Jake Press Louie Miranda wrote: ?php $string = function yes good

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

2004-11-28 Thread Jake Press
That is the problem we are attempting to deal with :) (hence the name of this thread) Best Regards Jake Press -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

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-25 Thread Jake Press
mailing list you may want to read, here: http://news.php.net/php.general/201458 Just quickly here is a dodgy workaround to get you moving echo eval('return '. $ClassName .'::$Data;'); :) Best Regards Jake Press -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

Re: [PHP] default extension for includes?

2004-11-22 Thread Jake Press
Justin, 'Use the force luke' - or perhaps just write yourself a function to do this :) Regards Jake Press Justin French wrote: I'd like to be able to call include(thing); and have PHP automatically look for thing.html -- I know include_path can look in multiple places, but I have no idea

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

2004-11-08 Thread Jake Press
Hi all, Just to let everyone know - I've reported this as a bug. http://bugs.php.net/bug.php?id=30716 Fingers crossed :) Yours Sincerely Jake Press -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

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

2004-11-07 Thread Jake Press
variable... heh... im sure it would be interesting referencing a class without its name :) Yours Sincerely Jake Press -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.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

[PHP] Syntax Limitation - dynamic static member access

2004-11-07 Thread Jake Press
in the php.internals about this issue :( Any thoughts / comments would be appreciated Regards Jake Press -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Syntax problem - dynamic static member access

2004-11-06 Thread Jake Press
and Comments Regards Jake Press -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php