Menu

#172 Fixes for PHP7

6.2.0
closed
lbayuk
None
1
Fixed
2015-11-04
2015-08-30
lbayuk
No

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

Related

Wiki: 6.2.0-NEWS

Discussion

  • lbayuk

    lbayuk - 2015-08-30

    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.

     
  • lbayuk

    lbayuk - 2015-10-19
    • Milestone: None --> 6.2.0
     
  • lbayuk

    lbayuk - 2015-11-04
    • status: open --> closed
    • Resolution: None --> Fixed
     
  • lbayuk

    lbayuk - 2015-11-04

    Fixed in 6.2.0

     

Log in to post a comment.

MongoDB Logo MongoDB