PHP Classes

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
Age: 35
All time rank: 60378 in United States United States
Week rank: 171 Up14 in United States United States Up

  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 (12)  >  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
All time users: 4884 users
All time rank: 559
Week users: 1 user
Week rank: 156 Up
  Groups   Rate classes User ratings   Dependents   Applications   Files Files  

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

  User ratings  
RatingsUtility Consistency Documentation Examples Tests Videos Overall Rank
All time: Good (93%) Good (88%) - Good (90%) - - Sufficient (64%) 884
Month: Not yet rated by the users

  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
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.
For more information send a message to info at phpclasses dot org.