Re: [PHP4BETA] Is there an equivalent to GetObject() in PHP4?
| From: | T.R.Tielkes | Date: | Mon, 16 Aug 1999 19:43:41 +0000 |
| Subject: | Re: [PHP4BETA] Is there an equivalent to GetObject() in PHP4? | ||
| References: | 1 2 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-3459@lists.php.net to get a copy of this message | ||
Just one more autoreply: why do I get:
Parse error: parse error in D:\www\demo.php4 on line 11
when trying to do this:
$test = new COM("MyProgId");
print( $test->getClass()->toString() );
?
This code works in ASP and WSH:
<%
Dim test
test = Server.CreateObject("MyProgId");
%>
<%= test.getClass().toString() %>
btw Great job, guys! (this COM interface)