Why use ISSET()?

Author Topic: Why use ISSET()?  (Read 494 times)

Offline chinmay.sahooTopic starter

  • Trade Count: (0)
  • Full Member
  • ***
  • Thank You 2
  • Posts: 159
  • Karma: 0
    • Hot Shaper
Why use ISSET()?
« on: 02-22-2016, 04:01:00 »
The isset () function is used to check whether a variable is set or not. 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(variable1, variable2......)


Eg:
Quote
<?php
$var1 = 'test';
var_dump(isset($var1));
?>