RE: [PHP-DEV] Resume of my problem

From: Date: Mon, 25 Mar 2002 02:41:36 +0000
Subject: RE: [PHP-DEV] Resume of my problem
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-81745@lists.php.net to get a copy of this message
erm, it would make more sense to use php: <?php $c = 1 + 2; print ("Value C is $c"); ?> > 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 ); > > print ( "Value c = $c "); > > > > ?> > > > > what the procedure to make this ? > > > > > > > > > > -- > > PHP Development Mailing List <http://www.php.net/> > > To unsubscribe, visit: http://www.php.net/unsub.php > > > > -- > PHP Development Mailing List <http://www.php.net/> > To unsubscribe, visit: http://www.php.net/unsub.php >

« previous php.dev (#81745) next »