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 issues #7

Closed burstpay closed 6 years ago

burstpay commented 6 years ago

Hello

Under php 7.2 i'm getting the following: PHP Fatal error: Cannot use 'Object' as class name as it is reserved in /var/www/html/vendor/ionux/phactor/src/Object.php on line 35

Fatal error: Cannot use 'Object' as class name as it is reserved in /var/www/html/vendor/ionux/phactor/src/Object.php on line 35

Thanks

TiMESPLiNTER commented 6 years ago

@ionux @burstpay I created a PR to make the lib compatible with PHP 7.2

ionux commented 6 years ago

@burstpay @TiMESPLiNTER Thank you guys for bringing this up and thanks Timesplinter for the PRs!