Re: [PHP-DEV] C++ Class Wrapping

2002-04-15 Thread J Smith


Of course. Use extern C style bindings and such.

J


Ken Egervari wrote:

 Can you use C++ however?  I'm very interested in writing/using a standard
 w3c binding for DOM XML
 


-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP-DEV] C++ Class Wrapping

2002-04-14 Thread David Eriksson

On Sat, 13 Apr 2002, medvitz wrote:

 
 
 Is there a way to wrap existing c++ classes into a PHP class (via an 
 extension) ?

You may want to look at the Universe PHP extension. It is 90% C++ code.

  http://universe.2good.nu

It contains a special part called Zpp to create a PHP class with a C++
class.

Regards,

-\- David Eriksson -/-

I personally refuse to use inferior tools because of ideology.
- Linus Torvalds 


-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP-DEV] C++ Class Wrapping

2002-04-13 Thread medvitz



Is there a way to wrap existing c++ classes into a PHP class (via an 
extension) ?


Medvitz


-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP-DEV] C++ Class Wrapping

2002-04-13 Thread Daniel Lorch

Hi,

 Is there a way to wrap existing c++ classes into a PHP class (via an 
 extension) ?

This usually happens by writing an extension for PHP, although C is
the common language to do this:

  http://www.php.net/manual/en/zend.php

-daniel



-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP-DEV] C++ Class Wrapping

2002-04-13 Thread Ken Egervari

Can you use C++ however?  I'm very interested in writing/using a standard
w3c binding for DOM XML

- Original Message -
From: Daniel Lorch [EMAIL PROTECTED]
To: medvitz [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Saturday, April 13, 2002 7:08 PM
Subject: Re: [PHP-DEV] C++ Class Wrapping


 Hi,

  Is there a way to wrap existing c++ classes into a PHP class (via an
  extension) ?

 This usually happens by writing an extension for PHP, although C is
 the common language to do this:

   http://www.php.net/manual/en/zend.php

 -daniel



 --
 PHP Development Mailing List http://www.php.net/
 To unsubscribe, visit: http://www.php.net/unsub.php




-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP-DEV] C++ Class Wrapping

2002-04-13 Thread Ken Egervari

Can you use C++ however?  I'm very interested in writing/using a standard
w3c binding for DOM XML

- Original Message -
From: Daniel Lorch [EMAIL PROTECTED]
To: medvitz [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Saturday, April 13, 2002 7:08 PM
Subject: Re: [PHP-DEV] C++ Class Wrapping


 Hi,

  Is there a way to wrap existing c++ classes into a PHP class (via an
  extension) ?

 This usually happens by writing an extension for PHP, although C is
 the common language to do this:

   http://www.php.net/manual/en/zend.php

 -daniel



 --
 PHP Development Mailing List http://www.php.net/
 To unsubscribe, visit: http://www.php.net/unsub.php




-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP-DEV] C++ Class Wrapping

2002-04-13 Thread Stig S. Bakken

Sure you can.  Take a look at for example ext/dotnet/dotnet.cpp.

 - Stig

On Sun, 2002-04-14 at 02:02, Ken Egervari wrote:
 Can you use C++ however?  I'm very interested in writing/using a standard
 w3c binding for DOM XML
 
 - Original Message -
 From: Daniel Lorch [EMAIL PROTECTED]
 To: medvitz [EMAIL PROTECTED]
 Cc: [EMAIL PROTECTED]
 Sent: Saturday, April 13, 2002 7:08 PM
 Subject: Re: [PHP-DEV] C++ Class Wrapping
 
 
  Hi,
 
   Is there a way to wrap existing c++ classes into a PHP class (via an
   extension) ?
 
  This usually happens by writing an extension for PHP, although C is
  the common language to do this:
 
http://www.php.net/manual/en/zend.php
 
  -daniel
 
 
 
  --
  PHP Development Mailing List http://www.php.net/
  To unsubscribe, visit: http://www.php.net/unsub.php
 
 
 
 
 -- 
 PHP Development Mailing List http://www.php.net/
 To unsubscribe, visit: http://www.php.net/unsub.php


-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php