Sure there is. In a set, you can't have repeated values. PHP arrays can. Of course, you can implement a set using a PHP array.
My point, which was apparently lost, is that the underlying implementation of these structures is the same in PHP.
Sure there is. In a set, you can't have repeated values. PHP arrays can. Of course, you can implement a set using a PHP array.