ok - my latest in the eval saga is this:

I want to be able to eval a function call anywhere in the string supplied,
and the function call is not in scope when the string is defined.

So

-- somewhere in my code I wanted something like this:

$string = "<br>testing nodename: \$node->getName()
pagename:\$nodePageTags[".TAG_PAGENAME."]";

-- where the code is evaled eventually, there is a $node object defined, so
the function call should work. Of course, that currently does not work :)

cheers,
neko



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to