Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:41937 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 93273 invoked from network); 16 Nov 2008 08:27:27 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 16 Nov 2008 08:27:27 -0000 Authentication-Results: pb1.pair.com smtp.mail=mozo@mozo.jp; spf=permerror; sender-id=permerror Authentication-Results: pb1.pair.com header.from=mozo@mozo.jp; sender-id=permerror Received-SPF: error (pb1.pair.com: domain mozo.jp from 209.85.221.20 cause and error) X-PHP-List-Original-Sender: mozo@mozo.jp X-Host-Fingerprint: 209.85.221.20 mail-qy0-f20.google.com Received: from [209.85.221.20] ([209.85.221.20:52615] helo=mail-qy0-f20.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id F9/40-21829-B69DF194 for ; Sun, 16 Nov 2008 03:27:24 -0500 Received: by qyk13 with SMTP id 13so232161qyk.23 for ; Sun, 16 Nov 2008 00:27:20 -0800 (PST) Received: by 10.214.11.20 with SMTP id 20mr1938247qak.77.1226824039069; Sun, 16 Nov 2008 00:27:19 -0800 (PST) Received: by 10.215.101.9 with HTTP; Sun, 16 Nov 2008 00:27:19 -0800 (PST) Message-ID: Date: Sun, 16 Nov 2008 17:27:19 +0900 To: "Chris Jiang" Cc: internals@lists.php.net In-Reply-To: <26.62.61433.8B6EE194@pb1.pair.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <26.62.61433.8B6EE194@pb1.pair.com> Subject: Re: [PHP-DEV] Extending PHP with C++ (Newbie Question) From: mozo@mozo.jp ("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 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 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 newbies like myself. > > Yes, I've searched quite carefully on the search engine and the achive of > this mailing list. End up finding a really old (posted in 2004) thread by > someone signed as 'J', directing to a link sort of like > http://tutorbuddy.com/software/phpcpp. I guess this might be what I need, > but the article seems already out of date. I've found a translated version > of this article, and made a testing extension following the instructions, > however it didn't work. > > The article was written for PHP 4.2.X, and the sample code is missing (the > link is broken). I'm currently working with PHP 5.2.5. Is it because PHP > 5.2.5 is really different with 4.X? Or the document was not properly > translated? > > Can someone be so kind to point me an URL of this original article? > > Thank you all! > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > >