RE: [PHP-DEV] Resume of my problem
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: ?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 -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP-DEV] Resume of my problem
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 ); ? what the procedure to make this ? Dear Alexandre, A better forum for your question is the php-general mailing list. This list is for discussing the development *of* PHP. --zak -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP-DEV] Resume of my problem
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
RE: [PHP-DEV] Resume of my problem
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 -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php