php-binance-api
php-binance-api copied to clipboard
Indicate minimum PHP version needed
The PHP version check allows PHP below 7.0, but for some of codes I'm sure it's 7.0 or even higher. Anybody has a local tool installed to check the minimum PHP version needed for our code here?
// PHP version check
if (version_compare(phpversion(), '7.0', '<=')) {
fwrite(STDERR, "Hi, PHP " . phpversion() . " support will be removed very soon as part of continued development.\n");
fwrite(STDERR, "Please consider upgrading.\n");
}
There are a chunk of online tools for this. but being lazy evaluation. not very effective. http://phptester.net/ https://sandbox.onlinephpfunctions.com/
Over a year ago i setup travis branch to unit test and function test the API https://github.com/jaggedsoft/php-binance-api/tree/gh-travis
i'd have to hunt out the url.
I'm on garden leave for a few weeks.
I'll get to it this week maybe