Good day, this code is wrong:
filter_var_array(['<b> text</b> \`/ =)', ' " \ " '], FILTER_SANITIZE_FULL_SPECIAL_CHARS, FILTER_FLAG_NO_ENCODE_QUOTES);
Why the flag FILTER_FLAG_NO_ENCODE_QUOTES
isn't working?
Good day, this code is wrong:
filter_var_array(['<b> text</b> \`/ =)', ' " \ " '], FILTER_SANITIZE_FULL_SPECIAL_CHARS, FILTER_FLAG_NO_ENCODE_QUOTES);
Why the flag FILTER_FLAG_NO_ENCODE_QUOTES
isn't working?
Copyright © 2021 Jogjafile Inc.
Because you have a comma, so your flag is given to filter_var_array as third argument.
try:
instead