ronreiter / interactive-tutorials

Interactive Tutorials
Apache License 2.0
4.05k stars 2.58k forks source link

Update PHP Strings Exercise to Include Array Rejoining Task #802

Open HubGitShree opened 3 months ago

HubGitShree commented 3 months ago

Modified the existing Strings exercise in tutorials/learn-php.org/en/Strings.md to include a new task. The updated exercise now requires users to rejoin the resulting array into a string with numbers separated by a colon (':'). This change aims to provide additional practice with PHP string manipulation and array handling functions.

Changes made:

Added instructions to rejoin the array into a string with elements separated by a colon.
Updated the example code to reflect the new task.

This enhancement provides a more comprehensive exercise for learners, reinforcing key concepts of explode and implode in PHP.