[ class tree: mathparser ] [ index: mathparser ] [ all elements ]

Procedural File: mathparser.php

Source Location: /mathparser/mathparser.php


MathParser is a mathematical expression parser class for PHP. MathParser parses and evaluates mathematical formulas given as strings at runtime. Math expressions can contain variables, functions, numeric literals combined with basic mathematical operators +, -, /, *, ^, % (modulus).
ParserException is thrown by some methods of MathParser implementation if an expression cannot be parsed. These methods are: parse(), evaluate(), getValue() User defined functions can choose to throw this exception too.

Page Details:

Documentation generated on Mon, 06 Jun 2011 23:48:24 -0700 by phpDocumentor 1.4.1