[0]=> ["where"]=> string(7) "a_price" ["condition"]=> string(2) ">=" ["match"]=> int(123213) } [1]=> ["where"]=> string(7) "a_price" ["condition"]=> string(2) "<=" ["match"]=> int(123) } [2]=> ["where"]=> string(7) "a_price" ["condition"]=> string(1) ">" ["match"]=> int(5466) } [3]=> ["where"]=> string(7) "a_price" ["condition"]=> string(1) "=" ["match"]=> int(87697) } [4]=> ["where"]=> string(7) "a_price" ["condition"]=> string(1) "<" ["match"]=> int(14134) } }
Czy jest mozliwe utworzenie przy uzyciu pętli z tej tablicy warunku w jednej linit tzn:
if(a_price < 14134 && a_price == 87697 && a_price > 5466 && a_price <= 123 && a_price >= 123213){ }