Is this possible? I am trying to use PHP as a front end to a C program. What I really want to do is write my algorithims in C and call these functions from PHP and return answers I can display on the web page. Currently I have my program set up to work with my custom matrix classes.
Class Matrix{
var $width;
var $heigth;
var $a;
Matrix(){
$a=array()();
}
}
Can I pass this directly to C? I would also like to be able to show intermediate states by calling my PHP display function from C, can I do this? Thank you all in advance.