AgerNic.com
Start write and run your php code online
HOME Editor | PHP Exemples | PHP Functions |
WEB TEMPLATES | EXAMPLES
PHP Tutorial
PHP isset() Function, run and write PHP code.

PHP isset() Function - online editor.

The isset() PHP function is used to check whether a variable is set or not, or isset - Determines whether a variable is set and not NULL
If a variable is already unset with unset() function, it will no longer be set.
The isset() function return false if testing variable contains a NULL value.

Syntax:
isset(variable, Optional - Another variable to check);

Example :
isset () - Determines whether a variable is set and not NULL.
  <?php 
$x = 11;
// True because $x is set
if (isset($x)) {
echo "Variable 'x' is set.<br>";
}
$y = null;
// False because $y is NULL
if (isset($y)) {
echo "Variable 'y' is set.";
}
?>


Tags:
PHP isset() Function 6

PHP isset() Function

PHP Functons
PHP count() Function

PHP define() function

PHP empty() Function

PHP explode() function

PHP html_entity_decode() function

PHP htmlentities() function

PHP htmlspecialchars_decode() function

PHP htmlspecialchars() function

PHP implode() function

PHP isset() Function

PHP lcfirst() function

PHP ltrim() function

PHP md5() function

PHP print() function

PHP printf() function

PHP rtrim() function

PHP similar_text() function

PHP str_repeat() function

PHP str_replace() function

PHP str_split() function

PHP strcmp() function

PHP strip_tags() function

PHP strlen online function

PHP strrchr() Function

PHP strstr() function

PHP strtolower() function

PHP strtoupper() function

PHP substr() function

PHP trim() function

PHP ucfirst() function