Re: [PHP-DEV] Extending PHP with C++ (Newbie Question)

2008-11-16 Thread Chris Jiang
Hey! That totally rocks! Thank you very much for this info. I'm really having nightmare with C in Zend Style during the entire weekend. A function works fine in pure GCC compiling mode but returns weird result in Zend Style. Moriyoshi Koizumi wrote: Hey, Don't forget to have a look at Boost

Re: [PHP-DEV] Extending PHP with C++ (Newbie Question)

2008-11-16 Thread Moriyoshi Koizumi
Hey, Don't forget to have a look at Boost.PHP :) http://github.com/moriyoshi/boost.php/wikis Moriyoshi On Sun, Nov 16, 2008 at 12:11 AM, Chris Jiang <[EMAIL PROTECTED]> wrote: > Hi all, it's my first time posting in this mailing list. > > I've been trying to make a PHP extension for my project,

Re: [PHP-DEV] Extending PHP with C++ (Newbie Question)

2008-11-15 Thread Chris Jiang
Thank you all for the reply. I guess I'll take a look at those document and samples, start playing around with it a bit. :D -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Extending PHP with C++ (Newbie Question)

2008-11-15 Thread Pierre Joye
hi, Take a look in pecl/rar for an example of a c++ based extension (or some other pecl extensions) On Sat, Nov 15, 2008 at 4:11 PM, Chris Jiang <[EMAIL PROTECTED]> wrote: > Hi all, it's my first time posting in this mailing list. > > I've been trying to make a PHP extension for my project, and w

Re: [PHP-DEV] Extending PHP with C++ (Newbie Question)

2008-11-15 Thread Paul Biggar
Hi Chris, On Sat, Nov 15, 2008 at 3:11 PM, Chris Jiang <[EMAIL PROTECTED]> wrote: > I've been trying to make a PHP extension for my project, and would really > like to use C++ instead of C to write the code. I've been searching for some > tutoral or manual for some time already, but not so lucky f

[PHP-DEV] Extending PHP with C++ (Newbie Question)

2008-11-15 Thread Chris Jiang
Hi all, it's my first time posting in this mailing list. I've been trying to make a PHP extension for my project, and would really like to use C++ instead of C to write the code. I've been searching for some tutoral or manual for some time already, but not so lucky fining anything useful for n