I am using the answer found at https://stackoverflow.com/a/25749660 in order to sort the $_SERVER['HTTP_ACCEPT_LANGUAGE']
array by the most preferred language.
In that answer (which is working great by the way), one line is:
list($a, $b) = explode('-', $match[1]) + array('', '');
Within PhpStorm, I get the following error for that line:
"Unused local variable $b: The value of the variable is overwritten immediately".
I'm a little confused as to what this line is doing exactly, so I don't know if I should just keep it the same, or if I should modify it to:
list($a) = explode('-', $match[1]) + array('', '');
... which also seems to be working fine.
Should it be changed?