Lets say I have:
$a = "5,8,0";
$b = "8,0,5";
How to compare them while a regular comparison will fail, the comma separator will always be there but the order of the elements (which are ids of products so they are always integers) don’t have to be the same (the order).
Any idea about how to do this in PHP?
Split them into individual arrays, and then compare the two arrays.