I have a variable $allrule = '(1 == 2) && (2 == 2)'; when i check if($allrule), it returns true because $allrule is treated as string. So i want to convert $allrule as condition of if statement. how can we do it.
$allrule = '(1 == 2) && (2 == 2)';
if($allrule)
$allrule
Aucun commentaire:
Enregistrer un commentaire