Skip to content

Instantly share code, notes, and snippets.

@wowo
Last active Feb 25, 2019
Embed
What would you like to do?
$poundToEuro = (float) simplexml_load_file('https://www.ecb.europa.eu/stats/eurofxref/eurofxref-daily.xml')->xpath("//*[@currency='GBP']")[0]['rate'];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment