isset

PHP 4, PHP 5, PHP 7, PHP 8
isset - Determine if a variable is declared and is different than null
Manual
Code Examples

Example #1 isset Examples

PHP Version:

Example #2 isset on String Offsets

Result: bool(false) bool(true) bool(true) bool(true) bool(false) bool(false)
PHP Version:

Example #3

PHP Version:


Function isset:

Variable handling Functions

Most used PHP functions