Easy Tutorial
❮ Func Simplexml Addattribute Func Date Gmmktime ❯

PHP FILTER_SANITIZE_URL Filter



Definition and Usage

The FILTER_SANITIZE_URL filter removes all illegal URL characters from a string.

This filter allows all letters, digits, and the following characters: $-_.+!*'(),{}|\^~[]`"><#%;/?:@&=


Example

The output of the code is as follows:


❮ Func Simplexml Addattribute Func Date Gmmktime ❯