aboutsummaryrefslogtreecommitdiff
path: root/test.php
diff options
context:
space:
mode:
authorAlexander 'NeonXP' Kiryukhin <frei@neonxp.info>2013-03-17 07:26:33 +0400
committerAlexander 'NeonXP' Kiryukhin <frei@neonxp.info>2013-03-17 07:26:33 +0400
commit0779c4f3e2389a3c390073ff7f3bdce33ac799f3 (patch)
tree3aa6ca3617f0cf7e005d6ae98bdb2eeb6a41a33c /test.php
parent2df6097e8056af3a3a582169c51ea07dd935fd46 (diff)
+ Added token parser
+ Added functions support ~ Rewrited most of code
Diffstat (limited to 'test.php')
-rw-r--r--test.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/test.php b/test.php
index 37089be..2e5d0e7 100644
--- a/test.php
+++ b/test.php
@@ -8,4 +8,5 @@ require "vendor/autoload.php";
$e = new \NXP\MathExecutor();
-print $e->execute("1 + 2 * (2 - (4+10))^2"); \ No newline at end of file
+$r = $e->execute("1 + 2 * (2 - (4+10))^2");
+var_dump($r);