hiphop-php /hphp/test/slow/ext_array/array_uintersect_vararg.php

Language PHP Lines 9
MD5 Hash 39e76692f5018772afcb5ce3dcc0eec2 Estimated Cost $104 (why?)
Repository git://github.com/facebook/hiphop-php.git View Raw File View Project SPDX
1
2
3
4
5
6
7
8
<?php

$array1 = array("a" => "green", "b" => "brown", "c" => "blue", "red");
$array2 = array("a" => "GREEN", "B" => "brown", "yellow", "red");
$array3 = array("a" => "grEEN", "white");

print_r(array_uintersect($array1, $array2, "strcasecmp"));
print_r(array_uintersect($array1, $array2, $array3, "strcasecmp"));
Back to Top