PHP Classes
elePHPant
Icontem

Eval Math: Safely evaluate mathematical expressions

Recommend this page to a friend!

  Author Author  
Picture of Miles Kaufmann
Name: Miles Kaufmann <contact>
Classes: 1 package by
Country: United States United States


  Detailed description   Download Download .zip .tar.gz   Install with Composer Install with Composer  
This class can be used to safely evaluate mathematical expressions.

The class can take an expression in a text string and evaluate it by replacing values of variables and calculating the results of mathematical functions and operations.

It supports implicit multiplication, multivariable functions and nested functions.

It can be used to evaluate expressions from untrusted sources. It provides robust error checking and only evaluates a limited set of functions.

It could be used to generate graphs from expressions of formulae.

  Classes of Miles Kaufmann  >  Eval Math  >  Download Download .zip .tar.gz  >  Support forum Support forum (11)  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: Eval Math
Base name: evalmath
Description: Safely evaluate mathematical expressions
Version: 1.0.0
PHP version: -
License: BSD License
 
  Groups   Dependents   Applications   Files Files  

  Groups  
Group folder image Math Math related classes. View top rated classes


  Other classes that need this package  
Class Why it is needed Dependency
Graph Plotter For evaluate common mathematical expressions before plotting Required

  Applications that use this package  
No pages of applications that use this class were specified.

Add link image If you know an application of this package, send a message to the author to add a link here.

  Files folder image Files  
File Role Description
Plain text file evalmath.class.php Class The EvalMath class
Accessible without login HTML file example.html Output Output from example.php
Accessible without login Plain text file example.php Example Generates a table from user input

Install with Composer Install with Composer - Download Download all files: evalmath.tar.gz evalmath.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.