note 10740 rejected and deleted from array_intersect by zak

From: Date: Fri, 19 Jan 2001 23:03:05 +0000
Subject: note 10740 rejected and deleted from array_intersect by zak
Groups: php.notes 
Request: Send a blank email to php-notes+get-9983@lists.php.net to get a copy of this message
array_intersect() only seems to work when the values are 16 char or less... <? // this doesnt work $test_a[] = '974806802083190501'; $test_a[] = '974806802083190503'; $test_a[] = '974806802083190504'; $test_b[] = '974806802083190501'; $new_array = array_intersect($test_a, $test_b); print_r($new_array); ?> <? // this does works $test_a[] = '4806802083190501'; $test_a[] = '4806802083190503'; $test_a[] = '4806802083190504'; $test_b[] = '4806802083190501'; $new_array = array_intersect($test_a, $test_b); print_r($new_array); ?> php4.0.4pl1 Chris Lee Mediawaveonline.com

« previous php.notes (#9983) next »