Subject: | It can't handle expression without... |
Summary: | Package rating comment |
Messages: | 1 |
Author: | Fitrah Muhammad |
Date: | 2012-12-15 13:56:30 |
|
|
|
Fitrah Muhammad rated this package as follows:
Utility: | Good |
Consistency: | Sufficient |
Examples: | Sufficient |
|
Fitrah Muhammad - 2012-12-15 13:56:30
It can't handle expression without errors, if whole expression is inside brackets. For example if the expression is = (1+2)
Solution: $expr= ($expr == '('.substr($expr, 1, -1).')' ? substr($expr, 1, -1) : $expr);
|