Post that on [EMAIL PROTECTED] Andrey
----- Original Message ----- From: "SenthilVelavan" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, August 02, 2002 10:54 AM Subject: [PHP] Reg- array_unique Hello All, I tried a program using array_unique.It shows different outputs in PHP4.06 and PHP4.22 Program : <?php $employee[0]='snp'; $employee[1]='snp'; $employee[2]='snp'; $yee=array_unique($employee); while(list($i,$c)=each($yee)) { echo "Index ".$i." Content".$c; } ?> Output : PHP4.06 Index 0 Content snp PHP4.22 Index 2 Content snp Why the index is differed in two version? Whether the function array_unique is handled in a different way in PHP4.22. Any help is appreciated. Advance thanks and regards, SenthilVelavan.P -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php