[PHP4BETA] CVS update: php4
| From: | zeev | Date: | Fri, 28 May 1999 11:09:38 +0000 |
| Subject: | [PHP4BETA] CVS update: php4 | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-1145@lists.php.net to get a copy of this message | ||
Date: Friday May 28, 1999 @ 7:09
Author: zeev
Update of /repository/php4
In directory php:/tmp/cvs-serv4149
Modified Files:
main.c testobj
Log Message:
* 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.
Index: php4/main.c
diff -u php4/main.c:1.65 php4/main.c:1.66
--- php4/main.c:1.65 Thu May 27 23:54:15 1999
+++ php4/main.c Fri May 28 07:09:36 1999
@@ -29,7 +29,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: main.c,v 1.65 1999/05/28 03:54:15 rasmus Exp $ */
+/* $Id: main.c,v 1.66 1999/05/28 11:09:36 zeev Exp $ */
#include <stdio.h>
@@ -701,8 +701,8 @@
shutdown_scanner(CLS_C);
- shutdown_compiler(CLS_C);
shutdown_executor(ELS_C);
+ shutdown_compiler(CLS_C);
sapi_deactivate(SLS_C);
Index: php4/testobj
diff -u php4/testobj:1.1.1.1 php4/testobj:1.2
--- php4/testobj:1.1.1.1 Wed Apr 7 17:02:47 1999
+++ php4/testobj Fri May 28 07:09:36 1999
@@ -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();
--
PHP 4 Beta