All pastes #469333 Raw Edit

k4st

public php v1 · immutable
·published 2007-05-03 17:55 UTC
rendered paste body
class Foo{	public $bar = 'hi';}$foo = new Foo;$anon = C(get_defined_vars(), '')->scope('	$foo->bar = "hello";');$anon->call();var_dump($foo);// gives: object(Foo)#1 (1) { ["bar"]=>  string(5) "hello" }