array_walk($uArr, function(&$v, &$k) { $k = str_replace('user_', '', $k); });