Preguntas con la etiqueta [php-8.1]

Lista php-8.1 preguntas

Instalé PHP 8.1 y comencé a probar mi antiguo proyecto. He usado el filtro FILTER_SANITIZE_STRINGasí: $username = filter_input(INPUT_POST, 'username', FILTER_SANITIZE_STRING); Ahora me sale este error: En desuso: la constante FILTER_SANITIZE_STRING