diff options
| author | Zeev Suraski <zeev@php.net> | 1999-05-28 11:09:39 +0000 |
|---|---|---|
| committer | Zeev Suraski <zeev@php.net> | 1999-05-28 11:09:39 +0000 |
| commit | 7a167cd0c1f6ee7c0dce0196b5ca9209a54f534c (patch) | |
| tree | 93bd58936ab1c7d70e8641f5c02667e37477e775 /testobj | |
| parent | f1f4e6f478450a3398817fd55c647c9277944609 (diff) | |
| download | php-git-7a167cd0c1f6ee7c0dce0196b5ca9209a54f534c.tar.gz | |
* 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.
Diffstat (limited to 'testobj')
| -rw-r--r-- | testobj | 17 |
1 files changed, 11 insertions, 6 deletions
@@ -1,9 +1,14 @@ <? -//$a = new TestClass; -$a->foo = 5; -$foo = 456; +class foobar { + function foobar() { + print "foobar!\n"; + $this->initialized = 1; + } +}; -print $a->foobar[2]["testing 123".$foo]->barbara."\n"; -print "---\n"; -$a->foobar[2]["testing 123".$foo]->barbara=5;
\ No newline at end of file +//$foo = new foobar or die("Unable to construct foobar\n"); +$word = new COm("word.application"); +$word->visible = true; +sleep(5); +$word->quit(); |
