diff --git a/language-snippets.ent b/language-snippets.ent index ae43193e15..dffbc1f5ef 100644 --- a/language-snippets.ent +++ b/language-snippets.ent @@ -183,6 +183,10 @@ extension in order to use these functions.'> PHP'> safe mode'> + +Field names returned by this function +as case-sensitive'> + Introduction'> @@ -202,3 +206,4 @@ supplemental files to mark section titles --> IPv6 Support was added with PHP 5.0 .'> + diff --git a/reference/array/functions/array-change-key-case.xml b/reference/array/functions/array-change-key-case.xml index df3096a367..196bdc6e02 100644 --- a/reference/array/functions/array-change-key-case.xml +++ b/reference/array/functions/array-change-key-case.xml @@ -1,5 +1,5 @@ - + @@ -45,6 +45,11 @@ Array + + If an array has indices that will be the same once run through this + function (e.g. "keY" and "kEY"), the value that is later in the array + will override other indices. + diff --git a/reference/array/functions/array-diff.xml b/reference/array/functions/array-diff.xml index 4b7f763b63..e3793ddb5e 100644 --- a/reference/array/functions/array-diff.xml +++ b/reference/array/functions/array-diff.xml @@ -1,5 +1,5 @@ - + @@ -60,7 +60,7 @@ $result = array_diff ($array1, $array2); See also array_diff_assoc, - array_intersect and + array_intersect, and array_intersect_assoc. diff --git a/reference/array/functions/array-keys.xml b/reference/array/functions/array-keys.xml index c78e2337f2..ac7fd7caed 100644 --- a/reference/array/functions/array-keys.xml +++ b/reference/array/functions/array-keys.xml @@ -1,5 +1,5 @@ - + @@ -35,7 +35,8 @@ print_r(array_keys ($array)); $array = array ("blue", "red", "green", "blue", "blue"); print_r(array_keys ($array, "blue")); -$array = array ("color" => array("blue", "red", "green"), "size" => array("small", "medium", "large")); +$array = array ("color" => array("blue", "red", "green"), + "size" => array("small", "medium", "large")); print_r(array_keys ($array)); ]]> diff --git a/reference/array/functions/array-pop.xml b/reference/array/functions/array-pop.xml index 94cf235ecf..0ef0b841db 100644 --- a/reference/array/functions/array-pop.xml +++ b/reference/array/functions/array-pop.xml @@ -1,5 +1,5 @@ - + @@ -46,7 +46,7 @@ Array ) ]]> - and rasberry will be assigned to + and raspberry will be assigned to $fruit. diff --git a/reference/mysql/functions/mysql-fetch-array.xml b/reference/mysql/functions/mysql-fetch-array.xml index 6e69c090e8..4c98de714a 100644 --- a/reference/mysql/functions/mysql-fetch-array.xml +++ b/reference/mysql/functions/mysql-fetch-array.xml @@ -1,5 +1,5 @@ - + @@ -63,6 +63,7 @@ select table1.field as foo, table2.field as bar from table1, table2 using MYSQL_NUM, you only get number indices (as mysql_fetch_row works). + &mysql.field-case; mysql_fetch_array with MYSQL_NUM diff --git a/reference/mysql/functions/mysql-fetch-assoc.xml b/reference/mysql/functions/mysql-fetch-assoc.xml index 35ea9774cc..eed96a462c 100644 --- a/reference/mysql/functions/mysql-fetch-assoc.xml +++ b/reference/mysql/functions/mysql-fetch-assoc.xml @@ -1,5 +1,5 @@ - + @@ -41,6 +41,7 @@ mysql_fetch_row, while it provides a significant added value. + &mysql.field-case; An expanded <function>mysql_fetch_assoc</function> example diff --git a/reference/mysql/functions/mysql-fetch-field.xml b/reference/mysql/functions/mysql-fetch-field.xml index 7325cead35..d5671d50e0 100644 --- a/reference/mysql/functions/mysql-fetch-field.xml +++ b/reference/mysql/functions/mysql-fetch-field.xml @@ -1,5 +1,5 @@ - + @@ -91,6 +91,7 @@ + &mysql.field-case; <function>mysql_fetch_field</function> diff --git a/reference/mysql/functions/mysql-fetch-object.xml b/reference/mysql/functions/mysql-fetch-object.xml index 8f1be2b70a..838a48400f 100644 --- a/reference/mysql/functions/mysql-fetch-object.xml +++ b/reference/mysql/functions/mysql-fetch-object.xml @@ -1,5 +1,5 @@ - + @@ -23,6 +23,7 @@ that you can only access the data by the field names, and not by their offsets (numbers are illegal property names). + &mysql.field-case; - + @@ -27,6 +27,7 @@ return the next row in the result set, or &false; if there are no more rows. + &mysql.field-case; See also: mysql_fetch_array, mysql_fetch_object, diff --git a/reference/mysql/functions/mysql-field-name.xml b/reference/mysql/functions/mysql-field-name.xml index 437d88a18f..4c17aa860a 100644 --- a/reference/mysql/functions/mysql-field-name.xml +++ b/reference/mysql/functions/mysql-field-name.xml @@ -1,5 +1,5 @@ - + @@ -30,6 +30,7 @@ of the fourth field would be 3 and so on. + &mysql.field-case; <function>mysql_field_name</function> example