There's also php_egg_logo_guid() which returns the "easter egg" version of the logo. Same usage.
(PHP 4, PHP 5 < 5.5)
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.
이 함수는 PHP 5.5.0부터 배제되어 제거됩니다.
Returns PHPE9568F34-D428-11d2-A769-00AA001ACF42.
버전 | 설명 |
---|---|
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 !" />';
?>