PHPlot icon indicating copy to clipboard operation
PHPlot copied to clipboard

Multiple deprecations using PHP 8.2

Open ahtux opened this issue 1 year ago • 1 comments

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.

ahtux avatar Oct 30 '24 17:10 ahtux

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

remluben avatar Mar 24 '25 12:03 remluben