I have a multi dimension array and it was working fine with PHP 5.2 and now it is not working with php 5.5.9. I debugged and find out that array_unique is not working . This is my code
array_push($import, $importtime, $regions);
array_push($imports, $import);
$imports = array_unique($imports);
foreach ($imports as $imp)
{
}
When I print_r impots before array unique, it is showing correct data but when I do print_r after array unique, it is not showing the data. Any idea?