Skip to content
This repository was archived by the owner on Aug 7, 2023. It is now read-only.

PHP Syntax Check: Parse error: syntax error, unexpected '=>' (T_DOUBLE_ARROW) #305

Closed
Brodito opened this issue Feb 8, 2019 · 1 comment
Labels

Comments

@Brodito
Copy link

Brodito commented Feb 8, 2019

PHP Syntax Check: Parse error: syntax error, unexpected '=>' (T_DOUBLE_ARROW) in your code on line 1

The code I am using is simple:

'cust_message' =>
array (
'en' => 'Hello',
'es’ => ‘Hola',
),

Any suggestions ?

@Arcanemagus
Copy link
Member

Messages come from php, not directly from here. Usually this is due to the incorrect version of PHP being used to attempt to compile the code, you can force a specific path to PHP in the settings if you don't want to change the $PATH environment to point to the one you are expecting.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants