Array of COM objects doesn't work in PHP but does in ASP?
| From: | Noah | Date: | Wed, 29 May 2002 17:47:36 +0000 |
| Subject: | Array of COM objects doesn't work in PHP but does in ASP? | ||
| Groups: | php.general php.windows | ||
| Request: | Send a blank email to php-general+get-99951@lists.php.net to get a copy of this message | ||
Hey guys,
OK I favor PHP so far above ASP however it doesnt seem like PHP can
handle an array of COM Objects.
Here's the scenario:
Within the 'Deal' object contains an array of 'Bonds'.
I want to access each bond by doing: $comDeal->Bonds->Item[$i];
( btw Item is part of the com object to access each)
However i get this error: Warning: PropGet() failed: Invalid number of
parameters
In ASP I can do:
comDeal.Bonds.Item(i) and it works fine
Any suggestions?
Thanks!
- Noah