<?php $var = NULL; ?>
if (!empty($data_days) && in_array(1, $data_days, true)){ // use numeric value 1, not string
array_filter