- in_array: documentation ( source)
- strtolower: documentation ( source)
<?php
$set=12853;
$standard_sets=array();
$standard_sets[] = 1000065; // Born of the Gods
$standard_sets[] = 1283; // Theros
$standard_sets[] = 1223; // Magic 2014
$standard_sets[] = 1146; // Dragons Maze
$standard_sets[] = 966; // Return to ravnica
$standard_sets[] = 975; // Gatecrash
echo in_array(strtolower($set),$standard_sets);