GEOSWKBReader::read() throws ParseException when reading valid EWKB data on PHP 7 #12
Labels
No Label
Bug
Enhancement
No Milestone
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: geos/php-geos#12
Loading…
Reference in New Issue
There is no content yet.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may exist for a short time before cleaning up, in most cases it CANNOT be undone. Continue?
When using
GEOSWKBReader,readHEX()works fine, butread()throws aParseExceptionfor valid EWKB.Example:
This only happens on PHP 7 and 7.1; on PHP 5.6,
read()works fine.It looks like WKBReader tests are missing completely, would you send a PR to add them ?
See tests/003_WKTReader.phpt for an example.
No problem, I'll PR some tests as soon as I have a chance!
PR opened: #14