Lopp trough key value duplicates in sub array : I'm trying to loop trough a simple array of arrays, then if I find duplicates of `'id'` value in a sub array, loop trough them.

This can be obvious for you but I can't find a simple way to do this. Any ideas?

    $records = array(
        array(
            'id' => 2135,
        ),
        array(
            'id' => 2135,
        ),
        array(
            'id' => 5342,
        ),
        array(
            'id' => 5623,
        ),
        array(
            'id' => 5342,
        )
    );