note 60865 added to language.operators.array
| From: | puneetsingh at value-onedotcom | Date: | Wed, 18 Jan 2006 18:42:58 +0000 |
| Subject: | note 60865 added to language.operators.array | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-102039@lists.php.net to get a copy of this message | ||
hi just see one more example of union....
<?php
$a = array(1,2,3);
$b = array(1,7,8,9,10);
$c = $a + $b; // Union of $a and $b
echo "Union of \$a and \$b: \n";
//echo $c
print_r($c);
?>
//output
Union of $a and $b: Array ( [0] => 1 [1] => 2 [2] => 3 [3] => 9 [4] => 10 )
----
Server IP: 203.199.107.94Probable Submitter: 203.122.14.137 (proxied: 192.168.10.32)
----
Manual Page -- http://www.php.net/manual/en/language.operators.array.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+60865
Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+60865&report=yes&reason=added+to+the+manual
Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+60865&report=yes&reason=bad+code
Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+60865&report=yes&reason=spam
Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+60865&report=yes&reason=useless
Delete: non-english -- http://master.php.net/manage/user-notes.php?action=delete+60865&report=yes&reason=non-english
Delete: already in docs -- http://master.php.net/manage/user-notes.php?action=delete+60865&report=yes&reason=already+in+docs
Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+60865&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+60865&report=yes
Search -- http://master.php.net/manage/user-notes.php