Login   Register  
PHP Classes
elePHPant
Icontem

Eval Math: Safely evaluate mathematical expressions

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us

  Author Author  
Picture of Miles Kaufmann
Name: Miles Kaufmann <contact>
Classes: 1 package by
Country: United States United States
Age: 27
All time rank: 793100 in United States United States
Week rank: 185 Up21 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 (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
All time users: 3591 users
All time rank: 853
Week users: 10 users
Week rank: 142 Up
 
  Groups   Rate classes User ratings   Dependents   Applications   Files Files  

  Groups  
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%) 525
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 evalmath.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.