PHP 选项/信息 函数
在线手册:中文 英文
PHP手册

php_logo_guid

(PHP 4, PHP 5)

php_logo_guidGets the logo guid

说明

string php_logo_guid ( void )

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.

返回值

Returns PHPE9568F34-D428-11d2-A769-00AA001ACF42.

范例

Example #1 php_logo_guid() example

<?php

echo '<img src="' $_SERVER['PHP_SELF'] .
     
'?=' php_logo_guid() . '" alt="PHP Logo !" />';

?>

参见


PHP 选项/信息 函数
在线手册:中文 英文
PHP手册
PHP手册 - N: Gets the logo guid

用户评论:

Anonymous (18-Jun-2010 06:57)

There's also php_egg_logo_guid() which returns the "easter egg" version of the logo. Same usage.