note 58894 rejected from function.array-intersect-assoc by dmytton
| From: | dmytton@php.net | Date: | Sat, 19 Nov 2005 17:53:21 +0000 |
| Subject: | note 58894 rejected from function.array-intersect-assoc by dmytton | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-98813@lists.php.net to get a copy of this message | ||
Note Submitter: net_navard at yahoo dot com
----
Hello firends
I think it is better to add print_r($result_array);
to the code in example:
<?php
$array1 = array("a" => "green", "b" => "brown",
"c" => "blue", "red");
$array2 = array("a" => "green", "yellow", "red");
$result_array = array_intersect_assoc($array1, $array2);
print_r($result_array);
?>
Then everyone will read manually can run this code and see resualt easily(He can undersatnd better
this function)
With Regards
Amir Hossein Estakhrian