10.3. PHPlot Class Constants

This section provides information about constants defined in the PHPlot class. As these are PHP constants, they are accessed without a leading $ and cannot be expanded inside string values.

PHPlot::version

The version constant contains the PHPlot code version as a string, for example "5.4.0". (This was added in PHPlot-5.4.0.)

PHPlot::version_id

The version_id constant contains the PHPlot code version as an integer, using the conventional formula 10000*major_version + 100*minor_version + patch_version. This was added in PHPlot-6.0.0 (with value 60000) to make it possible for the test suite to check for a minimum version.

SourceForge.net Logo

This version of the manual was produced for the PHPlot Sourceforge project web service site, which requires the logo on each page.

To download a logo-free copy of the manual, see the PHPlot project downloads area.