a='foo'; } function __construct($bar){ $this->a=$bar; } } $test = new Thing(); ?>