]> granicus.if.org Git - php/commitdiff
Will watch the diffs as much as I can.
authorEgon Schmid <eschmid@php.net>
Thu, 24 Feb 2000 10:11:42 +0000 (10:11 +0000)
committerEgon Schmid <eschmid@php.net>
Thu, 24 Feb 2000 10:11:42 +0000 (10:11 +0000)
ext/ereg/ereg.c
ext/standard/pack.c
ext/standard/reg.c
ext/standard/string.c

index 69e980b94fb5adb9cbb8445238cfacc2230e5480..1630bf7b94346900d570e1993215a1a72e1012cd 100644 (file)
@@ -510,7 +510,7 @@ PHP_FUNCTION(eregi_replace)
 /* ("root", "passwd", "uid", "gid", "other:stuff:like:/bin/sh")
    = split(":", $passwd_file, 5); */
 /* {{{ proto array split(string pattern, string string [, int limit])
-   split string into array by regular expression */
+   Split string into array by regular expression */
 PHP_FUNCTION(split)
 {
        pval **spliton, **str, **arg_count = NULL;
index beec08d588785984f8ba737f8afd9d7f71c92a42..ad5313440b62530de6c6573d7456fc2544e085d2 100644 (file)
@@ -97,7 +97,7 @@ static void php_pack(pval **val, int size, int *map, char *output)
 /* pack() idea stolen from Perl (implemented formats behave the same as there)
  * Implemented formats are A,a,h,H,c,C,s,S,i,I,l,L,n,N,f,d,x,X,@.
  */
-/* {{{ proto string pack(string format, mixed arg1, mixed arg2, ...)
+/* {{{ proto string pack(string format, mixed arg1 [, mixed arg2 [, ...]])
    Takes 1 or more arguments and packs them into a binary string according to the format argument */
 PHP_FUNCTION(pack)
 {
index 69e980b94fb5adb9cbb8445238cfacc2230e5480..1630bf7b94346900d570e1993215a1a72e1012cd 100644 (file)
@@ -510,7 +510,7 @@ PHP_FUNCTION(eregi_replace)
 /* ("root", "passwd", "uid", "gid", "other:stuff:like:/bin/sh")
    = split(":", $passwd_file, 5); */
 /* {{{ proto array split(string pattern, string string [, int limit])
-   split string into array by regular expression */
+   Split string into array by regular expression */
 PHP_FUNCTION(split)
 {
        pval **spliton, **str, **arg_count = NULL;
index 26c188d20c56265116cbe631687ad0471a341da4..8ccd27616e38efdbf4b470174924195b3a08e813 100644 (file)
@@ -59,8 +59,8 @@ static char *php_bin2hex(const unsigned char *old, const size_t oldlen, size_t *
        return new;
 }
 
-/* proto bin2hex(string data)
-   converts the binary representation of data to hex */
+/* {{{ proto string bin2hex(string data)
+   Converts the binary representation of data to hex */
 PHP_FUNCTION(bin2hex)
 {
        zval **data;
@@ -81,7 +81,7 @@ PHP_FUNCTION(bin2hex)
 
        RETURN_STRINGL(new, newlen, 0);
 }
-
+/* }}} */
 
 /* {{{ proto int strspn(string str, string mask)
    Find length of initial segment consisting entirely of characters found in mask */
@@ -1436,9 +1436,7 @@ PHPAPI void php_stripslashes(char *str, int *len)
 }
 
 /* {{{ proto string addcslashes(string str, string charlist)
-   Escape all chars mentioned in charlist with backslash. It creates
-   octal representations if asked to backslash characters with 8th bit set
-   or with ASCII<32 (except '\n', '\r', '\t' etc...) */
+   Escape all chars mentioned in charlist with backslash. It creates octal representations if asked to backslash characters with 8th bit set or with ASCII<32 (except '\n', '\r', '\t' etc...). */
 PHP_FUNCTION(addcslashes)
 {
        zval **str, **what;
@@ -1469,7 +1467,7 @@ PHP_FUNCTION(addslashes)
 /* }}} */
 
 /* {{{ proto string stripcslashes(string str)
-   Strip backslashes from a string. Uses C-style conventions*/
+   Strip backslashes from a string. Uses C-style conventions */
 PHP_FUNCTION(stripcslashes)
 {
        zval **str;
@@ -2369,7 +2367,7 @@ PHP_FUNCTION(str_repeat)
 }
 /* }}} */
 
-/* {{{ proto mixed count_chars(string input[, int mode])
+/* {{{ proto mixed count_chars(string input [, int mode])
    Returns info about what characters are used in input */
 PHP_FUNCTION(count_chars)
 {