ionux / phactor

Phactor is a high-performance PHP implementation of the elliptic curve math functions needed for EC keypair and ECDSA signature generation, validating signatures, validating curve points, creating SINs and much more.
https://github.com/ionux/phactor
MIT License
50 stars 18 forks source link

php 7.2 Object.php reserved #11

Closed spritian closed 6 years ago

spritian commented 6 years ago

Just FYI, I had to rename file and change references to Object in order for it to work in php 7.2.

I was getting the following error: Cannot use 'Object' as class name as it is reserved

Thanks

TiMESPLiNTER commented 6 years ago

master branch should be compatible with php 7.2, there's just no new release so far. So if you depend on dev-master you don't have to apply the changes anymore.

ionux commented 6 years ago

@spritian @TiMESPLiNTER I just released v1.0.8 which bundle these fixes into an official release. Thank you both for your help and contributions!