<?php $count = '999'; $count = filter_var($count, FILTER_VALIDATE_INT, ['default' => 20, 'min' => 1, 'max' => 20]); var_dump($count); if (!$count) { $count = 20; }
You have javascript disabled. You will not be able to edit any code.