i have a function which gets the '>' or '<' operator sign as a parameter
now i need to use this parameter in if-else condition
i tried using eval but it always return true..
how should i go about with this?
I'd reccomend using an if check instead of eval, ie:
if ( $sign === '>' ) { // do the > code } else { // do the < code }