Skip to content

syntax error, unexpected 'private' (T_PRIVATE), expecting variable (T_VARIABLE) #1

Open
@sanbroz

Description

@sanbroz

http localhost/products

HTTP/1.1 500 Internal Server Error
Connection: close
Content-Length: 157
Content-Type: application/json; charset=UTF-8
Date: Sun, 11 Sep 2022 06:20:47 GMT
Server: Apache/2.4.53 (Win64) OpenSSL/1.1.1n PHP/7.4.29
X-Powered-By: PHP/7.4.29

{
"code": 0,
"file": "C:\xampp\htdocs\src\Database.php",
"line": 5,
"message": "syntax error, unexpected 'private' (T_PRIVATE), expecting variable (T_VARIABLE)"
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions