for($r=0;$r < count($playersPool);$r++){
if(in_array($playersPool[$r]['id'], $excludedPlayers)){
Schema::writeToLog('player removed: '.$playersPool[$r]['id']);
unset($playersPool[$r]);
}
}
$playersPool = array_values($playersPool);
for($g = 0;$g < count($playersPool);$g++){
$logstring.= $playersPool[$g]['id'].', ';
}
Schema::writeToLog('new playersPool: '.$logstring);
В результате:

ничего не было удалено!
исключенные игроки и пример пула игроков:
array(1) {
[0]=>
int(26)
}
array(9) {
[0]=>
array(20) {
["id"]=>
int(26)
["tournament"]=>
int(4)
["player"]=>
int(26)
["no_of_assigned_matches"]=>
int(1)
}
}
Подробнее здесь: https://stackoverflow.com/questions/798 ... not-change
Мобильная версия