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
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
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
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
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
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
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
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
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
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