Artifact [0369479b7a]
Artifact 0369479b7a66db51a9ec54c6547cf4db9207bbf3:
- File doc/tests1all/array_diff_assoc.phpt — part of check-in [51e3884900] at 2010-06-22 17:03:27 on branch trunk — upgradephp-15 (user: mario size: 533)
--TEST-- array_diff_assoc --FILE-- <?php ?> $a = array(5=>5, 14=>10000, "ccc"=>555, 555); $b = array(5=>5, 13=>10000, 15=>555); $res = array_diff_assoc($a, $b); print_r($res); <?php $a = array(5=>5, 14=>10000, "ccc"=>555, 555); $b = array(5=>5, 13=>10000, 15=>555); $res = array_diff_assoc($a, $b); print_r($res); ?> --EXPECT-- $a = array(5=>5, 14=>10000, "ccc"=>555, 555); $b = array(5=>5, 13=>10000, 15=>555); $res = array_diff_assoc($a, $b); print_r($res); Array ( [14] => 10000 [ccc] => 555 )