Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:8416 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 90490 invoked by uid 1010); 7 Mar 2004 11:36:10 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 90466 invoked from network); 7 Mar 2004 11:36:09 -0000 Received: from unknown (HELO virt-216-40-198-51.ev1servers.net) (216.40.198.51) by pb1.pair.com with SMTP; 7 Mar 2004 11:36:09 -0000 Received: from chameleoncode.jp (dh.quantumrain.net [216.220.0.200]) (authenticated) by virt-216-40-198-51.ev1servers.net (8.10.2/8.10.2) with ESMTP id i27BYlg24199; Sun, 7 Mar 2004 05:34:47 -0600 Message-ID: <404B0919.7010408@chameleoncode.jp> Date: Sun, 07 Mar 2004 04:35:53 -0700 User-Agent: Mozilla Thunderbird 0.5 (Windows/20040207) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Wez Furlong , internals@lists.php.net References: <40465651.7020101@chameleoncode.jp> <01a201c403a6$09014870$8a02a8c0@tron> In-Reply-To: <01a201c403a6$09014870$8a02a8c0@tron> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Perl extension From: dan@chameleoncode.jp (Daniel Daley) Wez Furlong wrote: >So you totally missed the completely new COM and .Net support in PHP 5 ? :-) > > > As far as I've seen the new COM support has yet to allow for setting properties with arguments and as the equivalent asp syntax is not valid php syntax I'm pretty sure it would require a new function in order to implement it. Example ASP syntax: Set comobj = Server.CreateObject("MyComLib.ComLib") comobj.Property("Record") = "otherdata" PHP Syntax: $comobj = &new COM('MyComLib.ComLib'); $comobj->Property("Record") = "otherdata"; // This will fail The last line will fail with PHP Fatal error: Can't use method return value in write context If you do know of a way to do this with native PHP COM support I'd love to use it instead. Thanks, --Dan--