Basically what I need is to push a large set of strings to SplObjectStorage and if each string doesn't exist do some kind of action, if it does exist do other action.
$o1->id = '11111';
$s->attach($o1);
$o1->id = '22222';
$s->attach($o1);
I only get 22222 in the object, or it overwrites the object. I need to get both, And if they match just one of them. I need to get distinct values of my strings