$value) { $preset = imagecache_preset_by_name($key); foreach ($omit as $i) { unset($preset[$i]); } $code .= "\"$key\" => ". var_export($preset, true) . ","; } return <<