Display PHP Logo on any URL Blogpost Cover

Display PHP Logo on any URL

PHP is full of cruft.

For example, PHP has a “feature” wherein if you add '?=PHPE9568F34-D428-11d2-A769-00AA001ACF42' to the end of a script, it produces the PHP logo.

http://en.wikipedia.org/w/index.php?=PHPE9568F34-D428-11d2-A769-00AA001ACF42

You can get this ID with php php_logo_guid.

There is also php zend_logo_guid and an undocumented php_egg_logo_guid() function:

http://digg.com/index.php?=PHPE9568F35-D428-11d2-A769-00AA001ACF42

http://php.net/index.php?=PHPE9568F36-D428-11d2-A769-00AA001ACF42

You can also get the PHP developer credits with php phpcredits or ask any PHP script using another code URL:

http://xdebug.com/index.php?=PHPB8B5F2A0-3C92-11d3-A3A9-4C7B08C10000

All of this data is loaded into memory every time a PHP script runs. This takes approximately 21kb of memory (after all the images, credits, and HTML therein) per PHP process, even though these are never used for production applications. Disabling this requires a custom source modification (as of 20100712).

Leave a comment:

Top