Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- echo "<strong>Countries:</strong>", nl2br("\n");
- $countries = [
- 'SPAIN' => ['EUR', 'ES'],
- 'USA' => ['USD', 'EN'],
- 'ECUADOR' => ['USD', 'ES'],
- 'CUBA' => ['CUC', 'ES'],
- 'FRANCE' => ['EUR', 'FR']
- ];
- foreach ($countries as $countryName => [$currency, $lang]) {
- echo "<strong>Country: </strong> $countryName, <strong>Currency: </strong> $currency, <strong>Language: </strong> $lang";
- echo nl2br("\n");
- }
Add Comment
Please, Sign In to add comment