php-binance-api icon indicating copy to clipboard operation
php-binance-api copied to clipboard

Indicate minimum PHP version needed

Open ePascalC opened this issue 3 years ago • 1 comments

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");
}

ePascalC avatar Apr 05 '21 16:04 ePascalC

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

dmzoneill avatar Apr 07 '21 05:04 dmzoneill