René's URL Explorer Experiment


Title: PHP: filter_var - Manual

X Title: PHP: filter_var - Manual

Open Graph Description: Filters a variable with a specified filter

X Description: Filters a variable with a specified filter

X: @official_php

direct link

Domain: php.net

DescriptionFilters a variable with a specified filter
twitter:cardsummary_large_image
twitter:creator@official_php
twitter:image:srchttps://www.php.net/images/meta-image.png
Nonehttps://www.php.net/images/meta-image.png
og:imagehttps://www.php.net/images/meta-image.png

Links:

update page nowhttps://php.net/x-myracloud-5958a2bbbed300a9b9ac631223924e0b/1768232435.507
https://php.net/
Downloads https://php.net/downloads.php
Documentation https://php.net/docs.php
Get Involved https://php.net/get-involved.php
Help https://php.net/support.php
https://php.net/releases/8.5/index.php
https://php.net/lookup-form.php
https://php.net/menu.php
Getting Startedhttps://php.net/manual/en/getting-started.php
Introductionhttps://php.net/manual/en/introduction.php
A simple tutorialhttps://php.net/manual/en/tutorial.php
Language Referencehttps://php.net/manual/en/langref.php
Basic syntaxhttps://php.net/manual/en/language.basic-syntax.php
Typeshttps://php.net/manual/en/language.types.php
Variableshttps://php.net/manual/en/language.variables.php
Constantshttps://php.net/manual/en/language.constants.php
Expressionshttps://php.net/manual/en/language.expressions.php
Operatorshttps://php.net/manual/en/language.operators.php
Control Structureshttps://php.net/manual/en/language.control-structures.php
Functionshttps://php.net/manual/en/language.functions.php
Classes and Objectshttps://php.net/manual/en/language.oop5.php
Namespaceshttps://php.net/manual/en/language.namespaces.php
Enumerationshttps://php.net/manual/en/language.enumerations.php
Errorshttps://php.net/manual/en/language.errors.php
Exceptionshttps://php.net/manual/en/language.exceptions.php
Fibershttps://php.net/manual/en/language.fibers.php
Generatorshttps://php.net/manual/en/language.generators.php
Attributeshttps://php.net/manual/en/language.attributes.php
References Explainedhttps://php.net/manual/en/language.references.php
Predefined Variableshttps://php.net/manual/en/reserved.variables.php
Predefined Exceptionshttps://php.net/manual/en/reserved.exceptions.php
Predefined Interfaces and Classeshttps://php.net/manual/en/reserved.interfaces.php
Predefined Attributeshttps://php.net/manual/en/reserved.attributes.php
Context options and parametershttps://php.net/manual/en/context.php
Supported Protocols and Wrappershttps://php.net/manual/en/wrappers.php
Securityhttps://php.net/manual/en/security.php
Introductionhttps://php.net/manual/en/security.intro.php
General considerationshttps://php.net/manual/en/security.general.php
Installed as CGI binaryhttps://php.net/manual/en/security.cgi-bin.php
Installed as an Apache modulehttps://php.net/manual/en/security.apache.php
Session Securityhttps://php.net/manual/en/security.sessions.php
Filesystem Securityhttps://php.net/manual/en/security.filesystem.php
Database Securityhttps://php.net/manual/en/security.database.php
Error Reportinghttps://php.net/manual/en/security.errors.php
User Submitted Datahttps://php.net/manual/en/security.variables.php
Hiding PHPhttps://php.net/manual/en/security.hiding.php
Keeping Currenthttps://php.net/manual/en/security.current.php
Featureshttps://php.net/manual/en/features.php
HTTP authentication with PHPhttps://php.net/manual/en/features.http-auth.php
Cookieshttps://php.net/manual/en/features.cookies.php
Sessionshttps://php.net/manual/en/features.sessions.php
Handling file uploadshttps://php.net/manual/en/features.file-upload.php
Using remote fileshttps://php.net/manual/en/features.remote-files.php
Connection handlinghttps://php.net/manual/en/features.connection-handling.php
Persistent Database Connectionshttps://php.net/manual/en/features.persistent-connections.php
Command line usagehttps://php.net/manual/en/features.commandline.php
Garbage Collectionhttps://php.net/manual/en/features.gc.php
DTrace Dynamic Tracinghttps://php.net/manual/en/features.dtrace.php
Function Referencehttps://php.net/manual/en/funcref.php
Affecting PHP's Behaviourhttps://php.net/manual/en/refs.basic.php.php
Audio Formats Manipulationhttps://php.net/manual/en/refs.utilspec.audio.php
Authentication Serviceshttps://php.net/manual/en/refs.remote.auth.php
Command Line Specific Extensionshttps://php.net/manual/en/refs.utilspec.cmdline.php
Compression and Archive Extensionshttps://php.net/manual/en/refs.compression.php
Cryptography Extensionshttps://php.net/manual/en/refs.crypto.php
Database Extensionshttps://php.net/manual/en/refs.database.php
Date and Time Related Extensionshttps://php.net/manual/en/refs.calendar.php
File System Related Extensionshttps://php.net/manual/en/refs.fileprocess.file.php
Human Language and Character Encoding Supporthttps://php.net/manual/en/refs.international.php
Image Processing and Generationhttps://php.net/manual/en/refs.utilspec.image.php
Mail Related Extensionshttps://php.net/manual/en/refs.remote.mail.php
Mathematical Extensionshttps://php.net/manual/en/refs.math.php
Non-Text MIME Outputhttps://php.net/manual/en/refs.utilspec.nontext.php
Process Control Extensionshttps://php.net/manual/en/refs.fileprocess.process.php
Other Basic Extensionshttps://php.net/manual/en/refs.basic.other.php
Other Serviceshttps://php.net/manual/en/refs.remote.other.php
Search Engine Extensionshttps://php.net/manual/en/refs.search.php
Server Specific Extensionshttps://php.net/manual/en/refs.utilspec.server.php
Session Extensionshttps://php.net/manual/en/refs.basic.session.php
Text Processinghttps://php.net/manual/en/refs.basic.text.php
Variable and Type Related Extensionshttps://php.net/manual/en/refs.basic.vartype.php
Web Serviceshttps://php.net/manual/en/refs.webservice.php
Windows Only Extensionshttps://php.net/manual/en/refs.utilspec.windows.php
XML Manipulationhttps://php.net/manual/en/refs.xml.php
GUI Extensionshttps://php.net/manual/en/refs.ui.php
filter_var_array » https://php.net/function.filter-var-array.php
« filter_list https://php.net/function.filter-list.php
PHP Manualhttps://php.net/index.php
Function Referencehttps://php.net/funcref.php
Variable and Type Related Extensionshttps://php.net/refs.basic.vartype.php
Filterhttps://php.net/book.filter.php
Filter Functionshttps://php.net/ref.filter.php
mixedhttps://php.net/language.types.mixed.php
inthttps://php.net/language.types.integer.php
FILTER_DEFAULThttps://php.net/filter.constants.php#constant.filter-default
arrayhttps://php.net/language.types.array.php
inthttps://php.net/language.types.integer.php
mixedhttps://php.net/language.types.mixed.php
FILTER_VALIDATE_*https://php.net/filter.constants.php#constant.filter-validate-bool
FILTER_SANITIZE_*https://php.net/filter.constants.php#constant.filter-sanitize-string
converted to stringhttps://php.net/language.types.string.php#language.types.string.casting
FILTER_VALIDATE_*https://php.net/filter.constants.php#constant.filter-validate-bool
FILTER_SANITIZE_*https://php.net/filter.constants.php#constant.filter-sanitize-string
FILTER_UNSAFE_RAWhttps://php.net/filter.constants.php#constant.filter-unsafe-raw
FILTER_CALLBACKhttps://php.net/filter.constants.php#constant.filter-callback
FILTER_DEFAULThttps://php.net/filter.constants.php#constant.filter-default
FILTER_UNSAFE_RAWhttps://php.net/filter.constants.php#constant.filter-unsafe-raw
arrayhttps://php.net/language.types.array.php
FILTER_FLAG_*https://php.net/filter.constants.php#constant.filter-flag-none
falsehttps://php.net/reserved.constants.php#constant.false
FILTER_NULL_ON_FAILUREhttps://php.net/filter.constants.php#constant.filter-null-on-failure
nullhttps://php.net/reserved.constants.php#constant.null
arrayhttps://php.net/language.types.array.php
filter_var_array()https://php.net/function.filter-var-array.php
filter_input()https://php.net/function.filter-input.php
filter_input_array()https://php.net/function.filter-input-array.php
FILTER_VALIDATE_*https://php.net/filter.constants.php#constant.filter-validate-bool
FILTER_SANITIZE_*https://php.net/filter.constants.php#constant.filter-sanitize-string
Learn How To Improve This Pagehttps://github.com/php/doc-base/blob/master/README.md
Submit a Pull Requesthttps://github.com/php/doc-en/blob/master/reference/filter/functions/filter-var.xml
Report a Bughttps://github.com/php/doc-en/issues/new?body=From%20manual%20page:%20https:%2F%2Fphp.net%2Ffunction.filter-var%0A%0A---
+add a notehttps://php.net/manual/add-note.php?sect=function.filter-var&repo=en&redirect=https://www.php.net/manual/en/function.filter-var.php
uphttps://php.net/manual/vote-note.php?id=111828&page=function.filter-var&vote=up
downhttps://php.net/manual/vote-note.php?id=111828&page=function.filter-var&vote=down
cabrinosimone at gmail dot comhttps://php.net/function.filter-var.php#111828
https://php.net/function.filter-var.php#111828
uphttps://php.net/manual/vote-note.php?id=128875&page=function.filter-var&vote=up
downhttps://php.net/manual/vote-note.php?id=128875&page=function.filter-var&vote=down
remindfwdhttps://php.net/function.filter-var.php#128875
https://php.net/function.filter-var.php#128875
http://https://example.comhttp://https://example.com
https://www.php.net/manual/en/filter.filters.validate.phphttps://www.php.net/manual/en/filter.filters.validate.php
uphttps://php.net/manual/vote-note.php?id=112492&page=function.filter-var&vote=up
downhttps://php.net/manual/vote-note.php?id=112492&page=function.filter-var&vote=down
gt at kani dot huhttps://php.net/function.filter-var.php#112492
https://php.net/function.filter-var.php#112492
uphttps://php.net/manual/vote-note.php?id=129129&page=function.filter-var&vote=up
downhttps://php.net/manual/vote-note.php?id=129129&page=function.filter-var&vote=down
Random Guyhttps://php.net/function.filter-var.php#129129
https://php.net/function.filter-var.php#129129
uphttps://php.net/manual/vote-note.php?id=121263&page=function.filter-var&vote=up
downhttps://php.net/manual/vote-note.php?id=121263&page=function.filter-var&vote=down
divinity76 at gmail dot comhttps://php.net/function.filter-var.php#121263
https://php.net/function.filter-var.php#121263
uphttps://php.net/manual/vote-note.php?id=108769&page=function.filter-var&vote=up
downhttps://php.net/manual/vote-note.php?id=108769&page=function.filter-var&vote=down
Andi, info at pragmamx dot orghttps://php.net/function.filter-var.php#108769
https://php.net/function.filter-var.php#108769
http://example.com/http://example.com/
uphttps://php.net/manual/vote-note.php?id=123233&page=function.filter-var&vote=up
downhttps://php.net/manual/vote-note.php?id=123233&page=function.filter-var&vote=down
Stevehttps://php.net/function.filter-var.php#123233
https://php.net/function.filter-var.php#123233
uphttps://php.net/manual/vote-note.php?id=118257&page=function.filter-var&vote=up
downhttps://php.net/manual/vote-note.php?id=118257&page=function.filter-var&vote=down
Anonymoushttps://php.net/function.filter-var.php#118257
https://php.net/function.filter-var.php#118257
uphttps://php.net/manual/vote-note.php?id=122969&page=function.filter-var&vote=up
downhttps://php.net/manual/vote-note.php?id=122969&page=function.filter-var&vote=down
mpyw628 at gmail dot comhttps://php.net/function.filter-var.php#122969
https://php.net/function.filter-var.php#122969
https://github.com/mpyw/FILTER_VALIDATE_EMAIL.jshttps://github.com/mpyw/FILTER_VALIDATE_EMAIL.js
uphttps://php.net/manual/vote-note.php?id=84326&page=function.filter-var&vote=up
downhttps://php.net/manual/vote-note.php?id=84326&page=function.filter-var&vote=down
dale dot liszka at gmail dot comhttps://php.net/function.filter-var.php#84326
https://php.net/function.filter-var.php#84326
uphttps://php.net/manual/vote-note.php?id=122248&page=function.filter-var&vote=up
downhttps://php.net/manual/vote-note.php?id=122248&page=function.filter-var&vote=down
crisp at tweakers dot nethttps://php.net/function.filter-var.php#122248
https://php.net/function.filter-var.php#122248
uphttps://php.net/manual/vote-note.php?id=128462&page=function.filter-var&vote=up
downhttps://php.net/manual/vote-note.php?id=128462&page=function.filter-var&vote=down
Guy Sartorellihttps://php.net/function.filter-var.php#128462
https://php.net/function.filter-var.php#128462
uphttps://php.net/manual/vote-note.php?id=109919&page=function.filter-var&vote=up
downhttps://php.net/manual/vote-note.php?id=109919&page=function.filter-var&vote=down
marcus at synchromedia dot co dot ukhttps://php.net/function.filter-var.php#109919
https://php.net/function.filter-var.php#109919
uphttps://php.net/manual/vote-note.php?id=84329&page=function.filter-var&vote=up
downhttps://php.net/manual/vote-note.php?id=84329&page=function.filter-var&vote=down
dale dot liszka at gmail dot comhttps://php.net/function.filter-var.php#84329
https://php.net/function.filter-var.php#84329
uphttps://php.net/manual/vote-note.php?id=107300&page=function.filter-var&vote=up
downhttps://php.net/manual/vote-note.php?id=107300&page=function.filter-var&vote=down
keevitaja at gmail dot comhttps://php.net/function.filter-var.php#107300
https://php.net/function.filter-var.php#107300
http://example.ee/sdsfhttp://example.ee/sdsf
uphttps://php.net/manual/vote-note.php?id=89818&page=function.filter-var&vote=up
downhttps://php.net/manual/vote-note.php?id=89818&page=function.filter-var&vote=down
jon dot bertsch at ucop dot eduhttps://php.net/function.filter-var.php#89818
https://php.net/function.filter-var.php#89818
uphttps://php.net/manual/vote-note.php?id=124891&page=function.filter-var&vote=up
downhttps://php.net/manual/vote-note.php?id=124891&page=function.filter-var&vote=down
Robert Vlachhttps://php.net/function.filter-var.php#124891
https://php.net/function.filter-var.php#124891
uphttps://php.net/manual/vote-note.php?id=128578&page=function.filter-var&vote=up
downhttps://php.net/manual/vote-note.php?id=128578&page=function.filter-var&vote=down
ajcorrea at gmail dot comhttps://php.net/function.filter-var.php#128578
https://php.net/function.filter-var.php#128578
uphttps://php.net/manual/vote-note.php?id=129660&page=function.filter-var&vote=up
downhttps://php.net/manual/vote-note.php?id=129660&page=function.filter-var&vote=down
axew3 at me dot youhttps://php.net/function.filter-var.php#129660
https://php.net/function.filter-var.php#129660
https://forum.myw3host.comhttps://forum.myw3host.comhttps://forum.myw3host.com/viewtopic.php?p=45#p45https://forum.myw3host.comhttps://forum.myw3host.comhttps://forum.myw3host.com/viewtopic.php?p=45#p45
uphttps://php.net/manual/vote-note.php?id=128235&page=function.filter-var&vote=up
downhttps://php.net/manual/vote-note.php?id=128235&page=function.filter-var&vote=down
Anonymoushttps://php.net/function.filter-var.php#128235
https://php.net/function.filter-var.php#128235
http://test???test.comhttp://test???test.com
uphttps://php.net/manual/vote-note.php?id=129123&page=function.filter-var&vote=up
downhttps://php.net/manual/vote-note.php?id=129123&page=function.filter-var&vote=down
dakaenev at gmail dot comhttps://php.net/function.filter-var.php#129123
https://php.net/function.filter-var.php#129123
https://www.php.net/manual/en/function.filter-var.php#128235https://www.php.net/manual/en/function.filter-var.php#128235
http://test???test.com/path/?t=1http://test???test.com/path/?t=1
http://test???test.com/path/?t=1http://test???test.com/path/?t=1
uphttps://php.net/manual/vote-note.php?id=115366&page=function.filter-var&vote=up
downhttps://php.net/manual/vote-note.php?id=115366&page=function.filter-var&vote=down
joe at bloe dot comhttps://php.net/function.filter-var.php#115366
https://php.net/function.filter-var.php#115366
uphttps://php.net/manual/vote-note.php?id=86775&page=function.filter-var&vote=up
downhttps://php.net/manual/vote-note.php?id=86775&page=function.filter-var&vote=down
dyer85 at gmail dot comhttps://php.net/function.filter-var.php#86775
https://php.net/function.filter-var.php#86775
uphttps://php.net/manual/vote-note.php?id=104160&page=function.filter-var&vote=up
downhttps://php.net/manual/vote-note.php?id=104160&page=function.filter-var&vote=down
php at maisqi dot comhttps://php.net/function.filter-var.php#104160
https://php.net/function.filter-var.php#104160
uphttps://php.net/manual/vote-note.php?id=118356&page=function.filter-var&vote=up
downhttps://php.net/manual/vote-note.php?id=118356&page=function.filter-var&vote=down
yoanlin93 at gmail dot comhttps://php.net/function.filter-var.php#118356
https://php.net/function.filter-var.php#118356
uphttps://php.net/manual/vote-note.php?id=112452&page=function.filter-var&vote=up
downhttps://php.net/manual/vote-note.php?id=112452&page=function.filter-var&vote=down
drew_mirage at hotmail dot comhttps://php.net/function.filter-var.php#112452
https://php.net/function.filter-var.php#112452
uphttps://php.net/manual/vote-note.php?id=126443&page=function.filter-var&vote=up
downhttps://php.net/manual/vote-note.php?id=126443&page=function.filter-var&vote=down
mmerlone at gmail dot comhttps://php.net/function.filter-var.php#126443
https://php.net/function.filter-var.php#126443
http://example.comhttp://example.com
http://example.com/http://example.com/
http://example.com/http://example.com/
uphttps://php.net/manual/vote-note.php?id=118676&page=function.filter-var&vote=up
downhttps://php.net/manual/vote-note.php?id=118676&page=function.filter-var&vote=down
buttflattery at gmail dot comhttps://php.net/function.filter-var.php#118676
https://php.net/function.filter-var.php#118676
http://www.http://www.
uphttps://php.net/manual/vote-note.php?id=113698&page=function.filter-var&vote=up
downhttps://php.net/manual/vote-note.php?id=113698&page=function.filter-var&vote=down
Tomhttps://php.net/function.filter-var.php#113698
https://php.net/function.filter-var.php#113698
uphttps://php.net/manual/vote-note.php?id=123112&page=function.filter-var&vote=up
downhttps://php.net/manual/vote-note.php?id=123112&page=function.filter-var&vote=down
Anonymoushttps://php.net/function.filter-var.php#123112
https://php.net/function.filter-var.php#123112
http://example.com/http://example.com/
http://example.com/%22%3E%3Cscript%3Ealert%28document.cookie%29%3C%2Fscript%3Ehttp://example.com/%22%3E%3Cscript%3Ealert%28document.cookie%29%3C%2Fscript%3E
+add a notehttps://php.net/manual/add-note.php?sect=function.filter-var&repo=en&redirect=https://www.php.net/manual/en/function.filter-var.php
Filter Functionshttps://php.net/ref.filter.php
filter_​has_​varhttps://php.net/function.filter-has-var.php
filter_​idhttps://php.net/function.filter-id.php
filter_​inputhttps://php.net/function.filter-input.php
filter_​input_​arrayhttps://php.net/function.filter-input-array.php
filter_​listhttps://php.net/function.filter-list.php
filter_​varhttps://php.net/function.filter-var.php
filter_​var_​arrayhttps://php.net/function.filter-var-array.php
Copyright © 2001-2026 The PHP Documentation Grouphttps://php.net/manual/en/copyright.php
My PHP.nethttps://php.net/my.php
Contacthttps://php.net/contact.php
Other PHP.net siteshttps://php.net/sites.php
Privacy policyhttps://php.net/privacy.php
javascript:;

Viewport: width=device-width, initial-scale=1.0


URLs of crawlers that visited me.