Skip to content

PHP 7.0 throws error due to private constant in JwplatformAPI.php line 13 #24

@simplimation

Description

@simplimation

13: private const urls = [

This throws an error in PHP 7.0: PHP Parse error: syntax error, unexpected 'const' (T_CONST), expecting variable (T_VARIABLE) in .../vendor/jwplayer/jwplatform/src/JwplatformAPI.php on line 13

Removing "private" fixes the problem

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions