filter_input

PHP 5 >= 5.2.0, PHP 7, PHP 8
filter_input - Gets a specific external variable by name and optionally filters it
Manual
Code Examples

Example #1 A filter_input example

Result: You have searched for Me &#38; son. <a href='?search=Me%20%26%20son'>Search again.</a>
PHP Version:


Function filter_input:

Data Filtering Functions

Most used PHP functions