10.3. PHPlot Class Constants
Prev | Chapter 10. PHPlot Class Member Variables | Next

## 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.

Prev | Up | Next
10.2. Member Variable Notes | Home | Appendix A. Change Log