loading
index.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
<pre>
<?php
$empty;
$null = NULL;
$variable = 0;
$emptyString = '';
$false = FALSE;
$variable = 5;


echo "\n:: empty(\$var) :: \n";
var_dump (empty($noVariable));
var_dump (empty($empty));
var_dump (empty($null));
var_dump (empty($zero));
var_dump (empty($emptyString));
var_dump (empty($false));
var_dump (empty(undefined));
var_dump (empty($variable));


echo "\n:: isset(\$var) :: \n";
var_dump (isset($noVariable));
var_dump (isset($empty));
var_dump (isset($null));
var_dump (isset($zero));
var_dump (isset($emptyString));
var_dump (isset($false));
//var_dump (isset(undefined));
var_dump (isset($variable));


echo "\n:: is_null(\$var) :: \n";
var_dump (is_null($noVariable));
var_dump (is_null($empty));
var_dump (is_null($null));
var_dump (is_null($zero));
var_dump (is_null($emptyString));
var_dump (is_null($false));
var_dump (is_null(undefined));
var_dump (is_null($variable));


echo "\n:: \$var != NULL :: \n";
var_dump ($noVariable != NULL);
var_dump ($empty      != NULL);
var_dump ($null       != NULL);
var_dump ($zero       != NULL);
var_dump ($emptyString!= NULL);
var_dump ($false      != NULL);
var_dump (undefined   != NULL);
var_dump ($variable   != NULL);


echo "\n:: \$var !== NULL :: \n";
var_dump ($noVariable !== NULL);
var_dump ($empty      !== NULL);
var_dump ($null       !== NULL);
var_dump ($zero       !== NULL);
var_dump ($emptyString!== NULL);
var_dump ($false      !== NULL);
var_dump (undefined   !== NULL);
var_dump ($variable   !== NULL);


echo "\n:: \$var != FALSE :: \n";
var_dump ($noVariable !=FALSE);
var_dump ($empty      !=FALSE);
var_dump ($null       !=FALSE);
var_dump ($zero       !=FALSE);
var_dump ($emptyString!=FALSE);
var_dump ($false      !=FALSE);
var_dump (undefined   !=FALSE);
var_dump ($variable   !=FALSE);


echo "\n:: \$var !== FALSE :: \n";
var_dump ($noVariable !==FALSE);
var_dump ($empty      !==FALSE);
var_dump ($null       !==FALSE);
var_dump ($zero       !==FALSE);
var_dump ($emptyString!==FALSE);
var_dump ($false      !==FALSE);
var_dump (undefined   !==FALSE);
var_dump ($variable   !==FALSE);

?>
</pre>
Fetching token