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:
http://php.net/?=PHPE9568F36-D428-11d2-A769-00AA001ACF42
The current Easter egg is Zeev's dog Scotch:

It used to be Stig's dog Nadia (thanks to Ilia for confirming this):

Here's another:

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.
These strings are useful for determining whether a particular URL is a PHP resource. For example, 37signals (the creators of Ruby on Rails) use PHP for their web site:
http://37signals.com/?=PHPE9568F36-D428-11d2-A769-00AA001ACF42
They also use PHP for the web sites of Basecamp, Backpack, and even Ruby on Rails.
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.





31 Comments
1.
Ian Van Ness said:
2.
Chris Shiflett said:
3.
Chris Shiflett said:
4.
Davey Shafik said:
5.
Joe said:
6.
Mike Naberezny said:
7.
Joe said:
8.
Mike Naberezny said:
9.
Ivo Jansch said:
10.
Rob Allen said:
11.
Luke Welling said:
12.
Joe said:
13.
Mike Naberezny said:
14.
Chris Shiflett said:
15.
Joe said:
16.
Mike Naberezny said:
17.
Joe said:
18.
Mike Naberezny said:
19.
Raevel said:
20.
Nico Edtinger said:
21.
Darren said:
22.
Chris Shiflett said:
23.
Reiner said:
24.
Chris Shiflett said:
25.
maximus said:
26.
Chris Shiflett said:
27.
Nico Edtinger said:
28.
Chris Shiflett said:
29.
Antonio Ognio said:
30.
Jason Garber said:
31.
Jenn Weller said: