Easy Tutorial
❮ Func Directory Chroot Func Array Uintersect ❯

PHP FILTER_VALIDATE_IP Filter



Definition and Usage

The FILTER_VALIDATE_IP filter validates the value as an IP address.

Possible flags:


Example 1

The output of the code is as follows:


Example 2

The output of the code is as follows:


❮ Func Directory Chroot Func Array Uintersect ❯