+ 1

Which syntax corresponds to the associative array?

8th Jul 2017, 8:32 PM
Umar Akbar
Umar Akbar - avatar
3 Answers
+ 2
PHP it's like [key=> value, key2=>value2]
8th Jul 2017, 9:20 PM
luis sanchez
luis sanchez - avatar
+ 9
An associative array can define key value pairs, like this $power = array( 'camaro'=>426, 'mustang'=>435, 'challenger'=>485 );
8th Jul 2017, 9:37 PM
⏩▶Clau◀âȘ
⏩▶Clau◀âȘ - avatar
0
=>
27th Nov 2020, 12:57 PM
Khalid
Khalid - avatar