Jesse Guardiani wingnet.net> writes:
>
> Hello,
>
> I have an old version of php (4.3.2) that is acting rather strangely. I'm
> searching two large arrays (approx 22,000 records in each) using
> array_diff_key() from the PEAR PHP_Compat library:
>
> $result = $args[0];
> foreac
Their should be no problem with what your trying to do, try the
following function, should act pretty much like array_diff();
if(!function_exists('array_diff')) {
function array_diff($array1, $array2)
{
$difference = array();
foreach($array1 as $key => $value)
2 matches
Mail list logo