Skip to content

Minimum php version issue #1

Description

@albeebe

Fatal error: Call to undefined function json_last_error() in /library/TelApi/Schemas.php on line 66

In the readme it says php 5.2+ is recommended but json_last_error() is only in 5.3+ so the library wont work at all. Im running 5.2.17

http://php.net/manual/en/function.json-last-error.php

Perhaps doing a phpversion() check would helpful to notify developers that they need to upgrade in order for the library to work on their machine.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions