Script and test failures or warnings with PHP-7.0 (currently pre-release RC1):
Class name as constructor (PHP4 style) is deprecated and results in a warning each time PHPlot is used. Also breaks test script 'callback2'.
The 3 test scripts imagemap_unit-pi* fail due to duplicated function parameter $unused
Fixed constructor name for PHPlot class. The PHPlot_truecolor class is not affected.
Fixed test script callback2.php to use __construct and also to call the PHPlot constructor correctly.
Fixed test script imagemap_unit-pi-tds.php (used by the other 2) to have unique function parameter names.
None of these changes will affect PHP-5.3 or higher. However, any class which extends PHPlot must call the constructor correctly.
Fixed in 6.2.0