From 0779c4f3e2389a3c390073ff7f3bdce33ac799f3 Mon Sep 17 00:00:00 2001 From: Alexander 'NeonXP' Kiryukhin Date: Sun, 17 Mar 2013 07:26:33 +0400 Subject: + Added token parser + Added functions support ~ Rewrited most of code --- test.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'test.php') 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); -- cgit v1.2.3