Unset variable : Variable Set Unset : Language Basics PHP Source Code
Ajax
Ajax Examples
Ajax Tutorials
Scripts and Programs
Javascript
Javascript Examples Tutorials
DHTML Tutorials
Javascript References
Scripts and Programs
HTML
HTML Tutorials
HTML References
HTML DOM 0 References
HTML DOM 2 References
CSS
CSS Tutorials
CSS References
PHP
PHP Source Code
PHP References
Scripts and Programs
C#
C# Source Code
C# Examples
PHP Source Code
»
Language Basics
»
Variable Set Unset
»
Unset variable
<?
$a=
"Hello there!"
;
echo $a
unset
(
$a
)
;
echo $a;
// Error: there is no variable $a
?>
HTML code for linking to this page:
Related in same category :
The isset() Function
IsSet variable
unset() Function
UnSet array element
PHP Function Reference -> Users Code Examples / Notes - > Variable Set Unset:
CGI and command line setups
Using Variables
CGI setup on Sun
NSAPI setup on Sun
How to change configuration settings
Variable parsing
Pseudo-types and variables used in this documentation
Variables
Predefined variables
Variable scope
Using static variables
References with global and static variables
Variable variables
Variables from outside PHP
IMAGE SUBMIT variable names
Dots in incoming variable names
Determining variable types
Variable-length argument lists
Variable functions
__set_state
Unsetting References
Case 3: setting doc_root or user_dir
apache_reset_timeout
apache_setenv
apd_set_pprof_trace
apd_set_session_trace
apd_set_session
apd_set_socket_session_trace
reset
bbcode_set_arg_parser
bbcode_set_flags
cpdf_global_set_document_limits
cpdf_set_action_url
cpdf_set_char_spacing
cpdf_set_creator
cpdf_set_current_page
cpdf_set_font_directories
cpdf_set_font_map_file
cpdf_set_font
cpdf_set_horiz_scaling
cpdf_set_keywords
cpdf_set_leading
cpdf_set_page_animation
cpdf_set_subject
cpdf_set_text_matrix
cpdf_set_text_pos
cpdf_set_text_rendering
cpdf_set_text_rise
cpdf_set_title
cpdf_set_viewer_preferences
cpdf_set_word_spacing
cpdf_setdash
cpdf_setflat
cpdf_setgray_fill
cpdf_setgray_stroke
cpdf_setgray
cpdf_setlinecap
cpdf_setlinejoin
cpdf_setlinewidth
cpdf_setmiterlimit
cpdf_setrgbcolor_fill
cpdf_setrgbcolor_stroke
cpdf_setrgbcolor
com_propset
com_set
variant_set_type
variant_set
curl_setopt_array
curl_setopt
date_date_set
date_default_timezone_set
date_isodate_set
date_offset_get
date_sunset
date_time_set
date_timezone_set
timezone_offset_get
dbplus_setindex
dbplus_setindexbynumber
dio_tcsetattr
DOMElement->setAttribute()
DOMElement->setAttributeNode()
DOMElement->setAttributeNodeNS()
DOMElement->setAttributeNS()
DOMElement->setIdAttribute()
DOMElement->setIdAttributeNode()
DOMElement->setIdAttributeNS()
DomAttribute->set_value
DomDocumentType->internal_subset()
DomElement->set_attribute_node()
DomElement->set_attribute()
DomNode->set_content
DomNode->set_name
DomNode->set_namespace
enchant_broker_set_ordering
set_error_handler
set_exception_handler
fdf_set_ap
fdf_set_encoding
fdf_set_file
fdf_set_flags
fdf_set_javascript_action
fdf_set_on_import_javascript
fdf_set_opt
fdf_set_status
fdf_set_submit_form_action
fdf_set_target_frame
fdf_set_value
fdf_set_version
finfo_set_flags
set_file_buffer
ibase_set_event_handler
fbsql_set_characterset
fbsql_set_lob_mode
fbsql_set_password
fbsql_set_transaction
ftp_set_option
bind_textdomain_codeset
gmp_setbit
gnupg_setarmor
gnupg_seterrormode
gnupg_setsignmode
HaruAnnotation::setBorderStyle
HaruAnnotation::setHighlightMode
HaruAnnotation::setIcon
HaruAnnotation::setOpened
HaruDestination::setFit
HaruDestination::setFitB
HaruDestination::setFitBH
HaruDestination::setFitBV
HaruDestination::setFitH
HaruDestination::setFitR
HaruDestination::setFitV
HaruDestination::setXYZ
HaruDoc::resetError
HaruDoc::resetStream
HaruDoc::setCompressionMode
HaruDoc::setCurrentEncoder
HaruDoc::setEncryptionMode
HaruDoc::setInfoAttr
HaruDoc::setInfoDateAttr
HaruDoc::setOpenAction
HaruDoc::setPageLayout
HaruDoc::setPageMode
HaruDoc::setPagesConfiguration
HaruDoc::setPassword
HaruDoc::setPermission
HaruImage::setColorMask
HaruImage::setMaskImage
HaruOutline::setDestination
HaruOutline::setOpened
HaruPage::setCharSpace
HaruPage::setCMYKFill
HaruPage::setCMYKStroke
HaruPage::setDash
HaruPage::setFlatness
HaruPage::setFontAndSize
HaruPage::setGrayFill
HaruPage::setGrayStroke
HaruPage::setHeight
HaruPage::setHorizontalScaling
HaruPage::setLineCap
HaruPage::setLineJoin
HaruPage::setLineWidth
HaruPage::setMiterLimit
HaruPage::setRGBFill
HaruPage::setRGBStroke
HaruPage::setRotate
HaruPage::setSize
HaruPage::setSlideShow
HaruPage::setTextLeading
HaruPage::setTextMatrix
HaruPage::setTextRenderingMode
HaruPage::setTextRise
HaruPage::setWidth
HaruPage::setWordSpace
HttpMessage::setType
HttpMessage::setHttpVersion
HttpMessage::setHeaders
HttpMessage::setBody
HttpMessage::setRequestMethod
HttpMessage::setRequestUrl
HttpMessage::setResponseCode
HttpMessage::setResponseStatus
HttpQueryString::set
HttpRequest::resetCookies
HttpRequest::setContentType
HttpRequest::setCookies
HttpRequest::setHeaders
HttpRequest::setMethod
HttpRequest::setOptions
HttpRequest::setPostFields
HttpRequest::setPostFiles
HttpRequest::setPutData
HttpRequest::setPutFile
HttpRequest::setQueryData
HttpRequest::setRawPostData
HttpRequest::setSslOptions
HttpRequest::setUrl
HttpRequestPool::reset
HttpResponse::setBufferSize
HttpResponse::setCacheControl
HttpResponse::setCache
HttpResponse::setContentDisposition
HttpResponse::setContentType
HttpResponse::setData
HttpResponse::setETag
HttpResponse::setFile
HttpResponse::setGzip
HttpResponse::setHeader
HttpResponse::setLastModified
HttpResponse::setStream
HttpResponse::setThrottleDelay
http_negotiate_charset
hw_Document_SetContent
hw_setlinkroot
hw_api->setcommittedversion
locale_set_default
db2_set_option
iconv_set_encoding
id3_set_tag
iis_set_app_settings
iis_set_dir_security
iis_set_script_map
iis_set_server_rights
imagecolorset
imagesetbrush
imagesetpixel
imagesetstyle
imagesetthickness
imagesettile
Imagick::getSizeOffset
Imagick::setImage
Imagick::setImageOpacity
Imagick::setBackgroundColor
Imagick::setCompressionQuality
Imagick::setCompression
Imagick::setFilename
Imagick::setFirstIterator
Imagick::setLastIterator
Imagick::setFormat
Imagick::setImageBackgroundColor
Imagick::setImageBias
Imagick::setImageBluePrimary
Imagick::setImageBorderColor
Imagick::setImageChannelDepth
Imagick::setImageColormapColor
Imagick::setImageColorspace
Imagick::setImageCompose
Imagick::setImageCompression
Imagick::setImageDelay
Imagick::setImageDepth
Imagick::setImageDispose
Imagick::setImageExtent
Imagick::setImageFilename
Imagick::setImageFormat
Imagick::setImageGamma
Imagick::setImageGreenPrimary
Imagick::setImageIndex
Imagick::setIteratorIndex
Imagick::setImageInterlaceScheme
Imagick::setImageInterpolateMethod
Imagick::setImageIterations
Imagick::setImageMatteColor
Imagick::setImageMatte
Imagick::setImagePage
Imagick::setImageProfile
Imagick::setImageProperty
Imagick::setImageRedPrimary
Imagick::setImageRenderingIntent
Imagick::setImageResolution
Imagick::setImageScene
Imagick::setImageTicksPerSecond
Imagick::setImageType
Imagick::setImageUnits
Imagick::setImageVirtualPixelMethod
Imagick::setImageWhitePoint
Imagick::setInterlaceScheme
Imagick::setImageOrientation
Imagick::setOption
Imagick::setPage
Imagick::setResolution
Imagick::setResourceLimit
Imagick::setSamplingFactors
Imagick::setSizeOffset
Imagick::setSize
Imagick::setType
ImagickDraw::getStrokeDashOffset
ImagickDraw::setClipPath
ImagickDraw::setClipRule
ImagickDraw::setClipUnits
ImagickDraw::setFillAlpha
ImagickDraw::setFillColor
ImagickDraw::setFillOpacity
ImagickDraw::setFillPatternURL
ImagickDraw::setFillRule
ImagickDraw::setFontFamily
ImagickDraw::setFontSize
ImagickDraw::setFontStretch
ImagickDraw::setFontStyle
ImagickDraw::setFontWeight
ImagickDraw::setFont
ImagickDraw::setGravity
ImagickDraw::setStrokeAlpha
ImagickDraw::setStrokeAntialias
ImagickDraw::setStrokeColor
ImagickDraw::setStrokeDashArray
ImagickDraw::setStrokeDashOffset
ImagickDraw::setStrokeLineCap
ImagickDraw::setStrokeLineJoin
ImagickDraw::setStrokeMiterLimit
ImagickDraw::setStrokeOpacity
ImagickDraw::setStrokePatternURL
ImagickDraw::setStrokeWidth
ImagickDraw::setTextAlignment
ImagickDraw::setTextAntialias
ImagickDraw::setTextDecoration
ImagickDraw::setTextEncoding
ImagickDraw::setTextUnderColor
ImagickDraw::setVectorGraphics
ImagickDraw::setViewbox
ImagickPixel::setColorValue
ImagickPixel::setColor
ImagickPixel::setHSL
ImagickPixelIterator::resetIterator
ImagickPixelIterator::setIteratorFirstRow
ImagickPixelIterator::setIteratorLastRow
ImagickPixelIterator::setIteratorRow
imap_set_quota
imap_setacl
imap_setflag_full
ircg_set_current
ircg_set_file
ircg_set_on_die
ldap_set_option
ldap_set_rebind_proc
libxml_set_streams_context
maxdb_character_set_name
maxdb_set_opt
maxdb_ssl_set
maxdb_stmt_reset
mcal_event_set_alarm
mcal_event_set_category
mcal_event_set_class
mcal_event_set_description
mcal_event_set_end
mcal_event_set_recur_daily
mcal_event_set_recur_monthly_mday
mcal_event_set_recur_monthly_wday
mcal_event_set_recur_none
mcal_event_set_recur_weekly
mcal_event_set_recur_yearly
mcal_event_set_start
mcal_event_set_title
m_setblocking
m_setdropfile
m_setip
m_setssl_cafile
m_setssl_files
m_setssl
m_settimeout
Memcache::set
Memcache::setCompressThreshold
Memcache::setServerParams
SWFButton->setAction()
SWFButton->setDown()
SWFButton->setHit()
SWFButton->setMenu()
SWFButton->setOver()
SWFButton->setUp()
SWFDisplayItem->setDepth()
SWFDisplayItem->setMaskLevel()
SWFDisplayItem->setMatrix()
SWFDisplayItem->setName()
SWFDisplayItem->setRatio()
SWFMovie->setbackground()
SWFMovie->setDimension()
SWFMovie->setFrames()
SWFMovie->setRate()
SWFShape->setLeftFill()
SWFShape->setLine()
SWFShape->setRightFill()
SWFSprite->setFrames()
SWFText->setColor()
SWFText->setFont()
SWFText->setHeight()
SWFText->setSpacing()
SWFTextField->setBounds()
SWFTextField->setColor()
SWFTextField->setFont()
SWFTextField->setHeight()
SWFTextField->setIndentation()
SWFTextField->setLeftMargin()
SWFTextField->setLineSpacing()
SWFTextField->setMargins()
SWFTextField->setName()
SWFTextField->setPadding()
SWFTextField->setRightMargin()
SWFVideoStream->setDimension()
ming_setcubicthreshold
ming_setscale
ming_setswfcompression
udm_check_charset
udm_set_agent_param
msession_set_array
msession_set_data
msession_set
mb_convert_variables
mb_ereg_search_setpos
mb_regex_set_options
muscat_setup_net
muscat_setup
mysql_set_charset
mysqli_character_set_name
mysqli_get_charset
mysqli_set_charset
mysqli_set_local_infile_default
mysqli_set_local_infile_handler
mysqli_set_opt
mysqli_ssl_set
mysqli_stmt_attr_set
mysqli_stmt_reset
ncurses_attrset
ncurses_bkgdset
ncurses_color_set
ncurses_curs_set
ncurses_reset_prog_mode
ncurses_reset_shell_mode
ncurses_resetty
ncurses_scr_set
ncurses_slk_attrset
ncurses_slk_set
ncurses_wattrset
ncurses_wcolor_set
define_syslog_variables
setcookie
setrawcookie
socket_set_blocking
socket_set_timeout
newt_checkbox_set_flags
newt_checkbox_set_value
newt_checkbox_tree_set_current
newt_checkbox_tree_set_entry_value
newt_checkbox_tree_set_entry
newt_checkbox_tree_set_width
newt_entry_set_filter
newt_entry_set_flags
newt_entry_set
newt_form_set_background
newt_form_set_height
newt_form_set_size
newt_form_set_timer
newt_form_set_width
newt_grid_set_field
newt_label_set_text
newt_listbox_set_current_by_key
newt_listbox_set_current
newt_listbox_set_data
newt_listbox_set_entry
newt_listbox_set_width
newt_listitem_set
newt_scale_set
newt_scrollbar_set
newt_set_help_callback
newt_set_suspend_callback
newt_textbox_set_height
newt_textbox_set_text
OCI-Lob->setBuffering
oci_set_prefetch
ocisetprefetch
odbc_setoption
openal_listener_set
openal_source_set
output_reset_rewrite_vars
px_set_blob_file
px_set_parameter
px_set_tablename
px_set_targetencoding
px_set_value
pcntl_setpriority
PDF_encoding_set_char
PDF_set_border_color
PDF_set_border_dash
PDF_set_border_style
PDF_set_char_spacing
PDF_set_duration
PDF_set_gstate
PDF_set_horiz_scaling
PDF_set_info_author
PDF_set_info_creator
PDF_set_info_keywords
PDF_set_info_subject
PDF_set_info_title
PDF_set_info
PDF_set_layer_dependency
PDF_set_leading
PDF_set_parameter
PDF_set_text_matrix
PDF_set_text_pos
PDF_set_text_rendering
PDF_set_text_rise
PDF_set_value
PDF_set_word_spacing
PDF_setcolor
PDF_setdash
PDF_setdashpattern
PDF_setflat
PDF_setfont
PDF_setgray_fill
PDF_setgray_stroke
PDF_setgray
PDF_setlinecap
PDF_setlinejoin
PDF_setlinewidth
PDF_setmatrix
PDF_setmiterlimit
PDF_setpolydash
PDF_setrgbcolor_fill
PDF_setrgbcolor_stroke
PDF_setrgbcolor
PDO->setAttribute()
PDOStatement->nextRowset()
PDOStatement->setAttribute()
PDOStatement->setFetchMode()
Phar::offsetExists
Phar::offsetGet
Phar::offsetSet
Phar::offsetUnset
Phar->setMetaData
Phar->setStub
PharFileInfo->setCompressedBZIP2
PharFileInfo->setCompressedGZ
PharFileInfo->setMetaData
PharFileInfo->setUncompressed
ini_set
set_include_path
set_magic_quotes_runtime
set_time_limit
posix_setegid
posix_seteuid
posix_setgid
posix_setpgid
posix_setsid
posix_setuid
pg_connection_reset
pg_set_client_encoding
pg_set_error_verbosity
printer_set_option
ps_set_border_color
ps_set_border_dash
ps_set_border_style
ps_set_info
ps_set_parameter
ps_set_text_pos
ps_set_value
ps_setcolor
ps_setdash
ps_setflat
ps_setfont
ps_setgray
ps_setlinecap
ps_setlinejoin
ps_setlinewidth
ps_setmiterlimit
ps_setoverprintmode
ps_setpolydash
SAMConnection::setDebug()
SDO_DAS_Setting::getListIndex
SDO_DAS_Setting::getPropertyIndex
SDO_DAS_Setting::getPropertyName
SDO_DAS_Setting::getValue
SDO_DAS_Setting::isSet
SDO_Model_Type::getBaseType
SDO_DAS_XML_Document::setEncoding
SDO_DAS_XML_Document::setXMLDeclaration
SDO_DAS_XML_Document::setXMLVersion
msg_set_queue
sesam_settransaction
session_pgsql_reset
session_pgsql_set_field
session_set_cookie_params
session_set_save_handler
session_unset
snmp_set_enum_print
snmp_set_oid_numeric_print
snmp_set_oid_output_format
snmp_set_quick_print
snmp_set_valueretrieval
snmpset
SoapClient->__setCookie()
SoapServer->setClass()
SoapServer->setPersistence()
socket_set_block
socket_set_nonblock
socket_set_option
ArrayObject::offsetExists
ArrayObject::offsetGet
ArrayObject::offsetSet
ArrayObject::offsetUnset
stats_rand_setall
stream_context_set_option
stream_context_set_params
stream_set_blocking
stream_set_timeout
stream_set_write_buffer
setlocale
svn_auth_set_parameter
swf_actionsettarget
swf_setfont
swf_setframe
SwishSearch->resetLimit
SwishSearch->setLimit
SwishSearch->setPhraseDelimiter
SwishSearch->setSort
SwishSearch->setStructure
sybase_set_message_handler
tidy_reset_config
tidy_set_encoding
tidy_setopt
unicode_set_error_mode
unicode_set_subst_char
Variable Handling Functions
import_request_variables
isset
settype
unset
vpopmail_set_user_quota
w32api_set_call_method
win32_set_service_status
xattr_set
xml_parser_set_option
xml_set_character_data_handler
xml_set_default_handler
xml_set_element_handler
xml_set_end_namespace_decl_handler
xml_set_external_entity_ref_handler
xml_set_notation_decl_handler
xml_set_object
xml_set_processing_instruction_handler
xml_set_start_namespace_decl_handler
xml_set_unparsed_entity_decl_handler
xmlrpc_set_type
XMLReader::setParserProperty
XMLReader::setRelaxNGSchema
XMLReader::setRelaxNGSchemaSource
XMLWriter::setIndentString
XMLWriter::setIndent
XSLTProcessor::setParameter
xslt_set_base
xslt_set_encoding
xslt_set_error_handler
xslt_set_log
xslt_set_object
xslt_set_sax_handler
xslt_set_sax_handlers
xslt_set_scheme_handler
xslt_set_scheme_handlers
xslt_setopt
yaz_set_option
ZipArchive::setArchiveComment
ZipArchive::setCommentIndex
ZipArchive::setCommentName
Changed status for unset
Variable substitution in strings
Handling of global variables
Variable and Type Related Extensions
Predefined Variables
Server variables: $_SERVER
Environment variables: $_ENV
HTTP GET variables: $_GET
HTTP POST variables: $_POST
HTTP File upload variables: $_FILES
Request variables: $_REQUEST
Session variables: $_SESSION
Global variables: $GLOBALS
PHP Source Code
Language Basics
»
Variable Set Unset
Arithmetic Operators
Assign Operator
Binary Number
Bitwise Operators
Boolean
Break
Char
Comments
Constant
Continue
Data Type Convert
Data Type
Define Constant
Do While
Double
Equality Operators
Exit
For Each
For
Global
GLOBALS
Hexadecimal Number
If
Include
Integer
Logic Operators
Modulus
Octal Number
Operator Precedence
Php Tag
PNG
Polygon
Postfix Prefix Operators
Pre Defined Constant
Reference
Relational Operators
Shorthand Operators
Static
Switch
Trinary Operator
Variable Cast
Variable Scope
Variable Set Unset
Variable Type
While
Chart
Class
COM and .Net (Windows)
Components
Cookie Session
Data Structure
Databases
Design Patterns
Development
Email
File Directory
Form
Functions
Graphics Image
HTML
Language Basics
Login Authentication
Math
MySQL Database
Network
String
Web Services SOAP WSDL
XML