my script is getting some array from php server side script.
result = jQuery.parseJSON(result);
now I want to check each variable of the array.
Sure, you can use JS's foreach.
for (var k in result) { something(result[k]) }