diff --git a/appendices/phpdevel.xml b/appendices/phpdevel.xml index 51c577db1e..de97ebdbc3 100644 --- a/appendices/phpdevel.xml +++ b/appendices/phpdevel.xml @@ -348,8 +348,8 @@ else { use arr->value.ht... } function: RETURN - RETURN_false - RETURN_true + RETURN_FALSE + RETURN_TRUE RETURN_LONG(l) RETURN_STRING(s,dup) If dup is &true;, duplicates the string RETURN_STRINGL(s,l,dup) Return string (s) specifying length (l). @@ -359,8 +359,8 @@ else { use arr->value.ht... } The RETVAL_* macros set the return value, but do not return. - RETVAL_false - RETVAL_true + RETVAL_FALSE + RETVAL_TRUE RETVAL_LONG(l) RETVAL_STRING(s,dup) If dup is &true;, duplicates the string RETVAL_STRINGL(s,l,dup) Return string (s) specifying length (l). @@ -374,7 +374,7 @@ else { use arr->value.ht... } If your function returns boolean success/error responses, always - use RETURN_true and RETURN_false respectively. + use RETURN_TRUE and RETURN_FALSE respectively. Returning complex values @@ -496,7 +496,7 @@ convert_to_long(resource_id); resource = php3_list_find(resource_id->value.lval, &type); if (type != LE_RESOURCE_TYPE) { php3_error(E_WARNING,"resource index %d has the wrong type",resource_id->value.lval); - RETURN_false; + RETURN_FALSE; } /* ...use resource... */ diff --git a/functions/array.xml b/functions/array.xml index d8f22e4d45..86e7830434 100644 --- a/functions/array.xml +++ b/functions/array.xml @@ -879,7 +879,7 @@ $result = array_pad ($input, 2, "noop"); the array, shortening the array by one element. If array is empty (or is not an array), - &null; will be returned. + &null; will be returned. @@ -1136,7 +1136,7 @@ $d = array_reduce($x, "rsum", 1); array by one element and moving everything down. If array is empty (or is not an array), - &null; will be returned. + &null; will be returned. diff --git a/functions/ifx.xml b/functions/ifx.xml index 2b1e0ca595..9a18ea72f5 100644 --- a/functions/ifx.xml +++ b/functions/ifx.xml @@ -919,8 +919,8 @@ for ($i = 0; $i < count($types); $i++) { Returns the Informix SQL fieldproperies of every field in the query as an associative array. Properties are encoded as: - "SQLTYPE;length;precision;scale;ISnullABLE" where SQLTYPE = the - Informix type like "SQLVCHAR" etc. and ISnullABLE = "Y" or "N". + "SQLTYPE;length;precision;scale;ISNULLABLE" where SQLTYPE = the + Informix type like "SQLVCHAR" etc. and ISNULLABLE = "Y" or "N". Informix SQL fieldproperties diff --git a/functions/image.xml b/functions/image.xml index 52324795a2..0c5306a2e5 100644 --- a/functions/image.xml +++ b/functions/image.xml @@ -1069,7 +1069,7 @@ ImagePng ($im); - ImageCreatetrueColor + ImageCreateTrueColor Create a new &true; color image @@ -1082,7 +1082,7 @@ ImagePng ($im); - ImageCreatetrueColor returns an image identifier + ImageCreateTrueColor returns an image identifier representing a black image of size x_size by y_size. @@ -1091,7 +1091,7 @@ ImagePng ($im); - ImagetrueColorToPalette + ImageTrueColorToPalette Convert a &true; color image to a palette image @@ -1105,7 +1105,7 @@ ImagePng ($im); - ImagetrueColorToPalette converts a &true;color image + ImageTrueColorToPalette converts a &true;color image to a palette image. The code for this function was originally drawn from the Independent JPEG Group library code, which is excellent. The code has been modified to preserve as much alpha channel information as diff --git a/functions/oci8.xml b/functions/oci8.xml index 9ba3b6cba3..37c9728bdf 100644 --- a/functions/oci8.xml +++ b/functions/oci8.xml @@ -948,7 +948,7 @@ Upload file: <input type="file" name="lob_upload"><br> The mode parameter allows you to change the default behaviour. You can specify more than one flag by simply - adding them up (eg OCI_ASSOC+OCI_RETURN_nullS). The known flags + adding them up (eg OCI_ASSOC+OCI_RETURN_NULLS). The known flags are: @@ -959,7 +959,7 @@ Upload file: <input type="file" name="lob_upload"><br> zero. (DEFAULT) - OCI_RETURN_nullS Return empty columns. + OCI_RETURN_NULLS Return empty columns. OCI_RETURN_LOBS Return the value of a LOB @@ -1036,20 +1036,20 @@ OCILogoff($conn); - OCIColumnIsnull + OCIColumnIsNULL test whether a result column is &null; Description - int OCIColumnIsnull + int OCIColumnIsNULL int stmt mixed column - OCIColumnIsnull returns &true; if the returned + OCIColumnIsNULL returns &true; if the returned column column in the result from the statement stmt is &null;. You can either use the column-number (1-Based) or the column-name for the diff --git a/functions/satellite.xml b/functions/satellite.xml index d9943054fc..ad380cdc8a 100644 --- a/functions/satellite.xml +++ b/functions/satellite.xml @@ -1,6 +1,6 @@