I am assuming that he is making a very simple example for something much
larger, written in C.
> erm, it would make more sense to use php:
>
>
> $c = 1 + 2;
>
> print ("Value C is $c");
>
> ?>
>
>
>> You need to make an extension. Look in the ext/ directory. Those are
>> all PHP extensi
erm, it would make more sense to use php:
> You need to make an extension. Look in the ext/ directory. Those are all
> PHP extensions.
>
> > HI,
> >
> > I have a functino write in c, like as:
> >
> > void addvalue ( int a, int b, int *c )
> > {
> > *c = a + b;
> > }
> >
> >
You need to make an extension. Look in the ext/ directory. Those are all
PHP extensions.
> HI,
>
> I have a functino write in c, like as:
>
> void addvalue ( int a, int b, int *c )
> {
> *c = a + b;
> }
>
>in php
>
>
> phpinclude ("alexlib");
> addvalue ( 1, 2, c );
>
On March 25, 2002 01:50, Alexandre Soares wrote:
> HI,
>
> I have a functino write in c, like as:
>
> void addvalue ( int a, int b, int *c )
> {
> *c = a + b;
> }
>
>in php
>
>
> phpinclude ("alexlib");
> addvalue ( 1, 2, c );
> print ( "Value c = $c ");
>
> ?>
>
> wh