note 101052 added to functions.returning-values
| From: | amid at mail dot com | Date: | Tue, 23 Nov 2010 14:56:33 +0000 |
| Subject: | note 101052 added to functions.returning-values | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-174284@lists.php.net to get a copy of this message | ||
<?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));
?>
----
Server IP: 92.48.119.85
Probable Submitter: 92.100.181.33
----
Manual Page -- http://www.php.net/manual/en/functions.returning-values.php
Edit -- https://master.php.net/note/edit/101052
Del: integrated -- https://master.php.net/note/delete/101052/integrated
Del: useless -- https://master.php.net/note/delete/101052/useless
Del: bad code -- https://master.php.net/note/delete/101052/bad+code
Del: spam -- https://master.php.net/note/delete/101052/spam
Del: non-english -- https://master.php.net/note/delete/101052/non-english
Del: in docs -- https://master.php.net/note/delete/101052/in+docs
Del: other reasons-- https://master.php.net/note/delete/101052
Reject -- https://master.php.net/note/reject/101052
Search -- https://master.php.net/manage/user-notes.php