Hi This is probably a stupid question, but I can't figure it out. I've been trying to search the PHP site for an answer without luck.
I want to return results in an array from an extension. The array may or may not be defined. The array may or may not contain values. The PHP function could be something like function modarray(&$inoutarray) { if (!isset($inoutarray)) { $inoutarray = array(); } $inoutarray[] = newval1; $inoutarray[] = newval2; } How do I do that in an extension? I want to adhere to the recommendation that allow_call_time_pass_reference should be off. -Ole -- ______________________________________ Konsulentfirmaet Ole Stakemann ApS Fortunvej 55 DK-2920 Charlottenlund Denmark e-mail: [EMAIL PROTECTED] Phone: +45 39 64 10 68 Fax: +45 39 64 10 67 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php