Hi! > function multi() { > return 10, 20; > };
This can be done with: function multi() { return [10, 20]; } list($x, $y) = multi(); However, sum() won't work this way: > echo sum(multi()); // echoes 30 But can work this way: call_user_func_array("sum", multi()); -- Stanislav Malyshev, Software Architect SugarCRM: http://www.sugarcrm.com/ (408)454-6900 ext. 227 -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php