Last active
February 25, 2019 20:04
-
-
Save wowo/b34ec3985437c2f3d09a7f3e4eb1cdc5 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$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