I have following code block in PHP:
$params = array(
'wsKey' => '5443',
'Number' => array('226340656'));
I want to convert above PHP code to AutoIt code. I tried below code
Local $params[2][2] = [['wsKey', '5443'], ['Number', '226340656']]
is it correct?
It seams that you cannot create the same structure on AutoIt because demonstrated structure could be represented with hashmap(php's arrays are hashmap) only. And AutoIt has none of any datatype that related to hashmap (arrays only).
But you could try to find (or write) library which provides bunch of functions which help to work with variable like with hashmap(example)
Collected from the Internet
Please contact [email protected] to delete if infringement.
Comments