Creates an array by using the elements from one keys array and one values array

Pubblicato il: 20 dicembre 2016
sul canale di: Programers Point
11
0

Create an array by using the elements from one "keys" array and one "values" array:

Definition and Usage

The array_combine() function creates an array by using the elements from one "keys" array and one "values" array.

Note: Both arrays must have equal number of elements!


Syntax
array_combine(keys,values);

Parameter Description
keys Required. Array of keys
values Required. Array of values

Technical Details
Return Value: Returns the combined array. FALSE if number of elements does not match


In questa pagina del sito puoi guardare il video online Creates an array by using the elements from one keys array and one values array della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Programers Point 20 dicembre 2016, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 11 volte e gli è piaciuto 0 spettatori. Buona visione!