PHP Puzzles:
Hashtag Creation

By Sherri Wheeler

This month, we move on from our grid and maze-based puzzles to another stand-alone puzzle parsing strings. We’ll take a string of text containing whitespace-separated words and turn them into hashtags for social media posts.

This article was originally published in the March 2021 issue of php[architect] magazine. To read the complete article please subscribe or purchase the complete issue.

Leave a comment

Use the form below to leave a comment: