PHP Classes

syntax error, unexpected 'array' (T_ARRAY), expecting

Recommend this page to a friend!

      PHP SEPA XML Generator  >  All threads  >  syntax error, unexpected 'array'...  >  (Un) Subscribe thread alerts  
Subject:syntax error, unexpected 'array'...
Summary:error arrey
Messages:3
Author:michele zaramella
Date:2024-04-03 14:27:41
 

  1. syntax error, unexpected 'array'...   Reply   Report abuse  
Picture of michele zaramella michele zaramella - 2024-04-03 14:27:41
I have esecution sepatest.php, bat i have this error.

Parse error: syntax error, unexpected 'array' (T_ARRAY), expecting function (T_FUNCTION) or const (T_CONST) in C:\xampp\htdocs\dbu\Portaldbu\sepatest\SKien\Sepa\Sepa.php on line 136

  2. Re: syntax error, unexpected 'array'...   Reply   Report abuse  
Picture of ASCOOS CMS ASCOOS CMS - 2024-04-05 09:22:38 - In reply to message 1 from michele zaramella
Give us the code on line 136 in Sepa.php so we can tell you what's wrong. Also what version of php are you running

  3. Re: syntax error, unexpected 'array'...   Reply   Report abuse  
Picture of ASCOOS CMS ASCOOS CMS - 2024-04-05 09:34:14 - In reply to message 1 from michele zaramella
This code only runs correctly with php >= 7.4

static protected array $aIBANError = array();