PHP FILTER_UNSAFE_RAW Filter
Complete PHP Filter Reference Manual
Definition and Usage
The FILTER_UNSAFE_RAW filter does nothing, and does not remove or encode special characters.
This filter removes data that is potentially harmful to your application. It is used to strip tags and remove or encode unwanted characters.
If no flags are specified, this filter has no effect.
- Name: "unsafe_raw"
- ID-number: 516
Possible flags:
- FILTER_FLAG_STRIP_LOW - Removes characters with ASCII value below 32
- FILTER_FLAG_STRIP_HIGH - Removes characters with ASCII value above 32
- FILTER_FLAG_ENCODE_LOW - Encodes characters with ASCII value below 32
- FILTER_FLAG_ENCODE_HIGH - Encodes characters with ASCII value above 32
- FILTER_FLAG_ENCODE_AMP - Encodes the & character as &
Complete PHP Filter Reference Manual