php-developer-list | 2002112
Date: 11/28/02
- Next message: Shane Caraveo: "Re: [PHP-DEV] C++ extensions and ext_skel"
- Previous message: J Smith: "[PHP-DEV] C++ extensions and ext_skel"
- In reply to: J Smith: "[PHP-DEV] C++ extensions and ext_skel"
- Next in thread: J Smith: "RE: [PHP-DEV] C++ extensions and ext_skel"
- Reply: J Smith: "RE: [PHP-DEV] C++ extensions and ext_skel"
- Reply: Sascha Schumann: "RE: [PHP-DEV] C++ extensions and ext_skel"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
AFAIK, PHP is designed to function on any standard ANSI-compatible C
compiler (as a goal). Unless this has changed, I don't know if opening
the door for C++ development is the best of ideas (IMHO)
John
>-----Original Message-----
>From: J Smith [mailto:dark_panda <email protected>]
>Sent: Thursday, November 28, 2002 5:25 PM
>To: php-dev <email protected>
>Subject: [PHP-DEV] C++ extensions and ext_skel
>
>
>
>A couple of times a month, I get questions about from people
>looking to use
>C++ with PHP. Apparently, a lot of people end up reading some post I
>C++ made
>to php.dev or something a year or so ago about C++, and
>although it worked
>at the time, the procedure I describe has become stale.
>
>I messed around a bit with ext_skel and ext/skeleton today and
>added an
>option to ext_skel (--cpp) that creates a basic C++ extension
>rather than
>the standard C extension. The C++ extension is pretty much the
>same as the
>standard C extension, with the exception of some extern "C" linkage,
>modifications to config.m4 and Makefile.in and a small C++
>class thrown in
>for fun.
>
>Would this be worth adding to PHP proper? I have patches available for
>4.2.3, but if it's worthy, I can whip it up for 4.3 or
>whatever. It'll save
>me some email bandwidth if it could be used.
>
>J
>
>--
>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
- Next message: Shane Caraveo: "Re: [PHP-DEV] C++ extensions and ext_skel"
- Previous message: J Smith: "[PHP-DEV] C++ extensions and ext_skel"
- In reply to: J Smith: "[PHP-DEV] C++ extensions and ext_skel"
- Next in thread: J Smith: "RE: [PHP-DEV] C++ extensions and ext_skel"
- Reply: J Smith: "RE: [PHP-DEV] C++ extensions and ext_skel"
- Reply: Sascha Schumann: "RE: [PHP-DEV] C++ extensions and ext_skel"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

