php-src/testobj
Zeev Suraski 7a167cd0c1 * Use new Zend macros for standardized definition of classes.
* Reverse bogus shutdown order.
* Use the new object/class support of Zend to make the dir functions work again.
1999-05-28 11:09:39 +00:00

15 lines
239 B
Plaintext

<?
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();