I try to create an array with the data, and in the browser I write Parse error: syntax error, unexpected '[' in C:\...\curpPost.php on line 2 that is, it swears at [ .
Here is the code itself:
$post = [ 'op'=>'login', 'dest'=> 'https://.../', 'user'=> 'login', 'passwd'=>'qwerty', ];