PHPackages                             zircote/expressive - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Parsing &amp; Serialization](/categories/parsing)
4. /
5. zircote/expressive

AbandonedArchivedLibrary[Parsing &amp; Serialization](/categories/parsing)

zircote/expressive
==================

A PHP textual expression parser, parses strings for mathematical expressions and returns the result

5531PHP

Since Dec 17Pushed 12y agoCompare

[ Source](https://github.com/zircote/Expressive)[ Packagist](https://packagist.org/packages/zircote/expressive)[ RSS](/packages/zircote-expressive/feed)WikiDiscussions master Synced 6d ago

READMEChangelogDependenciesVersions (1)Used By (0)

Expressive
==========

[](#expressive)

[![Build Status](https://camo.githubusercontent.com/cc57e062fc74d2ad7511b81d95c4dd80d1b7f91f4603d963fc553ba14757de9a/68747470733a2f2f7365637572652e7472617669732d63692e6f72672f7a6972636f74652f457870726573736976652e706e67)](http://travis-ci.org/zircote/Expressive)

A PHP expression parser. This tool was largely inspired by snips of code I came across on the web while looking for some form of an expression DSL. The approach inspired me enough to feel it deserved sharing. Unfortunately these snippets had no name associated with them and I am therefor unable to attribute the inspirative work to its inceptor.

Use:
----

[](#use)

### Inline PHP

[](#inline-php)

```
