summaryrefslogtreecommitdiff
path: root/ext/standard
diff options
context:
space:
mode:
Diffstat (limited to 'ext/standard')
-rw-r--r--ext/standard/basic_functions.c2
-rw-r--r--ext/standard/info.c12
-rw-r--r--ext/standard/info.h5
3 files changed, 19 insertions, 0 deletions
diff --git a/ext/standard/basic_functions.c b/ext/standard/basic_functions.c
index 981de17212..a9246e8fc2 100644
--- a/ext/standard/basic_functions.c
+++ b/ext/standard/basic_functions.c
@@ -113,6 +113,8 @@ function_entry basic_functions[] = {
PHP_FE(phpinfo, NULL)
PHP_FE(phpversion, NULL)
PHP_FE(phpcredits, NULL)
+ PHP_FE(php_logo_guid, NULL)
+ PHP_FE(zend_logo_guid, NULL)
PHP_FE(strspn, NULL)
PHP_FE(strcspn, NULL)
diff --git a/ext/standard/info.c b/ext/standard/info.c
index 69a9d2791c..2933482006 100644
--- a/ext/standard/info.c
+++ b/ext/standard/info.c
@@ -510,6 +510,18 @@ PHP_FUNCTION(phpcredits)
/* }}} */
+
+PHP_FUNCTION(php_logo_guid)
+{
+ RETURN_STRINGL(PHP_LOGO_GUID, sizeof(PHP_LOGO_GUID)-1, 1);
+}
+
+
+PHP_FUNCTION(zend_logo_guid)
+{
+ RETURN_STRINGL(ZEND_LOGO_GUID, sizeof(ZEND_LOGO_GUID)-1, 1);
+}
+
/*
* Local variables:
* tab-width: 4
diff --git a/ext/standard/info.h b/ext/standard/info.h
index 627accf213..72aadf72ee 100644
--- a/ext/standard/info.h
+++ b/ext/standard/info.h
@@ -52,9 +52,14 @@
#define PHP_CREDITS_FULLPAGE (1<<3)
#define PHP_CREDITS_ALL 0xFFFFFFFF
+#define PHP_LOGO_GUID "PHPE9568F34-D428-11d2-A769-00AA001ACF42"
+#define ZEND_LOGO_GUID "PHPE9568F35-D428-11d2-A769-00AA001ACF42"
+
PHP_FUNCTION(phpversion);
PHP_FUNCTION(phpinfo);
PHP_FUNCTION(phpcredits);
+PHP_FUNCTION(php_logo_guid);
+PHP_FUNCTION(zend_logo_guid);
PHPAPI void php_print_info(int flag);
PHPAPI void php_print_credits(int flag);