[PHP-DEV] Undefined variables as extension args

2003-06-05 Thread Hans Zaunere
Hello, Please forgive me if this question is redundant, but I've searched high and low to no avail. As a PHP extension, I'm writing a ZEND_FUNCTION(myfunc) that needs to accept two variables from PHP land, fill in two values (longs) and then return TRUE or FALSE. Briefly: ZEND_FUNCTION(ncurse

Re: [PHP-DEV] Undefined variables as extension args

2003-06-05 Thread Wez Furlong
in the function table, you need to force those parameters to be passed by reference. PHP_FE(ncurses_getyx, first_and_second__args_force_ref) For an example of this, take a look at the headers_sent function entry in ext/standard/basic_functions.c --Wez. On Wed, 4 Jun 2003, Hans Zaunere wrote: >