Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:11309 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 96501 invoked by uid 1010); 17 Jul 2004 08:00:57 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 96338 invoked from network); 17 Jul 2004 08:00:56 -0000 Received: from unknown (HELO mail.bytecamp.net) (212.204.60.9) by pb1.pair.com with SMTP; 17 Jul 2004 08:00:56 -0000 Received: (qmail 76583 invoked by uid 88); 17 Jul 2004 08:00:55 -0000 Received: from p5480891f.dip.t-dialin.net (HELO linux.mshome.net) (christian-kienle%losg.org@84.128.137.31) by mail.bytecamp.net with SMTP; 17 Jul 2004 08:00:55 -0000 Reply-To: Christian-Kienle@losg.org To: internals@lists.php.net Date: Sat, 17 Jul 2004 10:00:17 +0200 User-Agent: KMail/1.6.2 MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Message-ID: <200407171000.19954.Christian-Kienle@losg.org> Subject: Write a PHP function in C From: Christian-Kienle@losg.org ("Christian-Kienle@losg.org") Hi, sometimes I miss some functions in PHP. Most of the times I write this function in PHP and put this function(s) in a extra file and include this file in every project I have. Now I want to write those functions I have collected over years in C. 1. for training 2. that i don't need to include my files where my functions are in every time. 3. for more performance? So - how can I do this? I have good C/C++ knowledges. I had a look at google, the PHP site and at the source code of PHP - but I found nothing. I am looking for a little HowTo/Tutorial how am I able to add new features to PHP - perhaps as a module (dont know if it is possible) or as a lib or as something else.. .:) Greets and TIA Christian