E_STRICT in php5.4 for reference types.

In admin/woocommerce-admin-settings.php, line 839:

$state = end(explode(':', $country_setting));

end variable is by reference.

This causes an error:
Strict Standards: Only variables should be passed by reference in...
From Version 5.4 and up since E_STRICT is now part of E_ALL ...

A workaround is:
error_reporting(E_ALL ^ E_STRICT);

Should a temp variable take place?