What does the PHP function htmlentities() do?
a) Removes whitespace characters from the beginning and end of a string.
b) Encrypts a string using...
What does the PHP function htmlentities() do?
a) Removes whitespace characters from the beginning and end of a string. b) Encrypts a string using the DES algorithm. c) Prints one or more strings. d) Returns an array containing parts of a string separated by a delimiter. e) Converts all applicable characters to HTML entities.
A função htmlentities() em PHP converte todos os caracteres aplicáveis em entidades HTML. Portanto, a alternativa correta é a letra e) "Converte todos os caracteres aplicáveis em entidades HTML".
0
0
✏️ Responder
Para escrever sua resposta aqui, entre ou crie uma conta
Compartilhar