Itangalo / evalmath.class.php

Taken from http://www.phpclasses.org/browse/file/11680.html, cred to Miles Kaufmann
22 stars 17 forks source link

Why this does not work? #8

Closed akoSalman closed 7 years ago

akoSalman commented 7 years ago
$instance->e('(2 + 2)');

It throws this error Undefined offset: -2. I think there is problems with parentheses with this class.

vdomah commented 4 years ago

did you find the fix for this problem? I'm facing the same issue

optimistex commented 4 years ago

@vdomah Try this: https://github.com/optimistex/math-expression There are some fixes and improvements