summaryrefslogtreecommitdiff
path: root/ext/standard/string.c
diff options
context:
space:
mode:
authortheodorejb <theodorejb@outlook.com>2019-10-07 11:13:16 +0200
committerNikita Popov <nikita.ppv@gmail.com>2019-10-07 11:13:16 +0200
commitef9736e06274c23808b8dfc19f97b49e1e0ad8b6 (patch)
tree85c1490204cdca6fdc2b07b3c097bb7a2e379505 /ext/standard/string.c
parentfdc133063d30385866b0eb84e8592aad2f94834e (diff)
downloadphp-git-ef9736e06274c23808b8dfc19f97b49e1e0ad8b6.tar.gz
Convert string function arginfo to PHP stubs
Diffstat (limited to 'ext/standard/string.c')
-rw-r--r--ext/standard/string.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/standard/string.c b/ext/standard/string.c
index 81f1cebb52..948a1ffce1 100644
--- a/ext/standard/string.c
+++ b/ext/standard/string.c
@@ -3250,7 +3250,7 @@ PHPAPI zend_string *php_str_to_str(const char *haystack, size_t length, const ch
}
/* }}} */
-/* {{{ proto string strtr(string str, string from[, string to])
+/* {{{ proto string|false strtr(string str, string from[, string to])
Translates characters in str using given translation tables */
PHP_FUNCTION(strtr)
{
@@ -4711,7 +4711,7 @@ PHP_FUNCTION(strip_tags)
}
/* }}} */
-/* {{{ proto string|false setlocale(mixed category, string locale [, string ...])
+/* {{{ proto string|false setlocale(int category, string locale [, string ...])
Set locale information */
PHP_FUNCTION(setlocale)
{
@@ -5694,7 +5694,7 @@ PHP_FUNCTION(str_pad)
}
/* }}} */
-/* {{{ proto mixed sscanf(string str, string format [, string ...])
+/* {{{ proto array|int|null sscanf(string str, string format [, string ...])
Implements an ANSI C compatible sscanf */
PHP_FUNCTION(sscanf)
{