PHP Classes

PHP Mathematical Expression Parser: Parse and evaluate a string with a Math expression

Recommend this page to a friend!
  Info   View files Documentation   View files View files (8)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not yet rated by the usersTotal: 53 All time: 10,562 This week: 126Up
Version License PHP version Categories
phpmathparser 1.0The PHP License5PHP 5, Math, Parsers


This class can parse and evaluate a string with a Math expression.

It can take a string with a math expression that can take variables and math functions.

The class can evaluate the math expression using given variable values.

It supports math functions like sin, cos, exp, tan, atan, log, log10, cosh, sinh, tanh.

Picture of Luca Liscio
  Performance   Level  
Name: Luca Liscio <contact>
Classes: 4 packages by
Country: Italy Italy
Age: 42
All time rank: 4140167 in Italy Italy
Week rank: 346 Up17 in Italy Italy Up
Innovation award
Innovation award
Nominee: 1x



  Files folder image Files  
File Role Description
Files folder imagedoc (6 files)
Files folder imagesrc (1 file)
Files folder imagetest (1 file)

  Files folder image Files  /  doc  
File Role Description
  Accessible without login HTML file index.html Doc. Documentation
  Accessible without login HTML file license_en.html Doc. Documentation
  Accessible without login HTML file license_it.html Doc. Documentation
  Accessible without login Image file matematica_logo.gif Icon Icon image
  Accessible without login Plain text file stylesheet.css Data Auxiliary data
  Accessible without login Image file ul.gif Icon Icon image

  Files folder image Files  /  src  
File Role Description
  Plain text file parser.class.php Class Class source

  Files folder image Files  /  test  
File Role Description
  Accessible without login Plain text file index.php Example Example script

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:10,562
This week:126Up