Hi -
        I'm just getting into writing my own PHP extension and have a
question I can't find the answer to.

Let's say I've written an extension that has a "double_number" function
which acts like the following in PHP

$n = 10;
double_number(&$n);
// $n = 20;

In my extension do I need to use a zval for my argument in order to change
it's value?  That seems to be the only way, but I'm not sure.  If not, got
a code snippet?

Thanks!

-philip

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to