note 101052 deleted from functions.returning-values by danbrown
| From: | danbrown@php.net | Date: | Tue, 23 Nov 2010 15:09:57 +0000 |
| Subject: | note 101052 deleted from functions.returning-values by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-174288@lists.php.net to get a copy of this message | ||
Note Submitter: amid at mail dot com
----
<?php
function funcia($a,$b){
for($i=0; $i<count($a); $i++) $x[$i] = $a[$i].'a';
for($i=0; $i<count($b); $i++) $y[$i] = $b[$i].'b';
return array($x,$y);
}
$a = array('a0','a1','a2');
$b = array('b0','b1','b2');
print_r(funcia($a,$b));
?>