i have seen the defined RETURN_* and RETVAL_* macros and have used them successfully,
but i am curious about how to return an array (specifically an array of strings) from
a function. RETURN_STRING does not seem to work.
for example, the builtin 'stat' function returns an array of values. i am looking to
implement a similar function.
Thank you.
have a look at php-4.3.1/ext/standard/file.c from the php source.
the function on line 1922 "(PHP_NAMED_FUNCTION(php_if_fstat)" is
a good example.
Bob
--
B. Johannessen sip:b...@h.db.org
b...@db.org tel:+47 33314030
http://db.org/ fax:+47 33313846
E9D4 D43C A6AE 80D8 98C8 878F A288 AC53 230E 1658 mob:+47 97152009
See the note about complex types at the bottom of this page: