Re: Instantiating Objects ?
| From: | brad lafountain | Date: | Thu, 13 Jun 2002 17:30:59 +0000 |
| Subject: | Re: Instantiating Objects ? | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-85196@lists.php.net to get a copy of this message | ||
There is no transpartent way of creating a c++ object from php. What you can do
is create a php extension that will proxy the calls to your c++ object. Once
you do that you can pass anything into your c++ class (querystring).
take a look at ext/* in the souce distribution.
- brad
--- Kevin Caporaso <kcaporaso@pillardata.com> wrote:
> Is it possible to instantiate an object from one of my c++ shared libraries
> (goo.so) and then call methods on that object?
>
> How efficient is PHP's way of doing it? (if possible)
> Also, can I pass things like the querystring and form data into that
> instantiated object?
>
> Thanks for any response!
> $Kevin
>
>
>
> --
> PHP Development Mailing List <http://www.php.net/>
> To unsubscribe, visit: http://www.php.net/unsub.php
>
__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com