Is it illegal in your country to throw the food away? - eviltoast

Apparently in France it is. Is there any other country that has this type of law implemented? Mandatory donations or something of the sort?