I'm getting this kind of error I can't find the same question is this new. I'm using PHP7 I doubt that is on memory_limit but my I already changed it to 1024M. I'm trying to determine whether is date is in between of two dates. Is there any way or how can I resolve this issue.
function isBetween ($from, $to, $input){
$input = (is_int($input) ? $input : strtotime($input));
$from = (is_int($from) ? $from : strtotime($from));
$to = (is_int($to) ? $to : strtotime($to));
if(in_array($input, range($from,$to)) ){
return 1;
}
return 0;
}