/test/subjects/parsing/isset.php
PHP | 21 lines | 16 code | 5 blank | 0 comment | 3 complexity | 8d0952d8d133bf4cbf6ab62fb45d9602 MD5 | raw file
Possible License(s): GPL-2.0, 0BSD, BSD-3-Clause, Unlicense, MPL-2.0-no-copyleft-exception, LGPL-2.1
- <?php
- $x = 10;
- $y = 20;
- if(isset($x))
- {
- echo "x is set\n";
- }
-
- if(isset($x, $y))
- {
- echo "x, y set.\n";
- }
-
- if(isset($z))
- {
- echo "z is set";
- }
-
- ?>