summaryrefslogtreecommitdiff
path: root/testobj
blob: 26ca69bf005b5138f6eb510c931c9149bf51b58e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<?

class foobar {
	function foobar() {
		print "foobar!\n";
		$this->initialized = 1;
	}
};

//$foo = new foobar or die("Unable to construct foobar\n");
$word = new COm("word.application");
$word->visible = true;
sleep(5);
$word->quit();