Не могу преобразовать массив из json в переменные.Что я делаю не так?
$js='[{"Ev":"Event","ticketName":"Start","transactionId":"60524b3b1559b","price":"100","name":"Test223","name2":"Test223","Mail":"Test223","tel":"Test223"},{"Ev":"Event","ticketName":"Start","transactionId":"60524b3b1559b","price":"100","name":"Test223","name2":"Test223","Mail":"Test223","tel":"Test223"},{"Ev":"Event","ticketName":"Middle","transactionId":"60524b3b1559b","price":"500","name":"Test3","name2":"Test3","Mail":"Test3","tel":"Test3"},{"Ev":"Event","ticketName":"Premium","transactionId":"60524b3b1559b","price":"1000","name":"Test4","name2":"Test4","Mail":"Test4","tel":"Test4"}]';
$obj=json_decode($js);
for ($i=0; $i>$obj; $i++;) {
print "<div>$obj['Ev']</div>";
}