How could I receive the return with the value that is inside the array, and not true? in_array() does this?
$type = 'ai';
$types = ['analitycs', 'log_in_info', 'auto_dark_mode', 'ai', 'notification'];
echo in_array($type, $types); //my wish "ai", my reality "1";