Multiple deprecations using PHP 8.2
We are using the latest version 8.0.0.3 of PHPlot!
We currently see the following php warnings while using PHPlot:
explode(): Passing null to parameter #2 ($string) of type string is deprecated in 8.0.0.3/phplot.php on line 1957 imagefilledpolygon(): Using the $num_points parameter is deprecated in 8.0.0.3/phplot.php on line 7736 Implicit conversion from float # to int loses precision in 8.0.0.3/phplot.php on line 7881 Implicit conversion from float # to int loses precision in 8.0.0.3/phplot.php on line 7883
It would be very nice if this could be fixed in the near future.
Thank you for your feedback 👍 . As I use this library in one of my projects it is very likely I will tackle this one and create a PR in this projects new repository at https://github.com/PHPlot/phplot.
@AJRepo