Tuesday, 20 August 2013

Convert string to php action/function

Convert string to php action/function

I'm using Yii framework. I want to make a php string into php action.
$var = 'echo "hello";';
//Something to do to run $var
I want to print $var how can I do that? There is a simple parse php from
string option on Yii framework?

No comments:

Post a Comment