Parse error: syntax error, unexpected ';', expecting ')' in *:\Users\******\******\xampp\htdocs\******\inc\php\arrays.php on line 25 [duplicate]

Before last line you have ; character which is invalid.

$tools = array(
    'xtr3m3' => array(
        'root',
        'ceo',
        'test123'
    );
);

should be

$tools = array(
    'xtr3m3' => array(
        'root',
        'ceo',
        'test123'
    )
);

Leave a Comment