PHP Easter Eggs
I can never remember the PHP Easter egg strings, so I'm putting them in my blog. This probably isn't news to anyone, but here they are for reference:
- PHPB8B5F2A0-3C92-11d3-A3A9-4C7B08C10000 - PHP Credits
- PHPE9568F34-D428-11d2-A769-00AA001ACF42 - PHP Logo
- PHPE9568F35-D428-11d2-A769-00AA001ACF42 - Zend Logo
- PHPE9568F36-D428-11d2-A769-00AA001ACF42 - Easter Egg
Here's an example usage:
The current Easter egg is Zeev's dog Scotch:
If you've been using PHP for a while, you probably remember this picture of Thies:
The logo displayed on a phpinfo() page uses the PHP logo string except on April Fool's Day (01 Apr), when it uses the Easter egg string instead, giving some people quite a surprise.
Note: If you want to find these in the source, they're in ext/standard/info.h. If you want to disable them, set expose_php to Off.