Easy Tutorial
❮ Php Install Func Array Ksort ❯

PHP FILTER_SANITIZE_STRING Filter



Definition and Usage

The FILTER_SANITIZE_STRING filter removes or encodes unwanted characters.

This filter removes data that could be harmful to the application. It is used to strip tags and remove or encode unwanted characters.

Possible options or flags:


Example

The output of the code is as follows:


❮ Php Install Func Array Ksort ❯