Hi Louie,
Excellent example! i wish more users would take the time to provide such
clear examples.
The strlen() exists for you :)
ie.
echo $display;
?>
:)
Best Regards
Jake Press
Louie Miranda wrote:
echo $display;
?>
i know this is wrong, but how can i count chars used here?
--
PHP G
his thread)
Best Regards
Jake Press
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
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 i
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 unsu
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 p
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
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
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 limitatio
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
;::$type;');
Thanks in advance for any Thoughts, Answers and Comments
Regards
Jake Press
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
10 matches
Mail list logo