Closed kripper closed 1 year ago
In this simplified test case, $t is never set, but isset($t) returns true.
$t
<?php function Test() { if(false) { $t = $dummy . 'garbage'; } $b = isset($t); if($b) echo "BUG: Shouldn't be true"; // HINT: Uncommenting this line changes the previous result (!) // if(isset($t)) echo "BUG: Same here"; } Test();
fixed, thank you!
In this simplified test case,
$t
is never set, but isset($t) returns true.