mudmin/usplugins

Deprecation Warning for mathFunction bindec in the benchmark plugin

Opened this issue · 0 comments

I get a deprecation warning for the performance benchmark plugin using the PHP version 7.4.6:

Deprecated: Invalid characters passed for attempted conversion, these have been ignored in ./usersc/plugins/benchmark/configure.php on line 127

It is happening when the mathFunction bindec is being called.
This behaviour is documented here:

binary_string:
The binary string to convert. Any invalid characters in binary_string are silently ignored. As of PHP 7.4.0 supplying any invalid characters is deprecated.