Closed limenet closed 8 years ago
@ramsey I just noticed Packagist points to your fork of this repo. Would like me to send a PR against your fork instead?
Yes, please. This repo is no longer maintained.
Closing in favor of https://github.com/ramsey/moontoast-math/pull/1
When you try to run
composer install
on a PHP 7.0.0 (stable) machine, you will get an error along the lines ofHaving a look at line 622, you'll see this:
and using Google for above error you immediately find PHP bug #70193 and there's this explanation:
which really makes sense.
Obviously, the problem is the "octal" (as interpreted by PHP) value
039
which is in fact not octal (9
isn't a valid octal digit). I changed039
and-039
to037
and-037
, respectively, and now there are now more syntax errors and the tests pass.I hope you didn't choose
039
because it might produce an unexpected result when converting bases and changing it to037
doesn't somehow make it "easier" to pass the tests.What do you think?
(Note: the "bump" commit was to trigger Travis CI)