<?php $arr =[ 'TEAM1' => 113.03, 'TEAM2' => 103.52, ]; $str = 'TEAM2'; $notTeam2 = array_diff_keys($arr, [$str => null]); var_dump($notTeam2);
You have javascript disabled. You will not be able to edit any code.