-
Notifications
You must be signed in to change notification settings - Fork 31
Open
Description
The list of reserved words has been updated in PHP 7 to include ‘null’, which is used as a class name for the null DataType.
I got around it by just renaming Null class to NullDataType and updating the references. As far as I know the only reference is on line 60 of DataTypes/JsonObject.php.
I haven’t gone so far as to submit a PR as I'm wondering if the issue needs more thought, for example ‘mixed’ may well be reserved in future versions of PHP (see here). Perhaps all the core data types could be name spaced in some way?
Anyway - this library is awesome and has saved me an awful lot of time, so thank you!
Metadata
Metadata
Assignees
Labels
No labels