summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ext/standard/exec.c2
-rw-r--r--ext/standard/file.c12
-rw-r--r--ext/standard/info.c2
-rw-r--r--ext/standard/lcg.c2
4 files changed, 8 insertions, 10 deletions
diff --git a/ext/standard/exec.c b/ext/standard/exec.c
index f91750d31a..160e2ca7d3 100644
--- a/ext/standard/exec.c
+++ b/ext/standard/exec.c
@@ -324,7 +324,7 @@ char * php_escape_shell_cmd(char *str) {
}
/* {{{ proto escapeshellcmd(string command)
- escape shell metacharacters */
+ Escape shell metacharacters */
PHP_FUNCTION(escapeshellcmd)
{
pval **arg1;
diff --git a/ext/standard/file.c b/ext/standard/file.c
index 12b96450e1..c536c1a7db 100644
--- a/ext/standard/file.c
+++ b/ext/standard/file.c
@@ -344,7 +344,7 @@ PHP_MINIT_FUNCTION(file)
/* }}} */
/* {{{ proto bool flock(int fp, int operation)
- portable file locking */
+ Portable file locking */
static int flock_values[] = { LOCK_SH, LOCK_EX, LOCK_UN };
@@ -387,7 +387,7 @@ PHP_FUNCTION(flock)
/* }}} */
/* {{{ proto array get_meta_tags(string filename [, int use_include_path])
- Extracts all meta tag content attributes from a file and returns an array */
+ Extracts all meta tag content attributes from a file and returns an array */
PHP_FUNCTION(get_meta_tags)
{
@@ -613,8 +613,8 @@ PHP_FUNCTION(tempnam)
}
/* }}} */
-/* {{{ proto int tmpfile()
- Create a temporary file that will be deleted automatically after use. */
+/* {{{ proto int tmpfile(void)
+ Create a temporary file that will be deleted automatically after use */
PHP_FUNCTION(tmpfile)
{
FILE *fp;
@@ -693,7 +693,7 @@ PHP_FUNCTION(fopen)
/* }}} */
/* {{{ proto int fclose(int fp)
- Close an open file pointer */
+ Close an open file pointer */
PHP_FUNCTION(fclose)
{
@@ -1603,7 +1603,7 @@ PHP_FUNCTION(fread)
/* }}} */
/* {{{ proto array fgetcsv(int fp, int length)
- get line from file pointer and parse for CSV fields */
+ Get line from file pointer and parse for CSV fields */
PHP_FUNCTION(fgetcsv) {
char *temp, *tptr, *bptr;
diff --git a/ext/standard/info.c b/ext/standard/info.c
index a936e4af45..bba5693d49 100644
--- a/ext/standard/info.c
+++ b/ext/standard/info.c
@@ -443,7 +443,6 @@ void register_phpinfo_constants(INIT_FUNC_ARGS)
/* {{{ proto void phpinfo(void)
-
Output a page of useful information about PHP and the current request */
PHP_FUNCTION(phpinfo)
{
@@ -482,7 +481,6 @@ PHP_FUNCTION(phpversion)
/* {{{ proto void phpcredits(int)
-
Prints the list of people who've contributed to the PHP project */
PHP_FUNCTION(phpcredits)
{
diff --git a/ext/standard/lcg.c b/ext/standard/lcg.c
index 3122dd30da..6be0a24227 100644
--- a/ext/standard/lcg.c
+++ b/ext/standard/lcg.c
@@ -80,7 +80,7 @@ static int php_minit_lcg(INIT_FUNC_ARGS)
}
/* {{{ proto double lcg_value()
- returns a value from the combined linear congruential generator */
+ Returns a value from the combined linear congruential generator */
PHP_FUNCTION(lcg_value)
{
RETURN_DOUBLE(php_combined_lcg());