There's also php_egg_logo_guid() which returns the "easter egg" version of the logo. Same usage.
(PHP 4, PHP 5 < 5.5.0)
php_logo_guid — Gets the logo guid
This function returns the ID which can be used to display the PHP logo using the built-in image. Logo is displayed only if expose_php is On.
This function has been DEPRECATED and REMOVED as of PHP 5.5.0.
Returns PHPE9568F34-D428-11d2-A769-00AA001ACF42
.
Version | Description |
---|---|
5.5.0 | php_logo_guid() has been removed from PHP. |
Example #1 php_logo_guid() example
<?php
echo '<img src="' . $_SERVER['PHP_SELF'] .
'?=' . php_logo_guid() . '" alt="PHP Logo !" />';
?>