Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:8417 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 89773 invoked by uid 1010); 7 Mar 2004 13:18:53 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 89738 invoked from network); 7 Mar 2004 13:18:52 -0000 Received: from unknown (HELO mx.thebrainroom.net) (65.200.24.98) by pb1.pair.com with SMTP; 7 Mar 2004 13:18:52 -0000 Received: by mx.thebrainroom.net (Postfix, from userid 517) id 9490E148808A; Sun, 7 Mar 2004 05:18:44 -0800 (PST) Received: from tron (zaneeb.thebrainroom.net [82.133.1.138]) by mx.thebrainroom.net (Postfix) with ESMTP id F1A7F1488087; Sun, 7 Mar 2004 05:18:37 -0800 (PST) Message-ID: <01b801c40447$eb7fd8f0$8a02a8c0@tron> To: "Daniel Daley" , Cc: "Andi Gutmans" References: <40465651.7020101@chameleoncode.jp> <01a201c403a6$09014870$8a02a8c0@tron> <404B0919.7010408@chameleoncode.jp> Date: Sun, 7 Mar 2004 13:27:18 -0000 Organization: The Brain Room Ltd. MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 X-Spam-Status: No, hits=-1.0 required=5.0 tests=AWL,BAYES_30,QUOTED_EMAIL_TEXT,REFERENCES version=2.55 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp) X-TBR-Filter: Virus scanned and defanged Subject: Re: [PHP-DEV] Perl extension From: wez@thebrainroom.com ("Wez Furlong") Ahh, this problem. Andi: remember that we discussed this in the past? Is a solution possible using the get_property_ptr object handlers, or not possible at all? --Wez. ----- Original Message ----- From: "Daniel Daley" To: "Wez Furlong" ; Sent: Sunday, March 07, 2004 11:35 AM Subject: Re: [PHP-DEV] Perl extension > 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-- > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > > >