...

/

Challenge: Formatter and Hash Generators with Updated Functions

Challenge: Formatter and Hash Generators with Updated Functions

A hands-on exercise to test your understanding of PHP 8’s deprecated or removed functionalities.

This challenge will extensively test your understanding of PHP 8’s deprecated or removed functionalities.

Task 1

  • Create a PHP script that formats a monetary amount in different locales.

  • Set the monetary locale to Japan, Germany, France, and the United Kingdom and format a given amount accordingly.

Instructions

  1. Modify the existing code to include two additional locales: France and the United Kingdom.

  2. For each of the four locales (Japan, Germany, France, and the United Kingdom), format the monetary amount of 4,395,794.89 using the appropriate currency symbol and ...