]> granicus.if.org Git - php/commitdiff
More protos.
authorEgon Schmid <eschmid@php.net>
Thu, 24 Feb 2000 08:39:02 +0000 (08:39 +0000)
committerEgon Schmid <eschmid@php.net>
Thu, 24 Feb 2000 08:39:02 +0000 (08:39 +0000)
ext/standard/array.c
ext/standard/iptc.c
ext/standard/math.c
ext/standard/microtime.c

index 5d89e2b4c25c71c6e33eba76cc07f382982f8975..b228e1324d24d5e358da89a45bed72ede565861d 100644 (file)
@@ -1081,7 +1081,7 @@ static void _compact_var(HashTable *eg_active_symbol_table, zval *return_value,
 /* }}} */
 
 
-/* {{{ proto array compact(string var_name | array var_names [, ... ])
+/* {{{ proto array compact(string var_name |, array var_names [, ... ]])
    Creates a hash containing variables and their values */
 PHP_FUNCTION(compact)
 {
@@ -1409,8 +1409,7 @@ PHP_FUNCTION(array_unshift)
 
 
 /* {{{ proto array array_splice(array input, int offset [, int length [, array replacement]])
-   Removes the elements designated by offset and length and replace them with
-   supplied array */
+   Removes the elements designated by offset and length and replace them with supplied array */
 PHP_FUNCTION(array_splice)
 {
        zval      ***args,                              /* Function arguments array */
@@ -1644,8 +1643,7 @@ PHP_FUNCTION(array_merge)
 
 
 /* {{{ proto array array_keys(array input [, mixed search_value])
-   Return just the keys from the input array, optionally only
-   for the specified search_value */
+   Return just the keys from the input array, optionally only for the specified search_value */
 PHP_FUNCTION(array_keys)
 {
        zval       **input,                     /* Input array */
@@ -1989,7 +1987,7 @@ int multisort_compare(const void *a, const void *b)
        efree(args);                                                    \
        RETURN_FALSE;
 
-/* {{{ proto bool array_multisort(array $ar1 [, SORT_ASC|SORT_DESC] [, array $ar2 [ICASE|NUM] [DESC|ASC], ...])
+/* {{{ proto bool array_multisort(array ar1 [, SORT_ASC|SORT_DESC] [, array ar2 [ICASE|NUM] [DESC|ASC], ...])
    Sort multiple arrays at once similar to how ORDER BY clause works in SQL */
 PHP_FUNCTION(array_multisort)
 {
index bd6f8f927d39956345cd54115b4f4f83355458cc..a1365e25f231daaa43bf4873efc200070f0ac211 100644 (file)
@@ -160,7 +160,7 @@ static int php_iptc_next_marker(FILE *fp,int spool,unsigned char **spoolbuf)
 
 static char psheader[] = "\xFF\xED\0\0Photoshop 3.0\08BIM\x04\x04\0\0\0\0";
 
-/* {{{ proto array iptcembed(string iptcdata, string jpeg_file_name [ , int spool ])
+/* {{{ proto array iptcembed(string iptcdata, string jpeg_file_name [, int spool])
    Embed binary IPTC data into a JPEG image. */
 PHP_FUNCTION(iptcembed)
 {
@@ -294,7 +294,7 @@ PHP_FUNCTION(iptcembed)
 }
 
 /* {{{ proto array iptcparse(string iptcdata)
-   Parse binary IPTC-data into associative array */
+   Parse binary IPTC-data into associative array */
 PHP_FUNCTION(iptcparse)
 {
        unsigned int length, inx, len, inheader, tagsfound;
index 939323b724cea3935832f11305e06457ef5c970f..73c7f6dc58f3a773799bcb65cb894c6e7a1da7ca 100644 (file)
@@ -338,7 +338,7 @@ PHP_FUNCTION(sqrt)
 
 /* }}} */
 /* {{{ proto double deg2rad(double number)
-   Converts the number in degrees to the radian equivalent  */
+   Converts the number in degrees to the radian equivalent */
 
 PHP_FUNCTION(deg2rad)
 {
@@ -657,7 +657,7 @@ char *_php_math_number_format(double d,int dec,char dec_point,char thousand_sep)
 }
 
 /* }}} */
-/* {{{ proto string number_format(double number, [,int num_decimal_places [, string  dec_seperator, string thousands_seperator)]])
+/* {{{ proto string number_format(double number [, int num_decimal_places [, string  dec_seperator, string thousands_seperator)]])
    Formats a number with grouped thousands */
 
 PHP_FUNCTION(number_format)
index 205c832d033c2fa1933ed0f8e6473fcfbd7e1ed5..7c910676c95d65dc21817ea9312e5ea1b9979348 100644 (file)
@@ -68,7 +68,7 @@ PHP_FUNCTION(microtime)
 
 
 /* {{{ proto array gettimeofday(void)
-   returns the current time as array */
+   Returns the current time as array */
 PHP_FUNCTION(gettimeofday)
 {
 #ifdef HAVE_GETTIMEOFDAY
@@ -91,8 +91,8 @@ PHP_FUNCTION(gettimeofday)
 /* }}} */
 
 #ifdef HAVE_GETRUSAGE
-/* {{{ proto array getrusage([ int who ])
-   returns an array of usage statistics */
+/* {{{ proto array getrusage([int who])
+   Returns an array of usage statistics */
 PHP_FUNCTION(getrusage)
 {
        struct rusage usg;