summaryrefslogtreecommitdiff
path: root/ext/standard/info.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/standard/info.c')
-rw-r--r--ext/standard/info.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/standard/info.c b/ext/standard/info.c
index bb09033794..4976e1c545 100644
--- a/ext/standard/info.c
+++ b/ext/standard/info.c
@@ -365,7 +365,7 @@ PHPAPI void php_info_print_table_row(int num_cols, ...)
/* {{{ proto void phpinfo(void)
Output a page of useful information about PHP and the current request */
-void php3_info(INTERNAL_FUNCTION_PARAMETERS)
+PHP_FUNCTION(info)
{
_php3_info();
RETURN_TRUE;
@@ -374,7 +374,7 @@ void php3_info(INTERNAL_FUNCTION_PARAMETERS)
/* {{{ proto string phpversion(void)
Return the current PHP version */
-void php3_version(INTERNAL_FUNCTION_PARAMETERS)
+PHP_FUNCTION(version)
{
RETURN_STRING(PHP_VERSION,1);
}