Jump to content

Archived

This topic is now archived and is closed to further replies.

arne_anka

[C++]: create php-array w/ c++

Recommended Posts

hi,
does anybody know an example or howto, describing how to create a php-array from c++?
i need to read a textfile w/ c++, process it and give the results to php. the easiest way would imo be, to put the results in php-arrays and simply call unserialize() in php.

any (other) ideas?

Share this post


Link to post
Share on other sites
A php extension would be ideal for this, but I think php extensions are C only, not C++ .. can anyone confirm this?  The documentation for them is here:

http://www.zend.com/php/internals/index.php

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.