Re: *EXPERIMENTAL* Zend OO extension for Microsoft.Net
| From: | Sam Ruby | Date: | Sat, 26 Aug 2000 21:32:45 +0000 |
| Subject: | Re: *EXPERIMENTAL* Zend OO extension for Microsoft.Net | ||
| References: | 1 2 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-30789@lists.php.net to get a copy of this message | ||
"André Langhorst" <waldschrott@php.net> wrote in message
news:39A82727.30109@php.net...
>
> can you give a sneak preview what it can do, thus one can guess
> if it´s worth playing with it?
> or point to some URL?
To be honest, I'm not sure ;-)
Given a name of an assembly and any public DotNet class with a default
constructor, you can create an instance and invoke methods on the object.
Below is a working example:
<?
$stack = new DOTNET("mscorlib","System.Collections.Stack");
$stack->Push(".Net");
$stack->Push("Hello ");
echo $stack->Pop() . $stack->Pop();
?>