<?php $d = "worse "; $e = "great"; fb_set_taint($e, 0x1); $f = $d . $e; fb_unset_taint($f, 0x1); echo $e; // tainted echo $f; // not tainted
<?php $a = "bad"; fb_set_taint($a, 0x1); $c = $a . "good"; echo $c; // tainted fb_unset_taint($c, 0x1); echo $c; // not tainted