[php-src] PR #20204: phpinfo: Update PHP logo to php.net SVG logo
| From: | Ayesh | Date: | Fri, 17 Oct 2025 14:47:32 +0000 |
| Subject: | [php-src] PR #20204: phpinfo: Update PHP logo to php.net SVG logo | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-33687@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/20204
Author: Ayesh
https://php.net now has a shiny SVG logo that looks crisp and modern,
but the logo embeded in the
phpinfo() HTML output is still the old 121px wide
low-fidelty PNG.
This updates the logo to the SVG logo, embeded in an <svg> tag.
For the easter egg logo, the elephant PNG is stripped from the old easter egg PNG file, and placed
with CSS positioning so it sits on top of the new SVG logo, which renders it as if the elephant is
on top of the PHP logo just as before.
Further, the header text color is changed to white to match the php.net styling.
---
**Size comparison:**
| | Before | After |
|---------------------|------------------------|-----------------------------------------|
| PHP Logo | 5,438 bytes PNG base64 | 1,388 bytes SVG |
| PHP Easter egg logo | 8,986 bytes PNG base64 | PHP SVG logo + 5,298 PNG base64 overlay |
---
**Screenshots:**
| | Before | After |
|---------------------|------------------------|-----------------------------------------|
| PHP Logo | <img width="1202" height="125" alt="Screenshot
2025-10-17 212302" src="https://github.com/user-attachments/assets/a7f496a7-9b63-48fd-84f0-4d40e47b39ad"
/>|<img width="1203" height="100" alt="Screenshot 2025-10-17
212233" src="https://github.com/user-attachments/assets/7dd9800e-1b0c-430e-a138-3e044d6c884b"
/>|
| PHP Easter egg logo |<img width="1200" height="127" alt="Screenshot
2025-04-01 214300" src="https://github.com/user-attachments/assets/defc77fb-c936-476a-a87b-9b24f7af0a4f"
/>|<img width="1192" height="96" alt="Screenshot 2025-10-17
212115" src="https://github.com/user-attachments/assets/e43cc789-570a-467d-98d6-61b45447152a"
/>|