Replace array_key_exist with isset. Isset is faster and shorter to write :).