[ create a new paste ] login | about

Link: http://codepad.org/cC1vRx0W    [ raw code | output | fork ]

PHP, pasted on Oct 12:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<?php error_reporting(~0);

$a = 1;
$b = &$a;

$b = NULL;

var_dump($a);

unset($b);

var_dump($a);

unset($a);

var_dump($a);


Output:
1
2
3
4
5
NULL
NULL

Notice: Undefined variable: a in /t.php on line 16
NULL


Create a new paste based on this one


Comments: