Extending PHP and the STL
| From: | Jason Lee | Date: | Fri, 12 Jan 2001 17:00:45 +0000 |
| Subject: | Extending PHP and the STL | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-43891@lists.php.net to get a copy of this message | ||
I'd like to write a module for PHP so that we can, from our PHP scripts, talk to our servers using our home grown communication library. My concern is that documentation says to use emalloc(), estrdup(), and efree(). Our code uses the STL quite heavily. Beyond getting past the C++ to C linker issues (extern "C" { ), will the STL cause memory problems? Is this the right forum for this kind of question? Thanks!
--
Jason Lee | "Gun control? Oh, great. Now how am I going to
Programmer Analyst | well-regulate my militia?" -- The Onion