[web-php] PR #1066: Refactor google_cse() Function to Use Heredoc for Output
| From: | PablNico | Date: | Wed, 11 Sep 2024 21:09:39 +0000 |
| Subject: | [web-php] PR #1066: Refactor google_cse() Function to Use Heredoc for Output | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-32073@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/web-php/pull/1066
Author: PablNico
# Overview
This pull request refactors the
google_cse() function to encapsulate the HTML and
JavaScript content using PHP's heredoc syntax. No functionality changes were made; the output
remains the same.
- Enhances code readability and structure.
- Makes future modifications to the embedded content easier.