class Obj
{
public $test;
function cf()
{
$this->test = create_function( '', 'echo "Testing";' );
}
}
$o = new Obj;
$o->cf();
$o->{$test};
php create function
Leave a Reply
You must be logged in to post a comment.
class Obj
{
public $test;
function cf()
{
$this->test = create_function( '', 'echo "Testing";' );
}
}
$o = new Obj;
$o->cf();
$o->{$test};
You must be logged in to post a comment.